Problem with theme, Fatal error, Call to undefined function phpget_header error

tks2115

Registered Member
Joined
Feb 19, 2013
Messages
70
Reaction score
20
I have a real estate site and im receiving an error trying to open a post/page

error:

Fatal error: Call to undefined function phpget_header() in /home/content/23/10549023/html/sitename/wp-content/themes/OpenHouse/single-agent.php on line 1

please help?
 
Looks like an error in the theme or a plugin. Try disabling some plugins and switching themes to see if it will work..
 
Try this

Some people report that the Agent detail page spits out an ugly error, or there are other weird issues with it.
If this is the case, go to Appearance -> Editor, and view the single-agent.php file. I suspect the text is a jumbled mess. It should be nicely formatted. It's a mess, right?
If so, open up that file locally in a text editor. If it looks nice copy it to the clipboard. If it's also a mess, re-download the theme again and then open up that file. hopefully it's good.
Now, in Appearance -> Editor, with the single-agent.php file open, replace all the text with the text from the clipboard. Then save. Your problem should be resolved now.

Posted 2 years ago

Source:http://webcache.googleusercontent.c...est/forum/topic.php?id=888&cd=1&hl=en&ct=clnk
 
Go to home/content/23/10549023/html/sitename/wp-content/themes/OpenHouse/single-agent.php and at the line 1

look for
Code:
<?phpget_header()
(or something like that)
and replace that with
Code:
<?php  get_header()

EDIT:
Most likely, the whole formatting got messed up. So try reuploading it if you can't get it to work. It's a problem with your FTP.
 
Go to home/content/23/10549023/html/sitename/wp-content/themes/OpenHouse/single-agent.php and at the line 1

look for
Code:
<?phpget_header()
(or something like that)
and replace that with
Code:
<?php  get_header()

EDIT:
Most likely, the whole formatting got messed up. So try reuploading it if you can't get it to work. It's a problem with your FTP.

That worked, thanks. :)
 
Back
Top