I get this error after I copy the module to my site and try to go to the admim/modules page:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/webusers/russfretenburg/gmft.org/www/sites/default/modules/feemanager/feemanager.module on line 716

I cant' even see my list of modules (ie the feemanager module hasn' even been activated).

The rest of the site works fine.

Any idea of a fix?

Comments

Sam Roy’s picture

I had the same issue. Here's what I did.

Open the feemanager.module file and change line 733 (or in your case line 716) from:
$maxFid = db_fetch_object($result)->max;
to:
$maxFid = db_fetch_object($result->max);

This fixes the parse error.

Sam

(I should mention, I'm using Drupal 5.7)