Advertisement:

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

Offline Ali_

  • Semi-Newbie
  • *
  • Posts: 62
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: 71,200
    • StoryBB/StoryBB on GitHub
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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Ali_

  • Semi-Newbie
  • *
  • Posts: 62
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: 71,200
    • StoryBB/StoryBB on GitHub
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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 50,969
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: 62
Re: Error in ./libraries/sql.lib.php#613
« Reply #5 on: April 19, 2019, 04:39:50 PM »
understood :)