The error which is usefully documented in http://drupal.org/node/128421 appears to have returned in 5.x.1.0
If I return to 5.x.1.x-dev, all is fine.

But if I use the latest version, the error :

Parse error: parse error, unexpected T_OBJECT_OPERATOR in /usr/www/users/ceo3141/modules/og_content_type_admin/og_content_type_admin.module on line 659

is reported.

I have looked at the code and it appears that in the latest version to have reverted to the single line:

$activated_types = unserialize(db_fetch_object(db_query($sql, $num))->types_active);

however, changing this manually to the proposed lines

$holder = db_fetch_object(db_query($sql, $num));
$activated_types = unserialize($holder->types_active);

no longer does the trick: a similar error report occurs citing line 706, I believe...

My shared hosting service is using php 4.4.4
I am using Drupal 5.1

Comments

rconstantine’s picture

Status: Active » Closed (duplicate)

The dev version is the latest version. Check the release date. The dev version will always have bug fixes.

jbc’s picture

Thanks, that's helpful.

I was responding to information provided by the Update Status module, which suggests that the latest version is 5.x-1.0 rather than the dev version.

Presumably that is an issue with that module...