Closed (works as designed)
Project:
Simplenews
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2009 at 11:50 UTC
Updated:
15 Nov 2010 at 10:29 UTC
I updated the module from 6.x-1.0-beta5 to 6.x-1.0-rc2 applying the common update procedure. Starting the "Newsletter Management" page, the following message occurs now:
Fatal error: Unsupported operand types in ...../modules/system/system.module on line 635
A reinstallion of the module didn't show any improvement.
Do you have any suggestions?
Comments
Comment #1
sutharsan commentedYou are the first reporting this error. Debug your system module to find the cause of the problem.
Comment #2
blues_admin commentedOn the beta-5 installation I moved the "Newsletter Mgt." to a separate menu - which worked properly. Obviously the update to RC2 stumbled on this constellation: While playing with the devel module to find a poper configuration for a debug report, I moved the page back to the Admininstration Menu below "Simplenews". Now everything is fine.
By the way, how do I get a propper debug report - for future requests? (... just a short indication)
Comment #3
sutharsan commentedThe system messages and the log are the available Drupal error logs. Next you can use the php error log. But in the above case the message is a PHP error message, so the log will probably not give you a lot of extra information. Last resort is the code itself which is the best but also the most complex source of info.
Comment #5
Noira commentedI second it, happened to me today. Running Drupal 6.9 with no changes made to the core. What shall I do?
Comment #6
OneTwoTait commented"Fatal error: Unsupported operand types in .../modules/system/system.module on line 626"
I'm using Drupal 6.10 and Simplenews 6.x-1.1.
Comment #7
sutharsan commented@taite11: As a rule of thumb, spend at least the amount of time investigating and reporting the error as you think the maintainer needs to solve it. Describe the error (done) when it occurs (-) and the steps to reproduce it (-), preferrably on a clean install (=drupal core + simplenews + nothing else)
Comment #8
OneTwoTait commentedThis is the same as before. It's on the "Newsletter Management" page as described in the first post.
Comment #9
sutharsan commentedI can't reproduce. Describe how, wHat modules etc.
Comment #10
sutharsan commentedChanging priority. If this is really critical, I expect a response. Changing category. I have no indication that the problem is caused by simplenews.
Comment #11
OneTwoTait commentedSame thing happens after updating core to 6.16.
I think this error is very minor because, if I remember correctly, that page just has links to the other pages (Sent Issues, Dreaft Issues, etc.) and these pages can still be reached through their own menu links.
On Drupal 6.16 the error is "Fatal error: Unsupported operand types in"..."/modules/system/system.module on line 627"
Comment #12
sutharsan commentedDo you have any simplenews related modules installed? pls, disable them and try again.
Comment #13
OneTwoTait commentedMime Mail. I've tried disabling it and viewing that page. The same error appears.
Comment #14
eff_shaped commentedsubscribing
getting same error message
Comment #15
gregclark commentedI also am getting the same error:
Fatal error: Unsupported operand types in .../modules/system/system.module on line 627
It appears at a few URLs including
/admin/content/simplenews
/admin/og
/admin/store
/admin/ecsettings
and a few admin menus for custom modules.
I'm running Drupal 6.16 right now. Any help would be appreciated.
Comment #16
simon georges commentedApparently (#595724: After core upgrade: Fatal error: Unsupported operand types ... /modules/system/system.module on line 627), it's a very common error.
If I quote http://drupal.org/node/595724#comment-3197232:
Maybe you can try that, and see if it works.
Comment #17
miro_dietikerSince we don't even edit a link by code or so this must be a core bug.
I can imagine that some incomplete upgrade did break the links table or core produced some glitch itself in a specific upgrade...
I think simplenews itself works as designed and we won't workaround such issues in the module itself.
It's drupal that needs to provide those tools reliably.