Strict standards error in Joomla 3 site
Jun 2, 2015 9:21 am by pgielen
Jun 2, 2015 9:21 am by pgielen
Hi,
I installed and published GTranslate in my Joomla 3 site https://virtualtours.nl but when I open the site, I get the following error message:
Strict Standards: Non-static method modGTranslateHelper::getParams() should not be called statically in /customers/6/7/f/virtualtours.nl/httpd.www/modules/mod_gtranslate/mod_gtranslate.php on line 13 Strict Standards: Only variables should be assigned by reference in /customers/6/7/f/virtualtours.nl/httpd.www/modules/mod_gtranslate/tmpl/default.php on line 84
What's wrong?
Pierre
Re: Strict standards error in Joomla 3 site
Jun 2, 2015 12:57 pm by Yana
Jun 2, 2015 12:57 pm by Yana
Hi,
You just need to disable warnings. Please check the following post
lots-errors-t3206.html#:~:text=modGTranslateHelper
Re: Strict standards error in Joomla 3 site
Jun 3, 2015 7:15 am by pgielen
Jun 3, 2015 7:15 am by pgielen
Okay I did that and the error messages are gone now. I wonder why this warnings rule isn't added to the module by default.
However, gtranslate still does not work. The first six flags for selecting the language have no hyperlink and the rest does nothing. Also selecting a language in the drop down box does not translate the site...
Re: Strict standards error in Joomla 3 site
Jun 3, 2015 7:44 am by joit
Jun 3, 2015 7:44 am by joit
Hi,
I have similar errors if I raise error reporting level im Joomla backend.
Strict Standards: Non-static method modGTranslateHelper :: getParams () Should not be called statically in /mnt/weba/d2/10/53523610/htdocs/150401/modules/mod_gtranslate/mod_gtranslate.php on line 13 Strict Standards: Only variables Should be assigned by reference in /mnt/weba/d2/10/53523610/htdocs/150401/modules/mod_gtranslate/tmpl/default.php on line 115 Strict Standards: Only variables Should be assigned by reference in / mnt / weba / D2 / 10/53523610 / htdocs / 150401 / modules / mod_gtranslate / tmpl / default.php on line 130 Strict Standards: Only variables Should be assigned by reference in / mnt / weba / D2 / 10/53523610 / htdocs / 150401 / modules / mod_gtranslate / tmpl / default.php on line 209
is this going to be fixed?
Thanks,
joit
Re: Strict standards error in Joomla 3 site
Jun 3, 2015 7:16 pm by pgielen
Jun 3, 2015 7:16 pm by pgielen
Modifying the helper.php and default.php by adding a single line to each file solves this problem, but I am also in favour of adding this line by default in the distribution version of the Joomla module!
Re: Strict standards error in Joomla 3 site
Jun 3, 2015 8:45 pm by Yana
Jun 3, 2015 8:45 pm by Yana
Dear Joit,
You need to disable warning messages.
Dear Pgielen,
Please check your website for javascript errors. Do you have an extension which can block gtranslate module?
Try to change gtranslate module order and /or the module position.
SIMILAR TOPICS
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 |
GT doesn't work...error 404 page | Jan 28, 2019 5:36 pm | Replies: 1 | Post by: vincenzodinuzzo |
Nginx 502 Error | Jan 11, 2019 2:15 pm | Replies: 1 | Post by: mightyfineprint |