AJAX Select: "recoverable fatal error: Object of class stdClass could not be..."

John Bryan - July 19, 2008 - 08:53
Project:AJAX Select
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

recoverable fatal error: Object of class stdClass could not be converted to string in /var/www/html/projects/public_html/sites/all/modules/ajax_select/ajax_select.module on line 77.

The above was repeated several time when I created a "Help Tip" (from the HELP Tip module). I have not yet enabled AJAX Select for any fields.

Searching Drupal.org shows that various modules can suffer/cause similar errors and that it is specific to PHP 5.2. From my experience so far it also seems to be predominently on Drupal 5 and not Drupal 6, though I have not used this particular module

#1

John Bryan - July 19, 2008 - 09:04

Also happened when cron ran "Job Queue" (i.e. ".../ajax_select.module on line 77") so have for now disabled "AJAX Select"

#2

makara - July 24, 2008 - 02:56
Status:active» closed

Thank you John!

I think it was generated by "array_diff(xxx, (array)$node)". I didn't know that it can lead to this error, but it's already not in use in newer versions.

Cheers.
Makara

#3

John Bryan - July 27, 2008 - 00:45

Great,

Will upgrade and try again during the next week.

Regards

 
 

Drupal is a registered trademark of Dries Buytaert.