Fatal error: Cannot use object of type stdClass as array in C:\...\...\modules\nodewords\nodewords.module on line 144
Error above occurs when I am deleting a taxonomy term. Similar error occurs when I delete nodes. The address in the error above is due to the fact I'm working on localhost - but it also happens when uploded onto a server.
Comments
Comment #1
alonpeer commentedThe same thing happens to me.
Drupal 4.6.5, Apache 2, PHP 5
Any fix available for this?
Comment #2
alonpeer commentedI found the problem!
The problem is that the function nodewords_taxonomy() is referring to $object as if it was an array.
Here's my nodewords_taxonomy() patch (I commented the things I changed):
Comment #3
Robrecht Jacques commentedI have removed "nodewords_taxonomy" for the 4.6 version as drupal 4.6 doesn't support the "form" operation of hook_taxonomy anyway so nothing useful is ever provided to this hook.
Comment #4
Robrecht Jacques commented