[wp-hackers] wp-db.php throws errors in new 2.2 install

Chris chris.hearn01 at ntlworld.com
Wed May 30 20:07:01 GMT 2007


Hi
have upgraded to WP 2.2,
after standard new install, with default theme, noticed my debugger 
complaining as follows:
\wp-includes\wp-db.php line 204 - mysql_num_fields(): supplied argument 
is not a valid MySQL result resource
\wp-includes\wp-db.php line 209 - mysql_fetch_object(): supplied 
argument is not a valid MySQL result resource
\wp-includes\wp-db.php line 214 - mysql_free_result(): supplied argument 
is not a valid MySQL result resource

I think this is due to the query "SET NAMES..." which returns true, not 
a resource.
Any one else notice this?
Thanks
Chris.
-- 

    ********************************************************************** 
    Chris Hearn 
    *Tel:* 01625 827589 
    *Mob:* 07768 725141 
    *email:* chris.hearn01 at ntlworld.com 
    ********************************************************************** 
    The information transmitted is intended only for the person or entity 
    to which it is addressed and may contain confidential and/or privileged 
    material. Any review, retransmission, dissemination or other use of, 
    or taking of any action in reliance upon, this information by persons 
    or entities other than the intended recipient is prohibited. 
    If you received this in error, please contact the sender and delete the 
    material from any computer. 
    ********************************************************************** 



More information about the wp-hackers mailing list