Title: Fatal Error, cannot edit posts
Last modified: July 28, 2021

---

# Fatal Error, cannot edit posts

 *  Resolved [Edith Allison](https://wordpress.org/support/users/terragirl/)
 * (@terragirl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-edit-posts/)
 * 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](https://wordpress.org/support/users/kprovance/)
 * (@kprovance)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-edit-posts/#post-14709465)
 * Are you using Gutenberg or the classic editor?
 *  Thread Starter [Edith Allison](https://wordpress.org/support/users/terragirl/)
 * (@terragirl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-edit-posts/#post-14709499)
 * 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](https://wordpress.org/support/users/kprovance/)
 * (@kprovance)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-edit-posts/#post-14709516)
 * Could you let me know what that error said?
 *  Thread Starter [Edith Allison](https://wordpress.org/support/users/terragirl/)
 * (@terragirl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-edit-posts/#post-14709555)
 * 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](https://wordpress.org/support/users/terragirl/)
 * (@terragirl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-edit-posts/#post-14709572)
 * 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.
 *  [favethemes](https://wordpress.org/support/users/favethemes/)
 * (@favethemes)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-edit-posts/#post-14709714)
 * 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](https://wordpress.org/support/users/kprovance/)
 * (@kprovance)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-edit-posts/#post-14709905)
 * Version 4.2.8 has been deployed and will fix the change issues.
 *  Thread Starter [Edith Allison](https://wordpress.org/support/users/terragirl/)
 * (@terragirl)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-edit-posts/#post-14710189)
 * thank you, I’ve updated to 4.2.9 and that’s working for me
    -  This reply was modified 4 years, 10 months ago by [Edith Allison](https://wordpress.org/support/users/terragirl/).

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Fatal Error, cannot edit posts’ is closed to new replies.

 * ![](https://ps.w.org/redux-framework/assets/icon.svg?rev=2889347)
 * [Redux Framework](https://wordpress.org/plugins/redux-framework/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redux-framework/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redux-framework/)
 * [Active Topics](https://wordpress.org/support/plugin/redux-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redux-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redux-framework/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Edith Allison](https://wordpress.org/support/users/terragirl/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-edit-posts/#post-14710189)
 * Status: resolved