Created
April 28, 2020 09:08
-
-
Save mohamm6d/8d136cc0ba848e14665f1a20c3b372a7 to your computer and use it in GitHub Desktop.
Problem with phpMyAdmin and PHP. Warning in ./libraries/sql.lib.php#613 count()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo cp /usr/share/phpmyadmin/libraries/sql.lib.php /usr/share/phpmyadmin/libraries/sql.lib.php.bak | |
sudo nano /usr/share/phpmyadmin/libraries/sql.lib.php | |
#Press CTRL + W and search for (count($analyzed_sql_results['select_expr'] == 1) | |
#Replace it with ((count($analyzed_sql_results['select_expr']) == 1) and save the file | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment