Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Solve phpMyAdmin problem : "count(): Parameter must be an array or an object that implements Countable"

Status
Not open for further replies.

dexterdj

Extended Member
Ext. Member
Joined
Apr 15, 2020
Messages
4
Reaction score
3
Points
14
Location
France
** edited by moderator**
IF YOU MAKE DUPLICATE POSTS TO EARN LIKES, IT WILL BE EDITED SO YOU CANNOT EARN. YOU WILL ALSO GET YOUR LIKES REMOVED FOR BEING A BAD MEMBER


Hello,

In case of you installed phpMyAdmin on Ubuntu 18.04 you certainly have this error when opening xtream-ui tables :

"count(): Parameter must be an array or an object that implements Countable"

Here is how to solve :

[no THANKS]

Edit the library in error with nano :

Code:
     sudo nano /usr/share/phpmyadmin/libraries/sql.lib.php

Search for (Ctrl+W) this term : $analyzed_sql_results['select_expr']


Locate these rows :
Code:
((empty($analyzed_sql_results['select_expr']))
    || (count($analyzed_sql_results['select_expr'] == 1)
        && ($analyzed_sql_results['select_expr'][0] == '*')))

Replace with :
Code:
((empty($analyzed_sql_results['select_expr']))
    || (count($analyzed_sql_results['select_expr']) == 1)
        && ($analyzed_sql_results['select_expr'][0] == '*'))

Quit (Ctrl+X) and Save (Y)

[/no THANKS]


Problem solved !
 
First of all, THIS IS ALREADY POSTED!!!!
Secondy, you really should NOT use phpmyadmin!

 
Status
Not open for further replies.
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top