Strict standards error in Joomla 3 site

Popular automatic website translation tool

Strict standards error in Joomla 3 site

Postby pgielen » Tue Jun 02, 2015 1:21 pm

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
pgielen
 
Posts: 4
Joined: Tue Jun 02, 2015 1:17 pm

Re: Strict standards error in Joomla 3 site

Postby Yana » Tue Jun 02, 2015 4:57 pm

Hi,

You just need to disable warnings. Please check the following post
post13629.html?hilit=modGTranslateHelper#p13629
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: 4133
Joined: Thu Jan 12, 2012 6:21 pm

Re: Strict standards error in Joomla 3 site

Postby pgielen » Wed Jun 03, 2015 11:15 am

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...
pgielen
 
Posts: 4
Joined: Tue Jun 02, 2015 1:17 pm

Re: Strict standards error in Joomla 3 site

Postby joit » Wed Jun 03, 2015 11:44 am

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
joit
 
Posts: 4
Joined: Wed Jun 03, 2015 11:40 am

Re: Strict standards error in Joomla 3 site

Postby pgielen » Wed Jun 03, 2015 11:16 pm

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!
pgielen
 
Posts: 4
Joined: Tue Jun 02, 2015 1:17 pm

Re: Strict standards error in Joomla 3 site

Postby Yana » Thu Jun 04, 2015 12:45 am

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.
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: 4133
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