Forum Archive - [Solved]Fatal error

[Solved]Fatal error
Feb 18, 2012 4:54 pm by ASpanishProperty
As you know you installed this for me, and you suggested that i disable the plugin in order to edit or add menu items. I did this and it did not work. Can you fix this problem for me Fatal error: Cannot redeclare file_get_html() (previously declared in /home/wwwaspan/public_html/plugins/system/gtranslate.php:959) in /home/wwwaspan/public_html/plugins/system/jat3/core/libs/html_parser.php on line 41 i tried that and i want to change and edit a menu item and the error is still there So I am stuck cant add menu items or change them
Re: Fatal error
Feb 18, 2012 7:42 pm by Yana
Hi, I have edited plugins/system/shsef.php and added this code. This should fix the problem with disabling Gtranslate system plugin. I tried and it works. You can disable GTranslate plugin, edit menu items and enable it again. if(class_exists('plgSystemGTranslate')) { // fix for gtranslate $uri =& JURI::getInstance(); $router =& $mainframe->getRouter(); plgSystemGTranslate::parseGTranslate($router, $uri); // sh404sef fix $session = & JFactory::getSession(); $lang = $session->get('glang'); $_SERVER['REQUEST_URI'] = str_replace('/'.$lang.'/', '/', $_SERVER['REQUEST_URI']); }
Re: Fatal error
Feb 20, 2012 1:05 am by ASpanishProperty
Thank you so much

SIMILAR TOPICS

Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
Error message and URL problemsFeb 6, 2019 11:16 amReplies: 1Post by: Kidbooo
GT doesn't work...error 404 pageJan 28, 2019 5:36 pmReplies: 1Post by: vincenzodinuzzo
Nginx 502 ErrorJan 11, 2019 2:15 pmReplies: 1Post by: mightyfineprint
Error message on click on the widgetJan 6, 2019 9:52 pmReplies: 1Post by: jmric68

Try GTranslate with a free 15 day trial