|
Posted by gosha bine on 06/21/07 14:57
On 21.06.2007 15:38 gp wrote:
> ******************************************************************************************************************************
> Catchable fatal error: Object of class stdClass could not be
> converted to string in <filename> on line <line>
> ******************************************************************************************************************************
>
> I can only find the change log for PHP 5.2 identifying this type of
> error, nothing on how to fix it. I have updated PHP to 5.2.3 on
> Apache 2.2.x on a BSD Box 6.x If some one could explain to me what I
> am doing wrong, and what I need to do to fix it that would be swell.
> A point of note is that my $dbh is being created in my class
> constructor as a private. The method that is calling the prepare and
> execute statements is a public. I don't thing I'm trying to do
> anything new or exotic, I don't think I'm trying to convert the object
> to a string, just execute the query statement....
> [snip]
Someone on this group has argued this (quite stupid) "improvement" in
php 5.2 should be good... a nice illustration.
Minimize your problem code and file a bug on php.net, there's nothing
more you can do about this.
--
gosha bine
extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
Navigation:
[Reply to this message]
|