Created
January 3, 2019 06:39
-
-
Save icetee/6ecf0a348c068cbbc2a7ae2652de2d44 to your computer and use it in GitHub Desktop.
Fix phpmyadmin count issue
This file contains hidden or 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
# Warning in ./libraries/sql.lib.php#613 | |
# count(): Parameter must be an array or an object that implements Countable | |
# https://stackoverflow.com/a/50536059/6393270 | |
sudo sed -i "s/|\s*\((count(\$analyzed_sql_results\['select_expr'\]\)/| (\1)/g" /usr/share/phpmyadmin/libraries/sql.lib.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment