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

avpaderno’s picture

The update function argument is the same as reported in http://api.drupal.org/api/function/hook_update_N/6.

avpaderno’s picture

Version: 6.x-1.3-beta5 » 6.x-1.x-dev
drupalfan2’s picture

Can you solve this now?

avpaderno’s picture

Title: Installation Error » Default value assigned to a parameter passed by reference
Status: Active » Fixed

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

Lucidity’s picture

--
solved my problem

webgimp’s picture

i am a bit of a noob just trying out Drupal for the first time. What do I have to do to fix this problem?

ilo’s picture

webgimp, 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.

zigla’s picture

if in my server php 4 how i can fix ?

Status: Fixed » Closed (fixed)

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