Disabling Gutenberg don’t let edit with Elementor
-
Hello guys, i add a code snippet to disable entirely the Gutenberg editor on my site:
/* Disable Gutenberg Block Editor / add_filter(‘use_block_editor_for_post’, ‘__return_false’, 10); / Disable Widgets Block Editor */
add_filter( ‘use_widgets_block_editor’, ‘__return_false’ );But if i create a new page or post, when i click on the button Edit With Elementor nothing works. Disabling and reenabling all my plugins, i discovered that the issue come from Woocommerce. Can you please have a look? Thanks!!
-
Hi @jedi82
Thanks for reaching out!
I understand that you want to disable the Gutenberg editor on your site using the code above, however, you are unable to create a new page or post using Edit with Elementor, correct?
I’d like to understand your site properly, please share your System Status Report that you can find via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.If you could also provide the fatal error logs (if any) under
WooCommerce > Status > Logs
.Thanks!
WordPress Environment WordPress address (URL): https://* Site address (URL): https://* WC Version: 7.4.0 REST API Version: ?</img> 7.4.0 WC Blocks Version: ?</img> 9.4.3 Action Scheduler Version: ?</img> 3.5.4 Log Directory Writable: ?</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ?</img> Language: it_IT External object cache: – Server Environment Server Info: LiteSpeed PHP Version: 8.1.15 PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.84.0 OpenSSL/1.1.1p SUHOSIN Installed: – MySQL Version: 8.0.32 Max Upload Size: 256 MB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> Database WC Database Version: 7.4.0 WC Database Prefix: ***_ Dimensione totale database: 78.78MB Dimensione dati database: 72.21MB Dimensione indice database: 6.57MB k5mqa11d_woocommerce_sessions: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_api_keys: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_attribute_taxonomies: Dati: 0.01MB + indice: 0.01MB + motore MyISAM k5mqa11d_woocommerce_downloadable_product_permissions: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_order_items: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_order_itemmeta: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_tax_rates: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_tax_rate_locations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_shipping_zones: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_shipping_zone_locations: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_shipping_zone_methods: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_payment_tokens: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_payment_tokenmeta: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_woocommerce_log: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_actionscheduler_actions: Dati: 0.47MB + indice: 0.27MB + motore MyISAM k5mqa11d_actionscheduler_claims: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_actionscheduler_groups: Dati: 0.00MB + indice: 0.01MB + motore MyISAM k5mqa11d_actionscheduler_logs: Dati: 0.34MB + indice: 0.22MB + motore MyISAM k5mqa11d_ai_statistics: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_amz_amazon_cache: Dati: 7.52MB + indice: 0.06MB + motore InnoDB k5mqa11d_amz_amzkeys: Dati: 0.88MB + indice: 0.01MB + motore MyISAM k5mqa11d_amz_assets: Dati: 0.46MB + indice: 0.03MB + motore MyISAM k5mqa11d_amz_cross_sell: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_amz_import_stats: Dati: 0.47MB + indice: 0.16MB + motore InnoDB k5mqa11d_amz_locale_reference: Dati: 0.18MB + indice: 0.05MB + motore MyISAM k5mqa11d_amz_products: Dati: 0.02MB + indice: 0.03MB + motore MyISAM k5mqa11d_amz_queue: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_amz_report_log: Dati: 29.50MB + indice: 0.04MB + motore MyISAM k5mqa11d_amz_search: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_amz_sync_widget: Dati: 0.31MB + indice: 0.08MB + motore InnoDB k5mqa11d_amz_sync_widget_asins: Dati: 0.02MB + indice: 0.03MB + motore InnoDB k5mqa11d_commentmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB k5mqa11d_comments: Dati: 1.52MB + indice: 0.28MB + motore InnoDB k5mqa11d_e_events: Dati: 0.02MB + indice: 0.00MB + motore InnoDB k5mqa11d_e_notes: Dati: 0.02MB + indice: 0.17MB + motore InnoDB k5mqa11d_e_notes_users_relations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB k5mqa11d_e_submissions: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_e_submissions_actions_log: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_e_submissions_values: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_easywpsmtp_debug_events: Dati: 0.02MB + indice: 0.00MB + motore InnoDB k5mqa11d_easywpsmtp_tasks_meta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB k5mqa11d_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB k5mqa11d_ms_snippets: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_novashare_meta: Dati: 0.01MB + indice: 0.00MB + motore MyISAM k5mqa11d_options: Dati: 6.19MB + indice: 0.14MB + motore InnoDB k5mqa11d_postmeta: Dati: 16.52MB + indice: 3.03MB + motore InnoDB k5mqa11d_posts: Dati: 6.52MB + indice: 0.52MB + motore InnoDB k5mqa11d_snippets: Dati: 0.01MB + indice: 0.00MB + motore MyISAM k5mqa11d_subscribe_reloaded_subscribers: Dati: 0.02MB + indice: 0.02MB + motore InnoDB k5mqa11d_term_relationships: Dati: 0.17MB + indice: 0.16MB + motore InnoDB k5mqa11d_term_taxonomy: Dati: 0.16MB + indice: 0.22MB + motore InnoDB k5mqa11d_termmeta: Dati: 0.09MB + indice: 0.13MB + motore InnoDB k5mqa11d_terms: Dati: 0.19MB + indice: 0.23MB + motore InnoDB k5mqa11d_usermeta: Dati: 0.05MB + indice: 0.03MB + motore InnoDB k5mqa11d_users: Dati: 0.02MB + indice: 0.05MB + motore InnoDB k5mqa11d_wc_admin_note_actions: Dati: 0.02MB + indice: 0.01MB + motore MyISAM k5mqa11d_wc_admin_notes: Dati: 0.04MB + indice: 0.00MB + motore MyISAM k5mqa11d_wc_category_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wc_customer_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wc_download_log: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wc_order_coupon_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wc_order_product_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wc_order_stats: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wc_order_tax_lookup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wc_product_attributes_lookup: Dati: 0.20MB + indice: 0.31MB + motore InnoDB k5mqa11d_wc_product_download_directories: Dati: 0.02MB + indice: 0.02MB + motore InnoDB k5mqa11d_wc_product_meta_lookup: Dati: 0.01MB + indice: 0.03MB + motore MyISAM k5mqa11d_wc_rate_limits: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wc_reserved_stock: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wc_tax_rate_classes: Dati: 0.00MB + indice: 0.01MB + motore MyISAM k5mqa11d_wc_webhooks: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wpfm_backup: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wpr_rocket_cache: Dati: 0.11MB + indice: 0.14MB + motore InnoDB k5mqa11d_wpr_rucss_used_css: Dati: 0.00MB + indice: 0.00MB + motore MyISAM k5mqa11d_wpvivid_options: Dati: 0.02MB + indice: 0.02MB + motore InnoDB Post Type Counts attachment: 1316 customize_changeset: 1 custom_css: 3 elementor_icons: 1 elementor_library: 43 ig_campaign: 1 ig_message: 8 nav_menu_item: 45 oembed_cache: 1 opanda-item: 2 page: 84 popup: 1 popup_theme: 6 post: 78 product: 158 product_variation: 4 revision: 69 safecss: 1 saswp: 2 wp_global_styles: 1 Security Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> Active Plugins (19) Ad Inserter Pro: by Ad Inserter Pro – 2.7.24 All-in-One WP Migration: by ServMask – 7.71 The SEO Framework: by The SEO Framework Team – 4.2.7.1 Cloudflare: by Cloudflare Inc. – 4.11.0 Code Snippets: by Code Snippets Pro – 3.2.2 Easy WP SMTP: by Easy WP SMTP – 2.0.1 Elementor Pro: by Elementor.com – 3.11.1 Elementor: by Elementor.com – 3.11.1 Forget Spam Comment: by Gulshan Kumar – 1.0.9 JetTabs For Elementor: by Crocoblock – 2.1.20 Novashare: by forgemedia – 1.3.8 Perfmatters: by forgemedia – 2.0.5 Subscribe to Comments Reloaded: by WPKube – 220725 SVG Support: by Benbodhi – 2.5.5 WooCommerce: by Automattic – 7.4.0 WZone - WooCommerce Amazon Affiliates: by AA-Team – 13.8.4 WP Rocket: by WP Media – 3.12.5.3 WPFront Scroll Top: by Syam Mohan – 2.0.7.08086 WPvivid Backup Plugin: by WPvivid Team – 0.9.82 Inactive Plugins (0) Dropin Plugins (1) advanced-cache.php: advanced-cache.php Must Use Plugins (1) Perfmatters MU: by forgemedia – 2.0.5 Settings API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: – Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #16205 - /negozio/ Carrello: #16206 - /carrello/ Pagamento: #16207 - /pagamento/ Il mio account: #16208 - /mio-account/ Termini e condizioni: ?</img> La pagina non è impostata Theme Name: Astra Version: 4.0.2 Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme Child Theme: ?</img> – Se stai modificando WooCommerce o un tema genitore che non hai costruito personalmente ti consigliamo di utilizzare un tema child. Vedi: Come creare un tema child WooCommerce Support: ?</img> Templates Overrides: – Admin Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation new-product-management-experience onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js product-variation-management settings Daily Cron: ?</img> Next scheduled: 2023-02-21 13:42:28 +01:00 Options: ?</img> Notes: 92 Onboarding: completed Action Scheduler Completato: 63 Oldest: 2023-02-14 19:35:47 +0100 Newest: 2023-02-20 13:49:52 +0100 Operazione non riuscita: 18 Oldest: 2022-11-02 15:15:02 +0100 Newest: 2023-02-15 07:58:18 +0100 In attesa: 1 Oldest: 2023-02-21 13:49:52 +0100 Newest: 2023-02-21 13:49:52 +0100 Status report information Generated at: 2023-02-20 15:08:11 +01:00 `
Here you are guys and I have lo errors on the log file. I never received an error, the elementor editor simply won’t load ??
Hi @jedi82 ,
Thanks for sharing the System Status Report!
I have tried to reproduce the issue on my test site, without success.
After adding the code you have share, to my site, I was able to add a new page and successfully click on “Edit with Elementor”, while WooCommerce was active on my site.
Please could you share a screenshot of what you are seeing on your end when clicking the “Edit with Elementor” button?
Snipboard.io?can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.
Additionally, please can you share a link to where you found the code in question.
Cheers
Don’t worry I will figure it out!!
- The topic ‘Disabling Gutenberg don’t let edit with Elementor’ is closed to new replies.