I did a routine update of PHP and came up with a number of block_class related errors. Re-updated and they seemed to clear. Until I try to view a node containing a block with a block_class designation. Here I have the following errors:
# warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in C:\wamp\www\Drupal\sites\default\modules\block_class\block_class.module on line 56.
# warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in C:\wamp\www\Drupal\sites\default\modules\block_class\block_class.module on line 58.
While these are on my localhost, they occur on my live site as well.
When I switched back to the version 6.x-1.3, the errors went away!
'Thought someone would like to know!
Comments
Comment #1
Todd Nienkerk CreditAttribution: Todd Nienkerk commentedCan you explain what you mean by "a routine update of PHP"? Did you upgrade PHP and recompile it, or did you run update.php on your site?
I wouldn't recommend upgrading to 6.x-2.x-dev. Dev releases of any module can cause these kinds of problems. It's valuable to get this kind of feedback, of course, but you should stick to full releases (like the latest 6.x-1.x release) for production sites.
Comment #2
mastoll CreditAttribution: mastoll commentedDid an update.php on my site.
'Have no problem with sticking with the full release of block_class module and usually do implement only proven releases.
Comment #3
berenddeboer CreditAttribution: berenddeboer commentedI think the 2.x-dev branch is dead, don't use.