Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I try to create a new webform/ or try to save my current webform, I get a white screen.
I've added a code in the settings.php file, to see what was wrong. This is the error message:
Fatal error: Unsupported operand types in /var/www/web25/web/sites/all/modules/webform/webform.module on line 1441
I found the file and opened it. Went to line 1441 and saw this:
$node->webform += webform_node_defaults();
What can I do? Hope you guys can help.
Comments
Comment #2
DanChadwick CreditAttribution: DanChadwick commentedImpossible to tell from the information provided. Something is broken in your installation. Probably only you can debug it. If you updated webform, I'd start there. Otherwise I'd look for module of theme incompatibility. Good luck.
Comment #3
Bes2theFort CreditAttribution: Bes2theFort commentedMaybe someone else can help? Need to fix this.
Comment #4
Bes2theFort CreditAttribution: Bes2theFort commentedComment #5
DanChadwick CreditAttribution: DanChadwick commentedWithout ESP and X-ray vision and a cape, no one can debug this but your or your developer. And no one lurks in this queue offering help. You could try Drupal Answers, but you'll need to provide more information.
Or try disabling other modules, a core theme, and/or a complete uninstall/install (which will lose webform content)
Comment #6
DanChadwick CreditAttribution: DanChadwick commentedComment #7
Bes2theFort CreditAttribution: Bes2theFort commentedI found the mistake. I had a module called spamicide, which was blocking me to save my webform. I've just disabled it and it worked