I'm getting the following when accessing, editing, or creating a new Story:
* warning: Invalid argument supplied for foreach() in /home/shelleyp/public_html/realtech/modules/opencalais/calais.module on line 405.
* warning: implode() [function.implode]: Invalid arguments passed in /home/shelleyp/public_html/realtech/modules/opencalais/calais.module on line 431.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY v.weight, v.name' at line 4 query: SELECT v.vid, v.*, n.type FROM vocabulary v LEFT JOIN vocabulary_node_types n ON v.vid = n.vid WHERE n.type = 'story' and v.vid in () ORDER BY v.weight, v.name in /home/shelleyp/public_html/realtech/modules/opencalais/calais.module on line 440.
As far as I know, I've followed all of the Calais instructions, set the key, and the configuration items. I do have a version of the RDF module that was released after this Calais module.
Comments
Comment #1
febbraro commentedHas this ben resolved or is it still an issue?
Comment #2
irakli commentedShelley,
I would try to do a clean uninstall and re-install of the module and see if the problem persists.
Frank,
we need to put checks on the size of arrays before any "foreach" and do some reasonable recovery if an array is null or empty. Ouch :)
Comment #3
febbraro commented4 weeks and nothing, closing for inactivity. Reopen if an issue still exists.