Reply
anyone have a solution for this error?
Old 10-29-2009, 12:43 PM anyone have a solution for this error?
rober7's Avatar
Experienced Talker

Posts: 35
Name: robert haba
Trades: 0
Catchable fatal error: Object of class WP_Error could not be converted to string in /home/mynconne/public_html/wp-includes/wp-db.php on line 450

i have instaled a wordpress mu script and when i try to delete a page will show that error
rober7 is offline
Reply With Quote
View Public Profile Visit rober7's homepage!
 
 
When You Register, These Ads Go Away!
Old 10-29-2009, 12:47 PM Re: anyone have a solution for this error?
spyderwebtech's Avatar
Experienced Talker

Posts: 46
Trades: 0
you really need to share the script that you are using... not just the error..

specifically try to find the portion of the script that is causing the problem...
spyderwebtech is offline
Reply With Quote
View Public Profile
 
Old 10-29-2009, 01:31 PM Re: anyone have a solution for this error?
chrishirst's Avatar
Super Moderator

Posts: 22,225
Location: Blackpool. UK
Trades: 0
Quote:
anyone have a solution for this error?
I do

Make sure you pass a string to whatever function you are calling.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-29-2009, 03:33 PM Re: anyone have a solution for this error?
NullPointer's Avatar
Will Code for Food

Latest Blog Post:
Easy PHP Search with Opera
Posts: 1,067
Name: Matt
Location: Irvine, CA
Trades: 0
I think it is because you are calling print or echo on an object without a __toString method defined. I believe you can no longer do this in PHP5.2+ (don't quote me on that). Wordpress uses a class WP_Error to pass error messages between methods. Calling print on an instance of this class will fail if it does not have a __toString method. You mentioned that you installed a "mu script", do you mean a plugin? If so it may not be compatible with your version of wordpress, or PHP.
__________________
Tinsology | How to Post Code | EverythingDev

Last edited by NullPointer; 10-29-2009 at 03:35 PM..
NullPointer is online now
Reply With Quote
View Public Profile
 
Old 10-29-2009, 03:34 PM Re: anyone have a solution for this error?
rober7's Avatar
Experienced Talker

Posts: 35
Name: robert haba
Trades: 0
Quote:
Originally Posted by spyderwebtech View Post
you really need to share the script that you are using... not just the error..

specifically try to find the portion of the script that is causing the problem...
i am using wordpress mu .... i cant delete pages or posts from the main blog
rober7 is offline
Reply With Quote
View Public Profile Visit rober7's homepage!
 
Old 10-29-2009, 03:37 PM Re: anyone have a solution for this error?
NullPointer's Avatar
Will Code for Food

Latest Blog Post:
Easy PHP Search with Opera
Posts: 1,067
Name: Matt
Location: Irvine, CA
Trades: 0
Quote:
Originally Posted by rober7 View Post
i am using wordpress mu ....
Is it the latest version? Are you using any plugins?
__________________
Tinsology | How to Post Code | EverythingDev
NullPointer is online now
Reply With Quote
View Public Profile
 
Old 10-29-2009, 04:29 PM Re: anyone have a solution for this error?
Super Talker

Posts: 105
Trades: 0
I think you should try to reinstall the specified plugin.
itbuzz is offline
Reply With Quote
View Public Profile
 
Old 10-30-2009, 04:15 AM Re: anyone have a solution for this error?
rober7's Avatar
Experienced Talker

Posts: 35
Name: robert haba
Trades: 0
Quote:
Originally Posted by NullPointer View Post
Is it the latest version? Are you using any plugins?
yes .. it the last version ... i deleted all plugins with the same result .
bust something strange happend .. when i reinstall the plugins they remember the settings
rober7 is offline
Reply With Quote
View Public Profile Visit rober7's homepage!
 
Old 10-30-2009, 06:17 AM Re: anyone have a solution for this error?
rober7's Avatar
Experienced Talker

Posts: 35
Name: robert haba
Trades: 0
problem solved .... i think ... i delete all my plugins ... 10x all for help
rober7 is offline
Reply With Quote
View Public Profile Visit rober7's homepage!
 
Reply     « Reply to anyone have a solution for this error?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.14043 seconds with 13 queries