[bug fix] Gtrans does'nt work with PHP 5.4 in WordPress
Sep 5, 2012 8:50 am by gldb
Sep 5, 2012 8:50 am by gldb
After having loaded PHP 5.4.3, gtranslate run into error causing my website to breakdown with the following error message:
"Fatal error: Call-time pass-by-reference has been removed in C:\wamp\www\site_AAC\wp-content\plugins\gtranslate\gtranslate.php on line 46"
I am using Gtranslate 1.0.36 and WordPress 3.4.1, PHP 5.4.3
The problem is easy to fix: Edit the gtrans.php file and change the lines
GTranslate::load_defaults(& $data);
to
GTranslate::load_defaults($data);
Hope this post will help
Re: Gtrans does'nt work with PHP 5.4
Sep 10, 2012 10:44 pm by Edvard
Sep 10, 2012 10:44 pm by Edvard
Thanks for the note!
Re: [bug fix] Gtrans does'nt work with PHP 5.4 in WordPress
Nov 24, 2012 11:44 pm by atlandtic
Nov 24, 2012 11:44 pm by atlandtic
Thanks very much : it works !
SIMILAR TOPICS
wordpress amp link not translate | Dec 31, 2016 10:11 am | Replies: 12 | Post by: besybuy |
GT doesn't work...error 404 page | Jan 28, 2019 5:36 pm | Replies: 1 | Post by: vincenzodinuzzo |
Add links to all translated posts on every Wordpress post | Jan 14, 2019 8:51 pm | Replies: 5 | Post by: ptsniper |
Best way to translate a page in WordPress? | Jan 7, 2019 11:10 am | Replies: 3 | Post by: Tonnystark |
how to translate site right to left for arabic in WordPress | Dec 26, 2018 9:02 am | Replies: 1 | Post by: Hammond753 |