Installed 5.x-1.1, I can't access my site anymore, but get an error:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in .../sites/default/modules/addnode/addnode.module on line 102

I must reinstall back to version 5.x-1.0

CommentFileSizeAuthor
#1 addnode_php4.patch1.33 KBbdragon

Comments

bdragon’s picture

Status: Active » Needs review
StatusFileSize
new1.33 KB

PHP5 specific code got in, it seems.
(You can't use the object operator on the return value of a function in php4!)

Lionfish’s picture

Version: 5.x-1.1 » 5.x-1.2
Status: Needs review » Fixed

Applied patch bdragon supplied.

There may be other php5 specific code in the module, so it still needs testing.

Thanks!

Mike.

Anonymous’s picture

Status: Fixed » Closed (fixed)