Download & Extend

Default value assigned to a parameter passed by reference

Project:Nodewords: D6 Meta Tags
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

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

#2

Version:6.x-1.3-beta5» 6.x-1.x-dev

#3

Can you solve this now?

#4

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.

#5

--
solved my problem

#6

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?

#7

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.

#8

if in my server php 4 how i can fix ?

#9

Status:fixed» closed (fixed)

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