Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Permalinks causing Catchable fatal error on image load


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Aug 24, 2010, 03:32 AM
courtnee
 
2 posts · Jun 2010
Hello!

First of all, thank you for an amazing theme. I've donated, but like to leave the credit in my footer anyway.

After updating to WP 3.0.1 to attempt to solve this issue, I've run into a problem I haven't been able to research away, like I have quite a few others over the last couple of years I've used Atahualpa. This forum has been a great resource but this time, I think I need to ask for some specific help.

When viewing my blogs posts list, I am able to see thumbnail images for pictures I've uploaded to the "Media" section of Wordpress. When attempting to view a full post containing an image, I get the following error:

Catchable fatal error: Object of class WP_Error could not be converted to string in */wp-content/themes/atahualpa/functions/bfa_postinfo.php on line 308

In attempting to solve this, I've figured a few things out.

I can see the image correctly through WP's dashboard theme.

Deactivating all of my plugins does not fix the issue.

Turning permalinks off (back to default) fixes this problem but breaks other things I am unwilling to give up.

Changing themes fixes the problem as well, but this precludes me from using Atahualpa which is also not an option.

I am running 3.5.3, and tried 3.4.9. Reverting to Atahualpa 3.4.4 simply moves the error from line 308 to line 307, which reads:
$category_linked = '<a href="' . get_category_link($all_categories[0]->cat_ID) .

I also use NextGen Gallery for images, however this problem does not seem to effect them. I was having permalink issues with ngg as well, and solved them with the fix described here: http://wordpress.org/support/topic/p...e-links-broken

My permalink structure is custom, using /%year%/%post_id% without a trailing / (I tried adding that and it didn't fix the problem). The url that is currently failing, http://neevita.net/2010/9701/photo-0036/, deviates from that structure by having information after the %post_id%, and I'm wondering if that's what's triggering the issue.

Any guidance is appreciated. I've hit the wall of my abilities at this point.

Last edited by courtnee; Aug 24, 2010 at 04:47 AM.
  #2  
Old Aug 24, 2010, 05:01 AM
juggledad's Avatar
juggledad
 
22,326 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
please do an export of your settings (ATO-Export/Import settings) and attach it to a reply (use the paper clip icon)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 2, 2010, 03:34 AM
courtnee
 
2 posts · Jun 2010
Ok, here you are - thank you!
Attached Files
File Type: txt ata-neevitanet-20100902.txt (20.5 KB, 434 views)

Bookmarks

Tags
404, images, media, permalinks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
SEARCH ERROR: Catchable fatal error:Object of class WP_Error could not be converted angelarose Plugins & Atahualpa 3 Jul 8, 2010 06:05 PM
Catchable fatal error: Object of class stdClass could not be converted to string in / mathmojo Atahualpa 3 Wordpress theme 7 May 16, 2010 11:45 PM
PHP Catchable fatal error: themes/atahualpa/functions/bfa_meta_tags.php on line 169 Shamisen Plugins & Atahualpa 0 Apr 6, 2010 11:43 PM
"Catchable fatal error" ... please try this file Flynn Atahualpa 3 Wordpress theme 5 Dec 18, 2008 04:25 AM
Catchable fatal error: Object of class stdClass could not be converted to string !? neocratus Atahualpa 3 Wordpress theme 11 Dec 13, 2008 07:47 PM


All times are GMT -6. The time now is 10:54 AM.


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