Closed (fixed)
Project:
AJAX Select
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2008 at 08:53 UTC
Updated:
27 Jul 2008 at 00:45 UTC
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
Comments
Comment #1
John Bryan commentedAlso happened when cron ran "Job Queue" (i.e. ".../ajax_select.module on line 77") so have for now disabled "AJAX Select"
Comment #2
makara commentedThank 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
Comment #3
John Bryan commentedGreat,
Will upgrade and try again during the next week.
Regards