Forums

Strange warning in module

mpele 18 Sep, 2008
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 18 Sep, 2008
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'.

Bob
mpele 18 Sep, 2008
Thank's GreyHead.
When I set Error Reporting to Simple it isn't shown any more! 😀

mpele
Max_admin 19 Sep, 2008
Fix sent to me by Sébastien Agogué :


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

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.