Re: Odd error after upgrading from Php4 to Php5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ian Barnes wrote:
> Hi,
> 
> We recently upgraded our primary webserver to php 5 from php4 and we are
> now
> getting the following errors on the site:
> 
> *Catchable fatal error*: Object of class stdClass could not be converted to
> string in /home/www/somesite/somfile.php on line *199
> 
> *Around that area in the code is some code something like:

so what is line 199?

> 
> if(!$db->query("SQL $HaveYouGoTAVarInHere HERE"))

			^^^^---- ??

> {
>   echo 'Fail';
> }
> 
> Any ideas what it means or how I can fix it ?
> 
> Thanks
> Ian
> 
> P.S. Please copy me, i dont know if my list membership is working.
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux