Weird problem with Phpmyadmin

Discussion in 'General' started by fabioganga, Jul 26, 2019.

  1. fabioganga

    fabioganga New Member

    Dear friends,
    I am having a quite weird problem as soon as I have added my first MySQL database.
    From within Phpmyadmin as soon as I click on the database to import the data, I get a warning at the bottom:

    Warning
    in ./libraries/plugin_interface.lib.php#551
    [​IMG] count(): Parameter must be an array or an object that implements Countable

    Backtrace

    ./libraries/display_import.lib.php#371: PMA_pluginGetOptions(
    string 'Import',
    array,
    )
    ./libraries/display_import.lib.php#456: PMA_getHtmlForImportOptionsFormat(array)
    ./libraries/display_import.lib.php#691: PMA_getHtmlForImport(
    string '5d3b45e0dedf1',
    string 'server',
    string '',
    string '',
    integer 2097152,
    array,
    NULL,
    NULL,
    string '',
    )
    ./server_import.php#34: PMA_getImportDisplay(
    string 'server',
    string '',
    string '',
    integer 2097152,
    )

    I have Googled for the error message but I don't seem to find anything useful. Can anyone please help?
    Many thanks.
     
  2. fabioganga

    fabioganga New Member

  3. jtomelevage

    jtomelevage New Member

    Hello,
    I had the same error and used this solution that worked for me. Scroll to the import/export section halfway down the page.
    https://devanswers.co/problem-php-7-2-phpmyadmin-warning-in-librariessql-count/

    Hope this helps.
     
  4. fabioganga

    fabioganga New Member

    Thanks @jtomelevage the procedure is pretty much identical to what I posted. Problem fixed! :)
     

Share This Page