Title: Cannot Enable Block Editor
Last modified: July 23, 2020

---

# Cannot Enable Block Editor

 *  Resolved [mrwweb](https://wordpress.org/support/users/mrwweb/)
 * (@mrwweb)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/)
 * I have a site that has used TEC for years. We are now prepared to use the block
   editor for events, however, I cannot get it enabled.
 * **I have confirmed that “Activate Block Editor for Events” is checked but the
   Classic Editor still loads for Events.** I have disabled all plugins, deleted
   all mu-plugins, activated Twenty Twenty, and de-activated / re-activated the 
   plugin, but I still can’t load the block editor.
 * Are there any other circumstances in which the Block Editor will not load with
   the setting to enable it turned on? I am completely flummoxed and have no idea
   how to further troubleshoot this.
 * If it’s relevant, here are screenshots of my [Events and Display settings](https://cloudup.com/ca4Q97Tai60)
   and here’s a lightly redacted copy of the [status report](https://cloudup.com/caKuPBFa3sU).
   The site is hosted on WP Engine, and I’ve now experienced this problem both on
   the live site and development site. A near-identical local copy of the site is
   correctly using the Block Editor after I enabled that for testing about 6 weeks
   ago.
 * Site: WP Engine, WordPress 5.4.2, TEC 5.1.4, Twenty Twenty, No other plugins

Viewing 15 replies - 1 through 15 (of 34 total)

1 [2](https://wordpress.org/support/topic/cannot-enable-block-editor/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/cannot-enable-block-editor/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/cannot-enable-block-editor/page/2/?output_format=md)

 *  Thread Starter [mrwweb](https://wordpress.org/support/users/mrwweb/)
 * (@mrwweb)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13166690)
 * I don’t know how relevant this is, but I have a small update. I accidentally 
   left the block editor checkbox active in the Settings, assuming it wasn’t having
   any impact. Leaving this checkbox on prevented the editors from saving events
   with the correct date, location, and cost.
 *  [Jaime](https://wordpress.org/support/users/jaimemarchwinski/)
 * (@jaimemarchwinski)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13327627)
 * Hi [@mrwweb](https://wordpress.org/support/users/mrwweb/)
 * Thanks for the update, have you been able to resolve this issue with the Block
   Editor?
 * If not, can you ensure that you are using the most recent version of our plugin
   and WordPress and see if that helps?
 * I hope that helps!
 * Thanks,
    Jaime
 *  Thread Starter [mrwweb](https://wordpress.org/support/users/mrwweb/)
 * (@mrwweb)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13328199)
 * Hi [@jaimemarchwinski](https://wordpress.org/support/users/jaimemarchwinski/),
 * Thanks for getting back to me. This issue is not resolved.
 * I have updated everything. At this point, I have a site running only The Events
   Calendar with the Twenty Twenty Theme and the issue is the same.
 * TEC 5.1.6
    WP 5.5 Twenty Twenty 1.5 [Updated System Information](https://cloudup.com/iNLABYkvwa9)
 * At this point, I have to think that it’s a database issue, but I’m super confused
   how that could be. Possibly relevant, in the past, I have used WP-CFM to export
   and import TEC settings. However, that plugin is currently disabled and the issue
   is still going. I’ve also tried deleting and reinstalling TEC to no avail.
 *  [Jaime](https://wordpress.org/support/users/jaimemarchwinski/)
 * (@jaimemarchwinski)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13338328)
 * Hi [@mrwweb](https://wordpress.org/support/users/mrwweb/)
 * I’m sorry to hear that you are still experiencing this issue!
 * Does this happen if you create a fresh WordPress install with a default WordPress
   theme and just The Events Calendar installed?
 * Also, please enable WP_DEBUG and share any error messages that you may see.
 * Let me know how that goes!
 * Thanks,
    Jaime
 *  Thread Starter [mrwweb](https://wordpress.org/support/users/mrwweb/)
 * (@mrwweb)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13485899)
 * Hi [@jaimemarchwinski](https://wordpress.org/support/users/jaimemarchwinski/).
 * I just ran into this problem on another site that’s on a different host with 
   a different theme and substantially different plugins.
 * Just like last time, I have disabled all plugins except TEC (including mu-plugins),
   switched to Twenty Twenty, and still can’t enable the block editor.
 * This time the problem impacts both the local site (running on Local v5) and production(
   SiteGround). Previously, the problem was only on the production site (WP Engine)
   and not the local one (Local v5). This new site has never used WP-CFM for configuration
   management either unlike the first, so that would seem to rule that out.
 * `WP_DEBUG` has been on the entire time I’ve been troubleshooting and I’ve been
   unable to find any errors. With the TEC logging option on, that hasn’t turned
   up any issues either, just a line like this over and over:
 * > [02-Oct-2020 21:22:59 UTC] the-events-calendar/common – Log: Initializing Tribe
   > Events on Oct, 2nd at 09:10:59 pm
 * Some other things I’ve tried:
 * 1. I noticed that in the serialized Tribe settings in the database (`tribe_events_calendar_options`),
   the `toggle_blocks_editor` was true but `toggle_blocks_editor_hidden_field` was
   false (1 and 0 in the db). Updating that second option to true made no difference.
   
   2. I tried deleting the entire `tribe_events_calendar_options` setting so it 
   would be regenerated. Again, this didn’t make a difference in enabling the block
   editor once I checked the setting again. 3. I’ve tried logging the values of 
   the couple actions and filters that seem related to this (code below). Oddly,
   I’m not getting any error output on these.
 * I just set up a new site on Local and the Block Editor works when that setting
   is enabled.
 * **There seems to clearly be an issue where old sites cannot activate the block
   editor.**
 * Both of these sites have previously run the [Classic Editor](https://wordpress.org/plugins/classic-editor/)
   and [Classic Editor Add-On](https://wordpress.org/plugins/classic-editor-addon/)
   plugins but both were turned off well before this issue became apparent. I tried
   turning on the plugins on and off on my test site the block editor was available
   once the two plugins were off again.
 * What are the next steps to troubleshoot this?
 *  [Jaime](https://wordpress.org/support/users/jaimemarchwinski/)
 * (@jaimemarchwinski)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13493646)
 * Hi [@mrwweb](https://wordpress.org/support/users/mrwweb/)
 * Thanks for the update, I’m sorry to hear that you are still experiencing this
   issue.
 * Would you be able to provide me with your system information here?
    [https://theeventscalendar.com/knowledgebase/k/sharing-your-system-information/](https://theeventscalendar.com/knowledgebase/k/sharing-your-system-information/)
 * As far as your “old” site, what do you mean by that? Is the WordPress version
   up-to-date?
 * Let me know!
 * Thanks,
    Jaime
 *  Thread Starter [mrwweb](https://wordpress.org/support/users/mrwweb/)
 * (@mrwweb)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13494604)
 * Thanks for the quick reply, [@jaimemarchwinski](https://wordpress.org/support/users/jaimemarchwinski/).
   I’m eager to figure this out!
 * > As far as your “old” site, what do you mean by that? Is the WordPress version
   > up-to-date?
 * Sorry for not being clearer. Both sites that are having this problem are always
   kept up to date. I think I meant that it doesn’t seem to impact new installations,
   but sites that have been up for a long time and using TEC have this issue. I 
   could be wrong, about that, of course, but it’s a theory.
 * > Would you be able to provide me with your system information here?
 * Here’s the system info for the most recent site with this issue. It’s installed
   locally and in this state only has two plugins activated TEC and Query Monitor.
   It has the Twenty Twenty theme activated. The settings say to use the Block Editor
   but the Classic Editor appears on Events > Add New.
 *     ```
       Home URL
           https://[redacted].local
       Site URL
           https://[redacted].local
       Site Language
           English
       Character Set
           UTF-8
       Name
           Mark Root-Wiley
       Email
           [redacted]
       Install keys
           -
       WordPress version
           5.5.1
       Permalink Structure
           https://[redacted].local/%postname%/
       Your homepage displays
           page
       Homepage page ID
           4 (Home)
       PHP version
           7.3.5
       PHP
   
               max_execution_time = 1200
               memory_limit = 256M
               upload_max_filesize = 300M
               post_max_size = 1000M
               display_errors = 0
               log_errors = 1
   
       Server
           nginx
       SAPI
           cgi-fcgi
       Plugins
   
               Query Monitor version 3.6.4 by John Blackbourn (https://querymonitor.com/)
               The Events Calendar version 5.2.0 by Modern Tribe, Inc. (http://m.tri.be/1x)
   
       Network Plugins
           -
       MU Plugins
           -
       Theme
           Twenty Twenty
       Multisite
           -
       Settings
   
               did_init = 1
               tribeEventsTemplate =
               tribeEnableViews =
   
               Array
               (
                   [0] => list
                   [1] => month
                   [2] => day
               )
   
               viewOption = list
               schema-version = 5.2.0
               recurring_events_are_hidden = hidden
               previous_ecp_versions =
   
               Array
               (
                   [0] => 0
               )
   
               latest_ecp_version = 5.2.0
               views_v2_enabled = 1
               postsPerPage = 12
               monthEventAmount = 3
               earliest_date = 2016-10-12 09:00:00
               earliest_date_markers =
   
               Array
               (
                   [0] => 796
               )
   
               latest_date = 2018-11-27 23:59:59
               latest_date_markers =
   
               Array
               (
                   [0] => 4881
               )
   
               donate-link =
               toggle_blocks_editor = 1
               toggle_blocks_editor_hidden_field =
               showComments =
               disable_metabox_custom_fields = 1
               showEventsInMainLoop =
               eventsSlug = events
               singleEventSlug = event
               multiDayCutoff = 00:00
               defaultCurrencySymbol = $
               reverseCurrencyPosition =
               trash-past-events =
               delete-past-events =
               embedGoogleMaps = 1
               embedGoogleMapsZoom = 10
               debugEvents = 1
   
       WP Timezone
           America/Vancouver
       WP GMT Offset
           -7
       Default PHP Timezone
           UTC
       WP Date Format
           F j, Y
       WP Time Format
           g:i a
       Week Starts On
           1
       Common Library Dir
           [redacted]\wp-content\plugins\the-events-calendar/common/src/Tribe
       Common Library Version
           4.12.10 
       ```
   
 *  [Jaime](https://wordpress.org/support/users/jaimemarchwinski/)
 * (@jaimemarchwinski)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13498571)
 * Hi [@mrwweb](https://wordpress.org/support/users/mrwweb/)
 * Thanks for providing me with this information.
 * Can you try flushing your permalinks by going to Settings > Permalinks and Save
   Changes?
 * Can you also please enable [WP_DEBUG](https://wordpress.org/support/article/debugging-in-wordpress/)
   and share any error messages that you may see?
 * Let me know how that goes!
 * Thanks,
    Jaime
 *  Thread Starter [mrwweb](https://wordpress.org/support/users/mrwweb/)
 * (@mrwweb)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13499161)
 * [@jaimemarchwinski](https://wordpress.org/support/users/jaimemarchwinski/), updates:
 * > Can you try flushing your permalinks by going to Settings > Permalinks and 
   > Save Changes?
 * Tried that. Still see the classic editor.
 * > Can you also please enable WP_DEBUG and share any error messages that you may
   > see?
 * WP_DEBUG has been on the whole time I’ve been troubleshooting and I haven’t seen
   any errors on the Events editor screen or settings. I get the following on the
   Dashboard only:
 * >  PHP Notice: map_meta_cap was called **incorrectly**. The post type shop_order
   > is not registered, so it may not be reliable to check the capability “edit_post”
   > against a post of that type. Please see [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
   > for more information. (This message was added in version 4.4.0.) in \wp-includes\
   > functions.php on line 5225
   >  PHP Stack trace: PHP 1. {main}() \wp-admin\index.
   > php:0 PHP 2. wp_dashboard() \wp-admin\index.php:177 PHP 3. do_meta_boxes() \
   > wp-admin\includes\dashboard.php:246 PHP 4. wp_dashboard_site_activity() \wp-
   > admin\includes\template.php:1389 PHP 5. wp_dashboard_recent_comments() \wp-
   > admin\includes\dashboard.php:898 PHP 6. _wp_dashboard_recent_comments_row()\
   > wp-admin\includes\dashboard.php:1045 PHP 7. current_user_can() \wp-admin\includes\
   > dashboard.php:658 PHP 8. WP_User->has_cap() \wp-includes\capabilities.php:674
   > PHP 9. map_meta_cap() \wp-includes\class-wp-user.php:752 PHP 10. map_meta_cap()\
   > wp-includes\capabilities.php:402 PHP 11. _doing_it_wrong() \wp-includes\capabilities.
   > php:160 PHP 12. trigger_error() \wp-includes\functions.php:5225
   > PHP Notice: map_meta_cap was called **incorrectly**. The post type shop_order
   > is not registered, so it may not be reliable to check the capability “edit_post”
   > against a post of that type. Please see [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
   > for more information. (This message was added in version 4.4.0.) in \wp-includes\
   > functions.php on line 5225
   >  PHP Stack trace: PHP 1. {main}() \wp-admin\index.
   > php:0 PHP 2. wp_dashboard() \wp-admin\index.php:177 PHP 3. do_meta_boxes() \
   > wp-admin\includes\dashboard.php:246 PHP 4. wp_dashboard_site_activity() \wp-
   > admin\includes\template.php:1389 PHP 5. wp_dashboard_recent_comments() \wp-
   > admin\includes\dashboard.php:898 PHP 6. _wp_dashboard_recent_comments_row()\
   > wp-admin\includes\dashboard.php:1045 PHP 7. current_user_can() \wp-admin\includes\
   > dashboard.php:658 PHP 8. WP_User->has_cap() \wp-includes\capabilities.php:674
   > PHP 9. map_meta_cap() \wp-includes\class-wp-user.php:752 PHP 10. map_meta_cap()\
   > wp-includes\capabilities.php:402 PHP 11. _doing_it_wrong() \wp-includes\capabilities.
   > php:160 PHP 12. trigger_error() \wp-includes\functions.php:5225
 * Along with this from Query Monitor
 * >  Deprecated (Suppressed): Non-static method WP_Feed_Cache::create() should 
   > not be called statically
   >  wp-includes/SimplePie/Registry.php:214 SimplePie_Registry-
   > >call() wp-includes/class-simplepie.php:1412 SimplePie->init() wp-includes/
   > feed.php:821 fetch_feed() wp-includes/widgets.php:1493 wp_widget_rss_output()
   > wp-content/plugins/the-events-calendar/src/Tribe/Main.php:4089 Tribe__Events__Main-
   > >outputDashboardWidget() wp-admin/includes/template.php:1389 do_meta_boxes()
   > wp-admin/includes/dashboard.php:246 wp_dashboard() wp-admin/index.php:177
 * I’d be happy to set you up with access to a test site showing this issue.
 *  [Jaime](https://wordpress.org/support/users/jaimemarchwinski/)
 * (@jaimemarchwinski)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13503936)
 * Hi [@mrwweb](https://wordpress.org/support/users/mrwweb/)
 * Thanks for providing me with that information.
 * A test site showing this issue would be great!
 * Thanks for your patience here!
 *  Thread Starter [mrwweb](https://wordpress.org/support/users/mrwweb/)
 * (@mrwweb)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13504637)
 * Thanks, [@jaimemarchwinski](https://wordpress.org/support/users/jaimemarchwinski/).
   The site I can share is a private development site, so I’d like to not share 
   that in public. What’s the best way to share the address and a user login?
 *  [Jaime](https://wordpress.org/support/users/jaimemarchwinski/)
 * (@jaimemarchwinski)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13509273)
 * Hi [@mrwweb](https://wordpress.org/support/users/mrwweb/)
 * Not a problem. Feel free to email me at [jaime@tri.be](https://wordpress.org/support/topic/cannot-enable-block-editor/jaime@tri.be?output_format=md)
 * Let me know if you have any other questions in the meantime!
 * Thanks,
    Jaime
 *  [Jaime](https://wordpress.org/support/users/jaimemarchwinski/)
 * (@jaimemarchwinski)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13513835)
 * Hi [@mrwweb](https://wordpress.org/support/users/mrwweb/)
 * Thanks for sending that information to me.
 * I took a look at your site, but was immediately taken to a Fatal Error on your
   site related to your theme, so I was unable to access your site.
 * Can you try switching to a default WordPress theme and see if the error goes 
   away for now?
 * Thanks,
    Jaime
 *  Thread Starter [mrwweb](https://wordpress.org/support/users/mrwweb/)
 * (@mrwweb)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13514403)
 * [@jaimemarchwinski](https://wordpress.org/support/users/jaimemarchwinski/) My
   apologies. Somehow I installed Twenty Twenty but neglected to activate that. 
   It’s not active and you should have no problem getting in.
 *  [Jaime](https://wordpress.org/support/users/jaimemarchwinski/)
 * (@jaimemarchwinski)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/#post-13524548)
 * Hi [@mrwweb](https://wordpress.org/support/users/mrwweb/)
 * No worries, I just tried accessing your site but I keep getting a Bad Gateway
   error.
 * I will try again later, however in the meantime, I think the best solution would
   be to try recreating your site on a fresh WordPress install, as that seems to
   be a workable solution for now.
 * I’m sorry that I don’t have an easier solution for you at this time! Let me know
   if you have more questions here!
 * Thanks,
    Jaime

Viewing 15 replies - 1 through 15 (of 34 total)

1 [2](https://wordpress.org/support/topic/cannot-enable-block-editor/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/cannot-enable-block-editor/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/cannot-enable-block-editor/page/2/?output_format=md)

The topic ‘Cannot Enable Block Editor’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 34 replies
 * 8 participants
 * Last reply from: [Sky Shabatura](https://wordpress.org/support/users/skyshab/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/cannot-enable-block-editor/page/3/#post-15495944)
 * Status: resolved