Publishing/ unpublishing newsletters in Administration / Content management content/ leads to following warning in a Drupal 6.4. Apache test environment:
recoverable fatal error: Object of class stdClass could not be converted to string in C:\xampp\htdocs\[www.sitename.com]\sites\default\modules\simplenews\simplenews.module on line 395.
Status is correctly updated and no harm seems to be done.
Is this a bug?
Enno
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | simplenews.308773.patch | 2.28 KB | sutharsan |
| #3 | simplenews.308773-2.patch | 878 bytes | sutharsan |
Comments
Comment #1
niklp commentedI would test this out on a non-XAMPP install and see what happens (ie on a "proper" Apache install) - it's likely that the level of error reporting enabled on your test system is set to display more low priority errors, for a guess.
Comment #2
sutharsan commentedI confirm the same problem on an MAMP install. This is a genuine error, possibly in Simplenews since long time (but I have not tested). For now you can ignore the fault, it does not have any effect on the content of you newsletter. I will work on a solution.
Comment #3
sutharsan commentedAttached patches are committed. Please test 6.x-1.x-dev when the next snaphot release is available.
simplenews_validate_taxonomy() has been rewritten to handle the different taxonomy forms.
During the above rewrite I discovered that new terms created by free tagging are not handled properly. To prevent problems, free tagging is disallowed and the option removed from the vocabulary add/edit form.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.