Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

wp-email plugin gives fatal error


  #1  
Old Feb 3, 2009, 06:08 AM
streetwise
 
2 posts · Feb 2009
Hello,

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:

Quote:
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.

http://www.hentbolplatformu.com

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

Thanks in advance...
  #2  
Old Feb 3, 2009, 06:31 AM
Flynn's Avatar
Flynn
 
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(); } 
to

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
  #3  
Old Feb 3, 2009, 06:51 AM
streetwise
 
2 posts · Feb 2009
that solves the problem. thanks for the quick fix.

Bookmarks

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 05:41 AM
Subscribe by Email Error jrotem RSS, Feeds & Subscribing 0 May 11, 2009 05:07 AM
Fatal error? Phil Jackson Atahualpa 3 Wordpress theme 1 Apr 29, 2009 10:43 AM
Search Unleashed plugin and fatal error perdox808 Plugins & Atahualpa 1 Apr 23, 2009 01:39 PM
Fatal Error aliferste Atahualpa 3 Wordpress theme 2 Dec 14, 2008 04:57 AM


All times are GMT -6. The time now is 02:25 AM.


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