Catchable fatal error: Object of class stdClass could not be converted to string !?
i get this error:
Catchable fatal error: Object of class stdClass could not be converted to string in /home/wp-content/themes/atahualpa3/functions/bfa_postinfo.php on line 161 - some guys say The issue has to do with PHP 5.2+ breaking certain backward-compatibility of converting a PHP 'object' to a text string. You either need to downgrade below 5.2, or the code where the error occurs needs to be 'properly fixed' to address the change (the fixes should then work on any version...) |
Thanks I know about it but need to get access to webspace with PHP 5.2 first
|
can we help anyhow?
|
Can you comment out line 161 in functions/bfa_postinfo.php by adding a hash sign # at the beginning of the line?
PHP Code:
If not, add a hash to line 160 as well so you get PHP Code:
I am trying to find out if its line 161 or 160. Even though it says 161 it could be 160 as well. |
Quote:
Sorry for my english Test 1 I've comment the line 161 in bfa_postinfo.php. The error disappears Test 2 I've comment the line 160 in bfa_postinfo.php. I get the same error Test 3 I've comment the line 160 and 161 in bfa_postinfo.php. The error disappears |
yes,
it worked like a charm, thanks Flynn First HASH was ok. Problem SOLVED! |
Thanks a lot campi and neocratus
If you don't need %category% (prints (only) the first category name the post is filed under) then it would indeed be solved for you, and I know now what line to work on |
Quote:
|
Quote:
Atahualpa V2 -> 12 Diciembre, 2008 | Tags: carnet, conducir, internacional, permiso | Category: Desde Espaņa | Editar | Comentarios (1) Test 1 Comment the line 161 -> | carnetconducirinternacionalpermiso Category: Desde Espaņa | Test 2 Comment the line 160 -> Catchable fatal error: Object of class stdClass could not be converted to string in /home1/vayafies/public_html/depaseoporaustralia/wp-content/themes/atahualpa3/functions/bfa_postinfo.php on line 161 Test 3 Comment the line 160 and 161 -> %date(\'F jS, Y\')% | carnetconducirinternacionalpermiso Category: Desde Espaņa | |
Most errors are coming from bfa_postinfo.php, I am on it
Also, see http://forum.bytesforall.com/showthread.php?t=35 regarding date issues. It may even fix the missing comma between tags? |
Quote:
and YAPB fails |
WOW, I'm learning GREEK!
|
All times are GMT -6. The time now is 09:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.