Download & Extend

Object of class stdClass could not be converted to string PHP Error

Project:Related links
Version:5.x-2.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I keep seeing this PHP error in my Recent log entries, do you know what is causing it? Thanks for your support.

Object of class stdClass could not be converted to string in /home/content/c/o/m/compshack/html/sites/all/modules/relatedlinks/relatedlinks.module on line 1134.

Comments

#1

I have the same issue. This error shows when I attempt to access the node the first time. Subsequent views don't show the error.

#2

I had exact the same issue. This error is php 5.2 specific. After changing line 1134 in relatedlinks.module with the code mentioned in the following comment http://drupal.org/node/133099#comment-536396 everthing works fine.

For the programmer of this module: Here are some more infos of the changes in php 5.2 http://drupal.org/node/98393
Hope this helps.

#3

Status:active» closed (duplicate)

Dupe of #133099: Object of class stdClass could not be converted to string

Thanks for the link, berlinonline2

nobody click here