I just updated to 6.24 and now I'm getting this message on some pages. I can't see any rhyme or reason to which pages get the error message and which don't.

strict warning: Only variables should be passed by reference in /home2/wvwworg/public_html/scholaclasses/atrium/modules/book/book.module on line 559.

Does anyone know what a non-programmer can do about it?

Thanks,

Pat

Comments

VM’s picture

6.24 is quite an old release. Why not update to the most recent release of 6.x which is 6.29 ?

if you meant 6.29 - what version of PHP is in use?

patsam’s picture

I've updated to 6.30 and Bluehost says that php is 5.4. I'm still getting the error message:

strict warning: Only variables should be passed by reference in /home2/wvwworg/public_html/scholaclasses/atrium/modules/book/book.module on line 559.

Any ideas?

Pat

VM’s picture

according to https://drupal.org/requirements it is recommended to run Drupal on PHP 5.2. PHP 5.4 wasn't around during D6 development. You may have to check the D6 core issue queue for similar reports and see if the version of PHP is related.

Jaypan’s picture

What does line 559 of book.module look like? I just looked in my own installation, and that line should not be throwing up that error, but I'd rather see what that line looks like in your installation to be sure.

joelpittet’s picture

I posted a quick patch over at https://drupal.org/node/1707928