1

Our site was in maintenance mode for several days, and when we came out of maintenance mode a bunch (we don't know how many) of our nodes display this error:

Recoverable fatal error: Object of class stdClass could not be converted to string in DatabaseStatementBase->execute() (line 2136 of includes/database/database.inc).

This error can be found on this page -> http://www.relevantmagazine.com/node/109771 we are able to edit and save the node, but nothing we change fixes the issue.

Any ideas?

2

You probably included an object as an argument to one of your query conditions. If you print_r the $args at the line number in the database.inc file, you find out what the placeholders are set to.

  • you we're right! we were passing in an array of term objects into on of our queries (instead of an array of tids). thanks! – David Barratt Jun 28 '12 at 20:30
0

This error has been discussed here.

Update: Systematically unchecked all modules, then went and rechecked sections at a time.

  • we're not using Pay Per Node, nor have I ever even heard of it. – David Barratt Jun 28 '12 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.