• Resolved kasjuni

    (@kasjuni)


    Hi, I just tried to activate woocommerce blocks but it instantly redirect on an error page, saying there was a fatal error whith my website.

    I use oceanwp pro theme. Are you familiar whith this issue?

    I only can access my front end website on debug mode. No access to backend… need help asap. Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Adam Heckler

    (@adamkheckler)

    Hi there!

    First, can you let us know the exact error message you’re seeing? You or your hosting provider should be able to find it by looking at the logs. Knowing the exact error being thrown will be helpful in solving this.

    Second, you can try manually deleting the WooCommerce Blocks plugin by using FTP, SFTP, or SSH (ask your host for help if this isn’t familiar to you) and deleting this folder:

    wp-content/plugins/woo-gutenberg-products-block

    If the error is caused by our Blocks plugin, deleting it should stop the error and let the site come back online.

    Let me know if that works. Thanks!

    Thread Starter kasjuni

    (@kasjuni)

    Hi, thanks a lot for your reply. I contacted my hosting provider and he desactivate the plugin. Everything works now.

    However, I really want to have a try with this plugin… Do you know if I can manage to make it work?

    Regards

    Plugin Support Madison a11n

    (@madisoncm)

    Hi there!

    Glad to hear your site is back up and running!

    If you can provide us with the fatal error message you got, we would be able to better understand why it was occurring and the best way to proceed. You can also try reinstalling and then note the error if it happens again.

    Let us know!

    Thread Starter kasjuni

    (@kasjuni)

    Hi, my host provider sent me a mail explaining me the problem (in French.. so I try to translate for you) and it mentioned this error below:

    WordPress version 5.8
    Thème actuel : OceanWP (version 2.0.8)
    Extension actuelle : WooCommerce Blocks (version 5.7.0)
    PHP version 7.4.22

    Détails de l’erreur (error details)
    ======================
    Une erreur de type (an error of type) E_ERROR a été causée dans la ligne 89 du fichier (was caused in lign 89 because of the file) /home/kxil1644/public_html/wp-content/plugins/woo-gutenberg-products-block/src/Registry/Container.php. Message d’erreur : Uncaught Exception: Cannot construct an instance of Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry because it has not been registered. in /home/kxil1644/public_html/wp-content/plugins/woo-gutenberg-products-block/src/Registry/Container.php:89
    Stack trace:
    #0 /home/kxil1644/public_html/wp-content/plugins/woo-stripe-payment/packages/blocks/src/Config.php(65): Automattic\WooCommerce\Blocks\Registry\Container->get(‘Automattic\\WooC…’)
    #1 /home/kxil1644/public_html/wp-content/plugins/woo-gutenberg-products-block/src/Registry/AbstractDependencyType.php(42): PaymentPlugins\Blocks\Stripe\Config->PaymentPlugins\Blocks\Stripe\{closure}(Object(Automattic\WooCommerce\Blocks\Registry\Container))
    #2 /home/kxil1644/public_html/wp-content/plugins/woo-gutenberg-products-block/src/Registry/SharedType.php(28): Automattic\WooCommerce\Blocks\Registry\AbstractDependencyType->resolve_value(Object(Automattic\WooCommerce\Blocks\Registry\Container))
    #3 /home/kxil1644/public_html/wp-content/plugins/woo-gutenberg-products-bloc`

    Hi again @kasjuni!

    Based on that error, it looks like there’s an issue with woo-stripe-payment.
    Which Stripe plugin are you using on your site?

    Thread Starter kasjuni

    (@kasjuni)

    Hi, thanks for your reply.

    I don’t use any plugin for it. I just activated and configured it directly in payment in woocommerce settings. Do you think it is the problem ?

    Can you send me a copy of your site’s system status report? You can find that at: WP Dashboard > WooCommerce > Status > 'Get system report'

    Thread Starter kasjuni

    (@kasjuni)

    Sure 🙂 Here it is:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://secondeavenue.fr
    Site address (URL): https://secondeavenue.fr
    WC Version: 5.3.1
    REST API Version: ✔ 5.3.1
    WC Blocks Version: ✔ 4.9.1
    Action Scheduler Version: ✔ 3.2.1
    WC Admin Version: ✔ 2.2.6
    Log Directory Writable: ✔
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 512 Mo
    WP Debug Mode: –
    WP Cron: ✔
    Language: fr_FR
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.22
    PHP Post Max Size: 512 Mo
    PHP Time Limit: 360
    PHP Max Input Vars: 250000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.12-MariaDB
    Max Upload Size: 512 Mo
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 5.3.1
    WC Database Prefix: wpkg_
    Taille totale de la base de données: 51.15MB
    Taille de la base de données: 44.96MB
    Taille de l’index: 6.19MB
    wpkg_woocommerce_sessions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wpkg_woocommerce_order_items: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_woocommerce_order_itemmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_woocommerce_tax_rates: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wpkg_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wpkg_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wpkg_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_woocommerce_payment_tokenmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_actionscheduler_actions: Données : 0.06MB + Index : 0.13MB + Moteur InnoDB
    wpkg_actionscheduler_claims: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_actionscheduler_groups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_actionscheduler_logs: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_ce4wp_abandoned_checkout: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_comments: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB
    wpkg_e_submissions: Données : 0.02MB + Index : 0.27MB + Moteur InnoDB
    wpkg_e_submissions_actions_log: Données : 0.02MB + Index : 0.11MB + Moteur InnoDB
    wpkg_e_submissions_values: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_lws_wr_achieved_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_lws_wr_historic: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_options: Données : 5.05MB + Index : 0.06MB + Moteur InnoDB
    wpkg_postmeta: Données : 24.33MB + Index : 3.66MB + Moteur InnoDB
    wpkg_posts: Données : 14.20MB + Index : 0.55MB + Moteur InnoDB
    wpkg_termmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_term_relationships: Données : 0.25MB + Index : 0.11MB + Moteur InnoDB
    wpkg_term_taxonomy: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_tinvwl_analytics: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_tinvwl_items: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wpkg_tinvwl_lists: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wpkg_usermeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_users: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wpkg_wc_admin_notes: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wpkg_wc_admin_note_actions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_wc_category_lookup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wpkg_wc_customer_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_wc_download_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_wc_order_coupon_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_wc_order_product_lookup: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    wpkg_wc_order_stats: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    wpkg_wc_order_tax_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    wpkg_wc_product_meta_lookup: Données : 0.09MB + Index : 0.13MB + Moteur InnoDB
    wpkg_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wpkg_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_wc_webhooks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    wpkg_wpforms_tasks_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wpkg_wpmailsmtp_debug_events: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    wpkg_wpmailsmtp_tasks_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    
    ### Post Type Counts ###
    
    attachment: 1530
    custom_css: 2
    customize_changeset: 14
    e-landing-page: 2
    elementor_library: 74
    lws-wre-event: 4
    lws-wre-pool: 1
    lws-wre-unlockable: 1
    nav_menu_item: 25
    oceanwp_library: 3
    page: 21
    post: 2
    product: 717
    revision: 1109
    shop_coupon: 1
    shop_order: 1
    wpforms: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (19) ###
    
    annasta Woocommerce Product Filters: par annasta.net – 1.4.6
    Creative Mail by Constant Contact: par Constant Contact – 1.3.9
    Elementor Pro: par Elementor.com – 3.2.2
    Elementor: par Elementor.com – 3.2.4
    Ocean Demo Import: par OceanWP – 1.0.11
    Ocean Elementor Widgets: par OceanWP – 1.3.0
    Ocean Extra: par OceanWP – 1.7.5
    Ocean Footer Callout: par OceanWP – 1.1.0
    Ocean Popup Login: par OceanWP – 1.2.0
    Ocean Pro Demos: par OceanWP – 1.1.9
    Ocean Product Sharing: par OceanWP – 1.1.1
    Ocean Sticky Header: par OceanWP – 1.2.0
    TI WooCommerce Wishlist: par TemplateInvaders – 1.25.5
    Stripe For WooCommerce: par Payment Plugins
    [email protected] – 3.3.3
    
    WooCommerce: par Automattic – 5.3.1 (une mise à jour de la version 5.6.0 est disponible)
    MyRewards: par Long Watch Studio – 4.2.9
    WP Mail SMTP: par WPForms – 3.0.3
    WP Reset: par WebFactory Ltd – 1.90
    WPForms Lite: par WPForms – 1.6.7
    
    ### Inactive Plugins (3) ###
    
    Classic Editor: par WordPress Contributors – 1.6
    WooCommerce Blocks: par Automattic – 5.7.0
    WooCommerce Stripe Gateway: par WooCommerce – 5.2.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    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: –
    
    ### WC Pages ###
    
    Base de la boutique: #14 - /shop/
    Panier: #15 - /cart/
    Commander: #16 - /checkout/
    Mon compte: #17 - /my-account/
    Conditions générales de vente et d’utilisation: ❌ Page non définie
    
    ### Theme ###
    
    Name: OceanWP
    Version: 2.0.8 (une mise à jour de la version 3.0.5 est disponible)
    Author URL: https://oceanwp.org/about-me/
    Child Theme: ❌ – Si vous modifiez WooCommerce sur un thème parent que vous n’avez pas construit personnellement
    nous vous recommandons d’utiliser un thème enfant. Voir : Comment créer un thème enfant
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: oceanwp/woocommerce/cart/mini-cart.php
    oceanwp/woocommerce/content-single-product.php
    oceanwp/woocommerce/loop/loop-start.php
    oceanwp/woocommerce/single-product/title.php
    
    ### Modèles TI WooCommerce Wishlist ###
    
    Remplacements: –
    
    ### Action Scheduler ###
    
    Complete: 77
    Oldest: 2021-08-05 10:29:27 +0200
    Newest: 2021-08-30 20:54:14 +0200
    
    Pending: 6
    Oldest: 2021-08-31 01:23:21 +0200
    Newest: 2021-09-06 14:31:31 +0200
    
    ### Status report information ###
    
    Generated at: 2021-08-30 22:27:06 +02:00
    
    Plugin Support nathvi V. a11n

    (@nathvi)

    Hello @kasjuni

    Thanks for that!

    After checking the System Status Report I can see you are using a third party Stripe plugin:

    Stripe For WooCommerce: par Payment Plugins
    [email protected] – 3.3.3

    While the one developed by WooCommerce is deactivated:

    ### Inactive Plugins (3) ###
    
    Classic Editor: par WordPress Contributors – 1.6
    WooCommerce Blocks: par Automattic – 5.7.0
    WooCommerce Stripe Gateway: par WooCommerce – 5.2.0

    Have you tried disabling the active Stripe plugin and enabling WooCommerce Blocks one more time?

    You can clone your site to a staging environment and perform tests without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging: https://ww.wp.xz.cn/plugins/wp-staging/ plugin.

    Let us know how this goes.

    Thread Starter kasjuni

    (@kasjuni)

    Hi, thanks for all infos. It works for now 🙂

    Do you know if I can translate some of texte in checkout and cart blocks ?

    Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi there,

    Hi, thanks for all infos. It works for now 🙂

    I’m glad to hear that! 🙂

    Do you know if I can translate some of texte in checkout and cart blocks ?

    Assistance with translations is somewhat outside of the scope of support we are usually able to provide and it looks like plugins like Loco Translate are unable to translate strings in the cart/checkout block.

    Translations like these are discussed in this forum thread:

    https://ww.wp.xz.cn/support/topic/woocommerce-blocks-language/

    https://developer.ww.wp.xz.cn/apis/handbook/internationalization/#internationalizing-javascript

    I hope this helps!

    Thread Starter kasjuni

    (@kasjuni)

    Thanks a lot!

    Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi @kasjuni,

    I’m glad if I could point you in the right direction with this!

    I’ll be marking this thread as resolved but feel free to open a new thread and link to this one if you have further questions.

    Have a wonderful day ahead!

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

The topic ‘Fatal error when activating extension’ is closed to new replies.