Hi,

Not sure, if it's a VBO or Syslog issue, but putting it here, because it happened
during work with VBO. Feel free to move it if necessary.

When changing author of the node, after choice of a new author, got this error:

Catchable fatal error: Object of class stdClass could not be converted to string in modules/syslog/syslog.module on line 106

Hint?

Szy.

CommentFileSizeAuthor
#4 vbo1.png115.21 KBkostajh
#4 vbo2.png140.22 KBkostajh
#4 vbo3.png176.97 KBkostajh

Comments

szy’s picture

Title: Catchable fatal error: Object of class stdClass could not be converted to string in modules/syslog/syslog.module on line 106 » Catchable fatal error: Object of class stdClass could not be converted to string in syslog.module on line 106
infojunkie’s picture

Can you find out what the error is in the first place? Maybe that will give a hint what caused the error. For example, in the syslog.module on line 106, add the following code:

dsm($entry['message']);

Thanks!

szy’s picture

Status: Active » Closed (fixed)

... now it went fine - with and without dsm entry. But I reinstalled a few tested modules
today, so maybe there was any conflict between them.

Thanks, for the module too :), closing.

Szy.

kostajh’s picture

Version: 6.x-1.x-dev » 6.x-1.7
Status: Closed (fixed) » Active
StatusFileSize
new176.97 KB
new140.22 KB
new115.21 KB

I get the same problem using VBO 1.7. "Recoverable fatal error: Object of class stdClass could not be converted to string in syslog.module on line 106"

I added dsm($entry['message']); to line 107. I tried working it into line 106 but it didn't do anything. Attached are screenshots with the result.

Is this something to be worried about? I am converting author ownership of about 2000 nodes (about 100 at a time) and am wondering if any of it will be corrupted.

As an aside, I have Calais installed which is why new taxonomy terms are being created when ownership is transferred. I got the same error messages for transfer of ownership before I was using Calais though.

Thanks for any help you can provide.

kostajh’s picture

Update: upgraded to the 1.x-dev version, still same error message.

infojunkie’s picture

Version: 6.x-1.7 » 6.x-1.x-dev
Component: Code » Core
Status: Active » Fixed

Seems to be related to #589722: preg_match error relating to inability to convert object to string. Please confirm that it's fixed in the latest dev.

Status: Fixed » Closed (fixed)
Issue tags: -Syslog, -Views Bulk Operations

Automatically closed -- issue fixed for 2 weeks with no activity.