I am trying to access my website but a fatal error message keeps poping up?
?
2011-07-15 06:05:45 UTC
I am trying to access my website http://community.specialolympicsontario.ca/newmarket but everytime it opens up this message appears : Fatal error: Call to undefined function get_option() in /home/speci26/public_html/community/wp-admin/admin.php on line 22
WHAT DO I DO ? HELP PLEASE
Three answers:
anonymous
2011-07-15 06:17:32 UTC
You declared a function in your PHP script where you said:
"get_option();"
However, since you did not say what the function will do, it will throw out an error.
Type this, then reload your page and it will work:
function get_option(){
}
Good Luck!
If you need further assistance/advice, feel free to contact me.
JimKata
2011-07-15 13:18:39 UTC
It looks like your calling a function wp() that doesn't exit. Since I'm not familiar with your web page, I can't id why this is happening, but here is an error message i get when I try to look at the page.
I hope it makes some sense to you. I would like for line 21 in your initialize procedure.
Hope this helps,
Good Luck
P.S. I use the Web Developer add-on for Firefox. It your developing web pages, I would suggest you get it.
[July 15, 2011 9:12:32 AM:480][Warn][{
QueryInterface:function QueryInterface() {
[native code]
}
message:Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]
result:2147500037
name:NS_ERROR_FAILURE
filename:chrome://ytoolbar/content/utils.js
lineNumber:598
columnNumber:0
location:JS frame :: chrome://ytoolbar/content/utils.js :: :: line 598
inner:null
data:null
initialize:function initialize() {
[native code]
}
}]
SurferTim850
2011-07-15 13:11:00 UTC
I don't know where your website is hosted, but you have an error there in this file. It is all one line:
/home/speci26/public_html/community
/wp-blog-header.php
My browser says the error is on line 21.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.