Error on Gtranslate (Joomla 3.3)

Popular automatic website translation tool

Error on Gtranslate (Joomla 3.3)

Postby livio » Sat Feb 07, 2015 5:45 pm

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
livio
 
Posts: 1
Joined: Sat Feb 07, 2015 5:44 pm

Re: Error on Gtranslate (Joomla 3.3)

Postby Yana » Sun Feb 08, 2015 4:10 am

Hi,
Please turn off Strict Standard Warning messages.
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm

Re: Error on Gtranslate (Joomla 3.3)

Postby dhennen » Mon Mar 02, 2015 5:51 am

This bug is easily fixed.

modules/mod_gtranslate/helper.php line 12 change to

Code: Select all
static function getParams(&$params) {


In modules/mod_gtranslate/tmpl/default.php any references to

Code: Select all
=&


change to just

Code: Select all
=



This allows the module to work in PHP 5.5 with strict warnings on.
dhennen
 
Posts: 1
Joined: Mon Mar 02, 2015 5:43 am

Re: Error on Gtranslate (Joomla 3.3)

Postby Yana » Mon Mar 02, 2015 5:51 pm

Hi,
Thank you !
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux