code/errors showing in header
Aug 11, 2014 2:04 pm by rowanscribbles
Aug 11, 2014 2:04 pm by rowanscribbles
Hi- just installed looks great is translating however the following is showing up on every page, have disabled and brought back be grateful for assistance,
Strict Standards: Non-static method modGTranslateHelper::getParams() should not be called statically in /home/lsdnco/public_html/modules/mod_gtranslate/mod_gtranslate.php on line 13
Strict Standards: Only variables should be assigned by reference in /home/lsdnco/public_html/modules/mod_gtranslate/tmpl/default.php on line 130
Strict Standards: Only variables should be assigned by reference in /home/lsdnco/public_html/modules/mod_gtranslate/tmpl/default.php on line 209
Re: code/errors showing in header
Aug 11, 2014 6:01 pm by Edvard
Aug 11, 2014 6:01 pm by Edvard
Hi,
Please disable strict standard warnings. I want to note that on every production website error reporting should be turned off for security purposes.
Thanks!
Re: code/errors showing in header
Nov 24, 2014 10:44 am by carsten888
Nov 24, 2014 10:44 am by carsten888
Or you can just fix the bugs
modules\mod_gtranslate\mod_gtranslate.php on line 13
function getParams(&$params) {
change to
static function getParams(&$params) {
modules\mod_gtranslate\tmpl\default.php on line 130
$document =& JFactory::getDocument();
change to
$document = JFactory::getDocument();
and line 209
$session =& JFactory::getSession();
change to
$session = JFactory::getSession();
Re: code/errors showing in header
Nov 25, 2014 1:18 pm by Yana
Nov 25, 2014 1:18 pm by Yana
Hi,
Thank you for your post.
SIMILAR TOPICS
Large numbers of crawl errors with double language code | Jan 24, 2019 1:43 am | Replies: 1 | Post by: natastna2 |
Not showing up on mobile | Oct 24, 2018 5:15 pm | Replies: 6 | Post by: lovelysidhu |
Moving GT Translate Above Header | Dec 7, 2018 9:26 am | Replies: 1 | Post by: mrlee |
Intermittent 403 Errors (Forbidden: Access is denied) | Sep 28, 2018 2:07 pm | Replies: 3 | Post by: mattbradley85 |
AJAX requests sent to wrong (with language code) URL | Sep 27, 2018 10:16 am | Replies: 3 | Post by: atriaforever |