Forum Archive - code/errors showing in header

code/errors showing in header
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
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
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
Hi, Thank you for your post.

SIMILAR TOPICS

Large numbers of crawl errors with double language codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2
Not showing up on mobileOct 24, 2018 5:15 pmReplies: 6Post by: lovelysidhu
Moving GT Translate Above HeaderDec 7, 2018 9:26 amReplies: 1Post by: mrlee
Intermittent 403 Errors (Forbidden: Access is denied)Sep 28, 2018 2:07 pmReplies: 3Post by: mattbradley85
AJAX requests sent to wrong (with language code) URLSep 27, 2018 10:16 amReplies: 3Post by: atriaforever

Try GTranslate with a free 15 day trial