Error on Gtranslate (Joomla 3.3)
Feb 7, 2015 1:45 pm by livio
Feb 7, 2015 1:45 pm by livio
Dear All,
I have an issue with Gtranslate that I just installed.
No matter where I put the module, always the same error:
Strict Standards: Non-static method modGTranslateHelper::getParams() should not be called statically in /web/chateauxpass/www/wearetabletennis/modules/mod_gtranslate/mod_gtranslate.php on line 13
Strict Standards: Only variables should be assigned by reference in /web/chateauxpass/www/wearetabletennis/modules/mod_gtranslate/tmpl/default.php on line 115
Strict Standards: Only variables should be assigned by reference in /web/chateauxpass/www/wearetabletennis/modules/mod_gtranslate/tmpl/default.php on line 130
Strict Standards: Only variables should be assigned by reference in /web/chateauxpass/www/wearetabletennis/modules/mod_gtranslate/tmpl/default.php on line 209
Many thanks for your help !
Livio
Re: Error on Gtranslate (Joomla 3.3)
Feb 8, 2015 12:10 am by Yana
Feb 8, 2015 12:10 am by Yana
Hi,
Please turn off Strict Standard Warning messages.
Re: Error on Gtranslate (Joomla 3.3)
Mar 2, 2015 1:51 am by dhennen
Mar 2, 2015 1:51 am by dhennen
This bug is easily fixed.
modules/mod_gtranslate/helper.php line 12 change to
static function getParams(&$params) {
In modules/mod_gtranslate/tmpl/default.php any references to
=&
change to just
=
This allows the module to work in PHP 5.5 with strict warnings on.
Re: Error on Gtranslate (Joomla 3.3)
Mar 2, 2015 1:51 pm by Yana
Mar 2, 2015 1:51 pm by Yana
Hi,
Thank you !
SIMILAR TOPICS
Gtranslate Multisite | Feb 12, 2019 7:27 am | Replies: 1 | Post by: infact_dat |
Gtranslate: Error with number | Feb 20, 2019 1:20 am | Replies: 1 | Post by: infact_dat |
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not defined | Feb 22, 2019 12:34 pm | Replies: 1 | Post by: oase |
Error message and URL problems | Feb 6, 2019 11:16 am | Replies: 1 | Post by: Kidbooo |
Add-on gtranslate no longer works | Feb 2, 2019 6:01 am | Replies: 1 | Post by: DarylDixon |