STS Posted August 14, 2016 Share Posted August 14, 2016 (edited) I had a few issues with my test site running 1.7 Beta 3. During the process, I uninstalled the module Main Menu. After reinstalling it, I cannot get the menu to show. It does not appear under Design / Positions. I assume it should be listed under display top. Any suggestions how I can get the menu to appear again? Below are errors from apache log: PHP Fatal error: Cannot redeclare class MenuTopLinks in /var/www/prestashop/modules/ps_mainmenu/menutoplinks.class.php on line 27, referer: http://dev.dispersetech.com/controlpanel/index.php?controller=AdminModulesPositions&token=d30c885d906238032283d775402b03d8 PHP Fatal error: Uncaught exception 'Symfony\\Component\\Debug\\Exception\\FatalErrorException' with message 'Error: Cannot redeclare class MenuTopLinks' in /var/www/prestashop/modules/ps_mainmenu/menutoplinks.class.php:27\nStack trace:\n#0 {main}\n\nNext exception 'LogicException' with message 'Request stack is empty' in /var/www/prestashop/app/bootstrap.php.cache:3218\nStack trace:\n#0 [internal function]: Symfony\\Component\\HttpKernel\\HttpKernel->terminateWithException(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))\n#1 /var/www/prestashop/app/cache/prod/classes.php(2072): call_user_func(Array, Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))\n#2 /var/www/prestashop/app/cache/prod/classes.php(2115): Symfony\\Component\\Debug\\ErrorHandler->handleException(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException), Array)\n#3 [internal function]: Symfony\\Component\\Debug\\ErrorHandler::handleFatalError()\n#4 {main}\n thrown in /var/www/prestashop/app/bootstrap.php.cache on line 3218, referer: http://dev.dispersetech.com/controlpanel/index.php?controller=AdminModulesPositions&token=d30c885d906238032283d775402b03d8 Edited August 14, 2016 by STS (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 15, 2016 Share Posted August 15, 2016 try to REMOVE the module, refresh your shop bo, and then upload it (via bo or via ftp) and try again Link to comment Share on other sites More sharing options...
STS Posted August 15, 2016 Author Share Posted August 15, 2016 Downloaded ps_mainmenu-master from github. Renamed to ps_mainmenu and installed. Install went fine. I can configure, but stiull does not display. Display hooks reveals NO hooks. Link to comment Share on other sites More sharing options...
STS Posted August 15, 2016 Author Share Posted August 15, 2016 Tried to visit Module with intention to disable.Module Page lists Server error. When I try the tab for installed modules, I get: Oops! An Error Occurred The server returned a "500 Internal Server Error".Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now