Parse error: syntax error, unexpected '=', expecting ')' in /home/domain/sites/all/modules/nodewords/nodewords.install on line 340
Linea 340-341: function nodewords_update_6113(&$sandbox = NULL) {
$ret = array();
Parse error: syntax error, unexpected '=', expecting ')' in /home/domain/sites/all/modules/nodewords/nodewords.install on line 340
Linea 340-341: function nodewords_update_6113(&$sandbox = NULL) {
$ret = array();
Comments
Comment #1
avpadernoThe update function argument is the same as reported in http://api.drupal.org/api/function/hook_update_N/6.
Comment #2
avpadernoComment #3
drupalfan2 commentedCan you solve this now?
Comment #4
avpadernoAssigning a default value for a parameter passed by reference is only allowed in PHP5; I removed the default value for that parameter.
Thanks for the report.
Comment #5
Lucidity commented--
solved my problem
Comment #6
webgimp commentedi am a bit of a noob just trying out Drupal for the first time. What do I have to do to fix this problem?
Comment #7
ilo commentedwebgimp, I suggest you to get the latest version of the code again. This issue would have been fixed, and others you will find if you keep using the previous version if you don't have the chance to wait for the next stable release.
Comment #8
zigla commentedif in my server php 4 how i can fix ?