Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

wp-email plugin gives fatal error

Old Feb 3, 2009, 05:08 AM
2 posts · Feb 2009

First of all, hats off for this great theme. It's really great.

I have a small problem when i try to use wp-email plugin (2.40) with the theme (3.19)

when i try the "send to a friend" link of wp-email on a post, it works.

but when i try to click it on a page, i get this error:

Fatal error: Call to a member function get_queried_object_id() on a non-object in /home/hentbolp/public_html/wp-content/themes/atahualpa/index.php on line 10
The site is in Turkish but i guess you can understand what is what.


By the way, i regenerated the permalinks as instructed. It didn't do any good.

Thanks in advance...
Old Feb 3, 2009, 05:31 AM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
Thank you, you found a bug. To correct it in your version change in index.php line 10 from

PHP Code:
if ( is_page() ) { $current_page_id $wp_query->get_queried_object_id(); } 

PHP Code:
if ( is_page() ) { global $wp_query$current_page_id $wp_query->get_queried_object_id(); } 
This will be fixed in Atahualpa version 3.2
Old Feb 3, 2009, 05:51 AM
2 posts · Feb 2009
that solves the problem. thanks for the quick fix.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal Error rmribeiro Atahualpa 3 Wordpress theme 8 Apr 10, 2013 04:41 AM
Subscribe by Email Error jrotem RSS, Feeds & Subscribing 0 May 11, 2009 04:07 AM
Fatal error? Phil Jackson Atahualpa 3 Wordpress theme 1 Apr 29, 2009 09:43 AM
Search Unleashed plugin and fatal error perdox808 Plugins & Atahualpa 1 Apr 23, 2009 12:39 PM
Fatal Error aliferste Atahualpa 3 Wordpress theme 2 Dec 14, 2008 03:57 AM

All times are GMT -6. The time now is 01:46 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.