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

sutharsan’s picture

Status: Active » Postponed (maintainer needs more info)

You are the first reporting this error. Debug your system module to find the cause of the problem.

blues_admin’s picture

Status: Postponed (maintainer needs more info) » Fixed

On 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)

sutharsan’s picture

The 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Noira’s picture

I second it, happened to me today. Running Drupal 6.9 with no changes made to the core. What shall I do?

OneTwoTait’s picture

Version: 6.x-1.0-rc2 » 6.x-1.1
Status: Closed (fixed) » Active

"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.

sutharsan’s picture

@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)

OneTwoTait’s picture

This is the same as before. It's on the "Newsletter Management" page as described in the first post.

sutharsan’s picture

I can't reproduce. Describe how, wHat modules etc.

sutharsan’s picture

Category: bug » support
Priority: Critical » Normal

Changing priority. If this is really critical, I expect a response. Changing category. I have no indication that the problem is caused by simplenews.

OneTwoTait’s picture

Same 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"

sutharsan’s picture

Do you have any simplenews related modules installed? pls, disable them and try again.

OneTwoTait’s picture

Mime Mail. I've tried disabling it and viewing that page. The same error appears.

eff_shaped’s picture

subscribing

getting same error message

gregclark’s picture

I 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.

simon georges’s picture

Apparently (#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:

It can be solved going to /admin/build/menu-customize/navigation and editing the link for the Simplenews menu item and after saving it...

Maybe you can try that, and see if it works.

miro_dietiker’s picture

Status: Active » Closed (works as designed)

Since 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.