I get the following warning after enabling e-journal 5.x with PHP 5 and MySQL 5:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of theme(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/mysite/sites/all/modules/ejournal/ejournal.module on line 3834

Thanks for porting this terrific module. I know a lot of people are cheering your efforts!

Comments

romca’s picture

Status: Active » Fixed

Thank you bomarmonk,
it was fixed, the fresh versions are in the cvs (drupal packaging system produces tarballs every 12 hours).

roman

bomarmonk’s picture

This bug resurfaced with the latest 5.x tarball (from 9/17/2007). I think its happening in the same place: "

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/mysitecom/sites/all/modules/ejournal/ejournal.module on line 3780 "

bomarmonk’s picture

Status: Fixed » Active
romca’s picture

Hi bomarmonk,
seems to be inside of a ejournal_plugins() call. As all the plugins are currently in the module files, it might be some old code hanging around. Do you have any file starting with "ejournal" and ending in "inc" in the ejournal folder? If yes, could you please remove it and then try again. (if you need that inc file, please post it and i will have a look into it).
Thanks,

bomarmonk’s picture

I don't see any .inc files. Sorry about that, but let me know if I can help narrow it down some other way.

romca’s picture

Please try the latest version, i changed it. If you can describe what you are doing when the error occurs, and the url (/ejournal.... or /admin/ejournal...)
Thank you,

bomarmonk’s picture

Status: Active » Fixed

It looks like the latest 5x version fixed this issue for me. Thank you!

Anonymous’s picture

Status: Fixed » Closed (fixed)