StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-16-2009, 10:27 PM
jon13210 jon13210 is offline
Registered User
Genesis Member
 
Join Date: Mar 2009
Posts: 1
Default Call to undefined function get_header()

I'm getting a weird error with a plugin and I'm wondering if the fix may lie somewhere in the theme files.

I've done a good bit of tinkering with the Church theme, so no worries if I've voided my warranty :)

But here's the deal... I'm using the Geo Mashup Maps plugin to geocode posts and display a Google map.

Trouble is, about half the time, the map fails to load when the post is displayed. Sometimes it's there; sometimes it's not.

When the map doesn't load, an error pops up in my server log as follows:

Quote:
PHP Fatal error: Call to undefined function get_header() in /home/jon13210/public_html/thehardyear/wp-content/themes/church_30/index.php on line 1, referer: http://thehardestyear.com/wp-content/pl ... ost_id=604
But again, that PHP error only happens half the time. The pages sometimes load just fine with a map and no error.

Basically, I'm stumped and I see that the php script generating the error is a theme file and I thought I'd try here before giving up on the geocoding plugin.

Will really appreciate the help!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: Call to undefined function get_header() in /home/content/r/e/d/redmediag DarrylIzzard General Discussion 3 05-17-2010 07:10 AM
Call to undefined function the_content_limit() billshep General Discussion 2 04-06-2009 09:44 PM


All times are GMT -5. The time now is 02:51 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.