Buy Now
Sign in

Strange warning in module

mpele , September 18 2008, 06:16
mpele 6
September 18 2008, 06:16 #13627
Module gives strange warning.

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 C:\UsbWebserver\Root\j15\modules\mod_chronocomments\mod_chronocomments.php on line 12
Those are the latest comments on our website:
mpele:Samo tako...

Could anyone explain what that means? Is it a bug or my system isn’t set up correctly?
GreyHead 65
September 18 2008, 08:35 #13631
Hi mpele,

It a piece of advice from PHP about some coding that could be improved. It doesn't cause any damage or harm except that the message is displayed.

Usually you can hide these messages by going to Global Configuration | Server for your site and setting 'Error Reporting' to 'System Default' or 'Simple'.

If you'd like to buy me a coffee or two, thank you very much
mpele 6
September 18 2008, 09:56 #13638
Thank's GreyHead.
When I set Error Reporting to Simple it isn't shown any more!

admin 32
September 19 2008, 18:10 #13744
Fix sent to me by Sébastien Agogué :

edit the "modchronocomments.php
change the line : echo modChronocommentsHelper::getComments(&$params);
by : echo modChronocommentsHelper::getComments($params);