<![CDATA[ Warning message in 2.7.0 database - My Forums]]> https://forums.modx.com/thread/?thread=104732 <![CDATA[Warning message in 2.7.0 database]]> https://forums.modx.com/thread/104732/warning-message-in-2-7-0-database#dis-post-563269
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.

Here it is
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,
)


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

]]>
omegerard Dec 15, 2018, 11:45 AM https://forums.modx.com/thread/104732/warning-message-in-2-7-0-database#dis-post-563269
<![CDATA[Re: Warning message in 2.7.0 database]]> https://forums.modx.com/thread/104732/warning-message-in-2-7-0-database#dis-post-563478 It's a phpmyadmin issue.

Ludo

Quote from: markh at Jan 08, 2019, 11:58 AM
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.
]]>
omegerard Jan 08, 2019, 01:01 PM https://forums.modx.com/thread/104732/warning-message-in-2-7-0-database#dis-post-563478
<![CDATA[Re: Warning message in 2.7.0 database (Best Answer)]]> https://forums.modx.com/thread/104732/warning-message-in-2-7-0-database#dis-post-563476
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.]]>
markh Jan 08, 2019, 11:58 AM https://forums.modx.com/thread/104732/warning-message-in-2-7-0-database#dis-post-563476
<![CDATA[Re: Warning message in 2.7.0 database]]> https://forums.modx.com/thread/104732/warning-message-in-2-7-0-database#dis-post-563457
My sites appear to work as expected.

What kind of sql database are you using: mariadb or mysql?

Ludo
]]>
omegerard Jan 05, 2019, 02:30 PM https://forums.modx.com/thread/104732/warning-message-in-2-7-0-database#dis-post-563457
<![CDATA[Re: Warning message in 2.7.0 database]]> https://forums.modx.com/thread/104732/warning-message-in-2-7-0-database#dis-post-563454 Quote from: omegerard at Dec 15, 2018, 11:45 AM
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


I’m also having this type warning message. Did either of you have luck fixing it?]]>
kehoe753 Jan 05, 2019, 11:31 AM https://forums.modx.com/thread/104732/warning-message-in-2-7-0-database#dis-post-563454