• Resolved mide666

    (@mide666)


    Fatal error: Uncaught TypeError: array_key_exists() expects parameter 2 to be array, bool given in /wordpress/wp-content/plugins/wp-phpmyadmin-extension/index.php:487

    Stack Trace
    1. array_key_exists(‘better-wp-secur…’, false)/wordpress/wp-content/plugins/wp-phpmyadmin-extension/index.php:487
    2. WpPhpMyAdminExtension\PluginClass->opts_page_output()/wordpress/wp-content/plugins/wp-phpmyadmin-extension/library_default_puvox.php:8544
    3. Puvox\default_plugin->opts_page_output_parent(”)/wordpress/wp-includes/class-wp-hook.php:303
    7. {main}
    thrown in /wordpress/wp-content/plugins/wp-phpmyadmin-extension/index.php on line 487

    Version 5.1.1.03
    Wordpress: 5.8

    Fix:
    Replace line 487 with:
    <?php if (is_plugin_active('better-wp-security') || (is_array(get_site_option('active_sitewide_plugins')) && array_key_exists('better-wp-security/better-wp-security.php', get_site_option('active_sitewide_plugins'))) ) echo '<br/> <b style="color:red;">(Note: Seems you are using iThemes Security, which places specific restriction in htaccess. So,you might need to turn of setting : Security > Settings > System Tweaks > PHP in Plugins, othewise you might be restricted to enter PMA)</b>';?>

    Best
    Michael`

    • This topic was modified 3 years, 7 months ago by mide666.
    • This topic was modified 3 years, 7 months ago by mide666.
Viewing 1 replies (of 1 total)
  • Plugin Author ttodua

    (@ttodua)

    Thank you Michael for reporting the issue! You have been right, on sites with disabled MS seemed to have issues. Fixed at this moment, please install latest update.

Viewing 1 replies (of 1 total)
  • The topic ‘Exception in Version 5.1.1.03’ is closed to new replies.