Closed (duplicate)
Project:
Related links
Version:
5.x-2.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2008 at 05:17 UTC
Updated:
3 Dec 2010 at 08:40 UTC
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
Comment #1
mrothroc commentedI have the same issue. This error shows when I attempt to access the node the first time. Subsequent views don't show the error.
Comment #2
berlinonline2 commentedI 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.
Comment #3
Zen commentedDupe of #133099: Object of class stdClass could not be converted to string
Thanks for the link, berlinonline2