• Resolved Edith Allison

    (@terragirl)


    Upgraded to version 2.4.6 but still getting this error: There has been a critical error on this website.

    Error log shows:

    [28/07/2021:09:35:24 +0100] AH01071: Got error 'PHP message: PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /var/www/html/wp-admin/includes/menu.php on line 280PHP message: PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /var/www/html/wp-admin/includes/menu.php on line 281PHP message: PHP Fatal error: Uncaught TypeError: Return value of Redux_Instances::get_all_instances() must be of the type array, null returned in /var/www/html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-instances.php:62\nStack trace:\n#0 /var/www/html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-api.php(203): Redux_Instances::get_all_instances()\n#1 /var/www/html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-functions.php(165): Redux::all_instances()\n#2 /var/www/html/wp-content/plugins/redux-framework/redux-templates/classes/class-init.php(92): Redux_Functions::is_min()\n#3 /var/www/html/wp-includes/class-wp-hook.php(303): ReduxTemplate

    Site is WP multisite.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Kev Provance

    (@kprovance)

    Are you using Gutenberg or the classic editor?

    Thread Starter Edith Allison

    (@terragirl)

    Gutenberg editor

    I’m also not sure why Redux is installed, the page under Tools > Redux that gives “health info” also had a fatal error, so currently no idea why it’s there. Could be the “WP Sheet Editor” plugin but their support is currently offline.

    Plugin Author Kev Provance

    (@kprovance)

    Could you let me know what that error said?

    Thread Starter Edith Allison

    (@terragirl)

    Same error message

    PHP Fatal error: Uncaught TypeError: Return value of Redux_Instances::get_all_instances() must be of the type array, null returned in /var/www/html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-instances.php:62\nStack trace:\n#0 /var/www/html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-helpers.php(960): Redux_Instances::get_all_instances()\n#1 /var/www/html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-helpers.php(1117): Redux_Helpers::get_request_headers()\n#2 /var/www/html/wp-content/plugins/redux-framework/redux-core/inc/welcome/views/health-report.php(34): Redux_Helpers::compile_system_status(false, true)\n#3 /var/www/html/

    Thread Starter Edith Allison

    (@terragirl)

    I’ve upgraded to 4.2.7 but still same issue. On my staging site I can see the following error:

    Fatal error: Uncaught Error: Return value of Redux_Instances::get_all_instances() must be of the type array, null returned
    in .../wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-instances.php on line 62
    
    Call stack:
    
        Redux_Instances::get_all_instances()
        wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-helpers.php:960
        Redux_Helpers::get_request_headers()
        wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-helpers.php:1117
        Redux_Helpers::compile_system_status()
        wp-content/plugins/redux-framework/redux-core/inc/welcome/views/health-report.php:34
        require_once()
        wp-content/plugins/redux-framework/redux-core/inc/welcome/class-redux-welcome.php:265
        Redux_Welcome::heath_check()
        wp-includes/class-wp-hook.php:303
        WP_Hook::apply_filters()
        wp-includes/class-wp-hook.php:327
        WP_Hook::do_action()
        wp-includes/plugin.php:470
        do_action()
        wp-admin/admin.php:259
        require_once()
        wp-admin/tools.php:40

    We are running WP multisite if that makes a difference.

    Same error

    Fatal error: Uncaught Error: Redux_Instances::get_all_instances(): Return value must be of type array, null returned
    in /Applications/MAMP/htdocs/shopelywp/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-instances.php on line 62
    
    Call stack:
    
    Redux_Instances::get_all_instances()
    wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-api.php:203
    Redux::all_instances()
    wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-functions.php:165
    Redux_Functions::is_min()
    wp-content/plugins/redux-framework/redux-templates/classes/class-init.php:92
    ReduxTemplates\Init::editor_assets()
    wp-includes/class-wp-hook.php:303
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:327
    WP_Hook::do_action()
    wp-includes/plugin.php:470
    do_action()
    wp-admin/edit-form-blocks.php:252
    require()
    wp-admin/post-new.php:72
    Plugin Author Kev Provance

    (@kprovance)

    Version 4.2.8 has been deployed and will fix the change issues.

    Thread Starter Edith Allison

    (@terragirl)

    thank you, I’ve updated to 4.2.9 and that’s working for me

    • This reply was modified 3 years, 4 months ago by Edith Allison.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal Error, cannot edit posts’ is closed to new replies.