Advertisement:

Author Topic: Error in ./libraries/sql.lib.php#613  (Read 548 times)

Offline Ali_

  • Semi-Newbie
  • *
  • Posts: 64
Error in ./libraries/sql.lib.php#613
« on: April 19, 2019, 11:32:23 AM »
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,
)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Error in ./libraries/sql.lib.php#613
« Reply #1 on: April 19, 2019, 12:20:01 PM »
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.
No good deed goes unpunished
All helpful urges should be circumvented

Offline Ali_

  • Semi-Newbie
  • *
  • Posts: 64
Re: Error in ./libraries/sql.lib.php#613
« Reply #2 on: April 19, 2019, 12:44:31 PM »
what's /themes/pmahomme ?  I don't even have that in my themes.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Error in ./libraries/sql.lib.php#613
« Reply #3 on: April 19, 2019, 12:57:30 PM »
It's not an SMF file, it's part of phpMyAdmin. You will need to upgrade that entirely separate piece of software entirely separately.
No good deed goes unpunished
All helpful urges should be circumvented

Offline Illori

  • Support Specialist
  • SMF Legend
  • *
  • Posts: 52,736
Re: Error in ./libraries/sql.lib.php#613
« Reply #4 on: April 19, 2019, 02:15:51 PM »
you may need to reach out to your host to look into this if you don't understand the instructions provided.

Offline Ali_

  • Semi-Newbie
  • *
  • Posts: 64
Re: Error in ./libraries/sql.lib.php#613
« Reply #5 on: April 19, 2019, 04:39:50 PM »
understood :)