News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Error in ./libraries/sql.lib.php#613

Started by Ali_, April 19, 2019, 11:32:23 AM

Previous topic - Next topic

Ali_

I get the following error when I click on a table in phpmyadmin, it's telling me there's an error and it seems to be the same no matter which table I select.  From what I gather, it's nothing to do with phpmyadmin.  I am thinking at one point I had a theme that affected something, not sure why else it would show me a reference to a theme that doesn't exist anymore.  I changed the database name with databaseNameIamUsing for the purpose of this post.

Warning some errors have been detected on the server, look bellow:

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 'databaseNameIamUsing',
string 'smf_log_group_requests',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `smf_log_group_requests`',
NULL,
NULL,
)
./sql.php#221: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string 'databaseNameIamUsing',
string 'smf_log_group_requests',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `smf_log_group_requests`',
NULL,
NULL,
)

Arantor

This isn't a problem with SMF, this is a problem with phpMyAdmin - you need to get an upgraded version of it to support PHP 7.2.

Ali_

what's /themes/pmahomme ?  I don't even have that in my themes.

Arantor

It's not an SMF file, it's part of phpMyAdmin. You will need to upgrade that entirely separate piece of software entirely separately.

Illori

you may need to reach out to your host to look into this if you don't understand the instructions provided.


Advertisement: