Warning in ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable Backtrace ./libraries/sql.lib.php#2128: PMA_isRememberSortingOrder(array) ./libraries/sql.lib.php#2079: PMA_executeQueryAndGetQueryResponse( array, boolean true, string 'socialworkerlabdb', string 'modx_access_category', NULL, NULL, NULL, NULL, NULL, NULL, string '', string './themes/pmahomme/img/', NULL, NULL, NULL, string 'SELECT * FROM `modx_access_category`', NULL, NULL, ) ./sql.php#221: PMA_executeQueryAndSendQueryResponse( array, boolean true, string 'socialworkerlabdb', string 'modx_access_category', NULL, NULL, NULL, NULL, NULL, NULL, string '', string './themes/pmahomme/img/', NULL, NULL, NULL, string 'SELECT * FROM `modx_access_category`', NULL, NULL, )
This question has been answered by markh. See the first response.
Hi
As I struggled to solve an http 500 error on the manager login page after upgrading from 2.6.5 to 2.7.0, I went into the database and stumbled upon warning after warning.
I found the same warning in the database of a fresh 2.7.0 installation.
Has anybody else gotten a similar warning message?
Very strange, as I have never done anything with themes so far. Is that part of the upcoming 'fred'?
Kind regards
Ludo
Sorry if I'm being daft, but what warning are you referring to?
The code snippet you posted looks like it may be from a phpmyadmin log. The warning happens in /libraries/sql.lib.php on line 613, which is not part of MODX. So if I'm reading your post correctly, the warning you're seeing is an issue in phpmyadmin, not MODX.