After I installed the latest version of PHP 7.3.4 and MySQL Community Server 8.0.15 I faced this error on my phpmyadmin 4.7.7:
Warning in .librariesconfigFormDisplay.php#661 “continue” targeting
switch is equivalent to “break”. Did you mean to use “continue 2”?Backtrace
.vendorcomposerClassLoader.php#444: include()
.vendorcomposerClassLoader.php#322:
ComposerAutoloadincludeFile(string
‘F:appsphpMyAdminvendorcomposer/../../librariesconfigFormDisplay.php’)
ComposerAutoloadClassLoader->loadClass(string
‘PMAlibrariesconfigFormDisplay’)
.librariesconfigPageSettings.php#76: spl_autoload_call(string
‘PMAlibrariesconfigFormDisplay’)
.librariesconfigPageSettings.php#230:
PMAlibrariesconfigPageSettings->__construct( string ‘Navi_panel’,
string ‘pma_navigation_settings’, )
.librariesnavigationNavigation.php#66:
PMAlibrariesconfigPageSettings::getNaviSettings()
.librariesHeader.php#425:
PMAlibrariesnavigationNavigation->getDisplay()
.librariesResponse.php#260: PMAlibrariesHeader->getDisplay()
.librariesResponse.php#273: PMAlibrariesResponse->_getDisplay()
.librariesResponse.php#432: PMAlibrariesResponse->_htmlResponse()
PMAlibrariesResponse->response()
Anybody know how to fix this issue?
3
Answers
This error occurs by PHP backward-compatible.
Updating to the latest version, for me was 4.8.5 resolved the issue.
I had the same, and fixed it by editing the php script FormDisplay.php.
On line 661, replace continue with break (keep the semi-colon).
If you do edit, you’ll need sudo access, but back up the original one first.
Reload the page. Hope that helps.
Edit PHP script in the file FormDisplay.php
At this line 660, I found this code in this path
$ /usr/share/phpmyadmin/libraries/config/FormDisplay.php
Update it as per below suggestion
Reload PHPMyAdmin and your issue will get resolved.