AJAX Select: "recoverable fatal error: Object of class stdClass could not be..."
| Project: | AJAX Select |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
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
Also happened when cron ran "Job Queue" (i.e. ".../ajax_select.module on line 77") so have for now disabled "AJAX Select"
#2
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
Great,
Will upgrade and try again during the next week.
Regards