MARLENE
MARLENE

Reputation: 11

Warning in .\libraries\plugin_interface.lib.php#532

I've the 3.1.0. of uWAMP - Php version 7.2.7

mysql 5.7.11

When I want export my Data bsae with PhpAdmin ,I've this error

Warning in .\libraries\plugin_interface.lib.php#532

How to resolve this error . Thanks for you help. Exuse me for my english Marlène

Upvotes: 1

Views: 2692

Answers (1)

Tioneb
Tioneb

Reputation: 21

Edit file /usr/share/phpmyadmin/libraries/plugin_interface.lib.php :

 sudo nano /usr/share/phpmyadmin/libraries/plugin_interface.lib.php

search for :

if ($options != null && *count($options)* > 0) {

replace with :

if ($options != null && *count(**(array)**$options)* > 0) {

then restart apache service :

sudo service apache2 restart

That's because you can now only count() on an array [php >= 7.2], and $options is not explicitly an array, so you sort of have to cast it into.

If you had this issue, you may also be interested in this post : Warning in ./libraries/sql.lib.php#601

Upvotes: 2

Related Questions