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 »

Permalinks causing Catchable fatal error on image load

Old Aug 24, 2010, 02:32 AM
2 posts · Jun 2010

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 03:47 AM.
Old Aug 24, 2010, 04:01 AM
juggledad's Avatar
23,743 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
Old Sep 2, 2010, 02:34 AM
2 posts · Jun 2010
Ok, here you are - thank you!
Attached Files
File Type: txt ata-neevitanet-20100902.txt (20.5 KB, 1155 views)


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 05: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 10:45 PM
PHP Catchable fatal error: themes/atahualpa/functions/bfa_meta_tags.php on line 169 Shamisen Plugins & Atahualpa 0 Apr 6, 2010 10:43 PM
"Catchable fatal error" ... please try this file Flynn Atahualpa 3 Wordpress theme 5 Dec 18, 2008 03:25 AM
Catchable fatal error: Object of class stdClass could not be converted to string !? neocratus Atahualpa 3 Wordpress theme 11 Dec 13, 2008 06:47 PM

All times are GMT -6. The time now is 02:42 PM.

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