• Resolved yoursinhealth

    (@yoursinhealth)


    Hi

    I upgraded wordpress to 5.4.1 and WooCommerce blocks for the Gutenberg editor version 2.6.0 and various other plugins.
    Now I am getting a fatal error message

    An error of type E_ERROR was caused in line 70 of the file /homepages/41/d763445528/htdocs/wp-content/plugins/woo-gutenberg-products-block/src/Domain/Bootstrap.php. Error message: Uncaught Error: Call to undefined method WooCommerce::is_rest_api_request() in /homepages/41/d763445528/htdocs/wp-content/plugins/woo-gutenberg-products-block/src/Domain/Bootstrap.php:70 Stack trace: #0 /homepages/41/d763445528/htdocs/wp-content/plugins/woo-gutenberg-products-block/src/Domain/Bootstrap.php(53): Automattic\WooCommerce\Blocks\Domain\Bootstrap->init() #1 /homepages/41/d763445528/htdocs/wp-content/plugins/woo-gutenberg-products-block/src/Package.php(99): Automattic\WooCommerce\Blocks\Domain\Bootstrap->__construct(Object(Automattic\WooCommerce\Blocks\Registry\Container)) #2 /homepages/41/d763445528/htdocs/wp-content/plugins/woo-gutenberg-products-block/src/Registry/AbstractDependencyType.php(48): Automattic\WooCommerce\Blocks\Package::Automattic\WooCommerce\Blocks\{closure}(Object(Automattic\WooCommerce\Blocks\Registry\Container)) #3 /homepages/41/d763445528/htdocs/wp-content/plugins/woo-gutenberg-products-block/src/Registry/SharedType.php(34): Automattic\WooCommerce\Blocks\Registry\AbstractDepend

    This is the system log

    
    ### WordPress Environment ###
    
    Home URL: https://yoursinhealth.co.uk
    Site URL: https://yoursinhealth.co.uk
    WC Version: 3.5.4
    Log Directory Writable: ?
    WP Version: 5.4.1
    WP Multisite: –
    WP Memory Limit: ? 40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.2.30
    PHP Post Max Size: 64 MB
    PHP Time Limit: 50000
    PHP Max Input Vars: 5000
    cURL Version: 7.38.0
    OpenSSL/1.0.1t
    
    SUHOSIN Installed: –
    MySQL Version: ? 5.5.60-0+deb7u1-log - We recommend a minimum MySQL version of 5.6. See: WordPress requirements
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.5.4
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ?
    Total Database Size: 12.73MB
    Database Data Size: 11.55MB
    Database Index Size: 1.18MB
    wp_woocommerce_sessions: Data: 4.49MB + Index: 0.19MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wp_actionscheduler_actions: Data: 0.00MB + Index: 0.02MB
    wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB
    wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB
    wp_actionscheduler_logs: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.00MB + Index: 0.00MB
    wp_comments: Data: 0.00MB + Index: 0.01MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 1.03MB + Index: 0.05MB
    wp_postmeta: Data: 0.35MB + Index: 0.11MB
    wp_posts: Data: 0.59MB + Index: 0.04MB
    wp_termmeta: Data: 0.02MB + Index: 0.02MB
    wp_terms: Data: 0.02MB + Index: 0.06MB
    wp_term_relationships: Data: 0.02MB + Index: 0.05MB
    wp_term_taxonomy: Data: 0.03MB + Index: 0.03MB
    wp_usermeta: Data: 0.01MB + Index: 0.01MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB
    wp_wfblockediplog: Data: 0.01MB + Index: 0.01MB
    wp_wfblocks7: Data: 0.01MB + Index: 0.01MB
    wp_wfconfig: Data: 1.14MB + Index: 0.01MB
    wp_wfcrawlers: Data: 0.00MB + Index: 0.00MB
    wp_wffilechanges: Data: 0.00MB + Index: 0.00MB
    wp_wffilemods: Data: 1.02MB + Index: 0.23MB
    wp_wfhits: Data: 2.10MB + Index: 0.13MB
    wp_wfhoover: Data: 0.00MB + Index: 0.00MB
    wp_wfissues: Data: 0.02MB + Index: 0.01MB
    wp_wfknownfilelist: Data: 0.51MB + Index: 0.07MB
    wp_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB
    wp_wflocs: Data: 0.01MB + Index: 0.00MB
    wp_wflogins: Data: 0.02MB + Index: 0.01MB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB
    wp_wfnotifications: Data: 0.00MB + Index: 0.00MB
    wp_wfpendingissues: Data: 0.00MB + Index: 0.00MB
    wp_wfreversecache: Data: 0.00MB + Index: 0.00MB
    wp_wfsnipcache: Data: 0.00MB + Index: 0.00MB
    wp_wfstatus: Data: 0.11MB + Index: 0.05MB
    wp_wftrafficrates: Data: 0.00MB + Index: 0.00MB
    wp_wpforms_tasks_meta: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 74
    nav_menu_item: 31
    page: 10
    post: 27
    product: 40
    revision: 87
    shop_order: 5
    wpcf7_contact_form: 1
    wpforms: 1
    yith-wcbm-badge: 1
    yith-wccos-ostatus: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (18) ###
    
    All In One SEO Pack: by All in One SEO Team – 3.5.2
    Classic Editor: by WordPress Contributors – 1.5
    Coming Soon Page, Under Construction & Maintenance Mode by SeedProd: by SeedProd – 5.1.0
    Contact Form 7: by Takayuki Miyoshi – 5.1.9
    Kadence Blocks - Gutenberg Page Builder Toolkit: by Kadence WP – 1.8.5
    Really Simple SSL: by Rogier Lankhorst
    Mark Wolters – 3.3.3
    
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.3
    Page Builder by SiteOrigin: by SiteOrigin – 2.10.17
    SiteOrigin Widgets Bundle: by SiteOrigin – 1.17.0
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.25
    
    Kadence Toolkit: by Kadence WP – 4.9.5
    WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.4.1
    WooCommerce Blocks: by Automattic – 2.6.0
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.4.10
    WooCommerce: by Automattic – 3.5.4 – 4.1.1 is available
    Wordfence Security: by Wordfence – 7.4.7
    WPImportPostKit: by Amjad Sheen – 1.0.0
    WPForms Lite: by WPForms – 1.6.0.2
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    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)
    
    ### WC Pages ###
    
    Shop base: #4 - /shop/
    Basket: #5 - /basket/
    Checkout: #6 - /checkout/
    My account: #7 - /my-account/
    Terms and conditions: #68 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Virtue
    Version: 3.3.2 – 3.4.1 is available
    Author URL: https://kadencethemes.com/
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build
    personally we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: virtue/woocommerce/archive-product.php
    virtue/woocommerce/content-product.php
    virtue/woocommerce/content-product_cat.php
    virtue/woocommerce/content-single-product.php
    virtue/woocommerce/loop/loop-end.php
    virtue/woocommerce/loop/loop-start.php
    virtue/woocommerce/loop/price.php
    virtue/woocommerce/loop/rating.php
    virtue/woocommerce/loop/sale-flash.php
    virtue/woocommerce/single-product/add-to-cart/external.php
    virtue/woocommerce/single-product/add-to-cart/grouped.php
    virtue/woocommerce/single-product/add-to-cart/simple.php
    virtue/woocommerce/single-product/add-to-cart/variable.php
    virtue/woocommerce/single-product/price.php
    virtue/woocommerce/single-product/product-image.php
    virtue/woocommerce/single-product/product-thumbnails.php
    virtue/woocommerce/single-product/sale-flash.php
    virtue/woocommerce/single-product.php
    virtue/woocommerce/taxonomy-product_cat.php
    virtue/woocommerce/taxonomy-product_tag.php
    
    ### Action Scheduler ###
    
    Complete: 7
    Oldest: 2020-05-28 10:37:29 +0100
    Newest: 2020-05-30 01:00:26 +0100
    
    Pending: 1
    Oldest: 2020-05-31 01:00:26 +0100
    Newest: 2020-05-31 01:00:26 +0100
    
    

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter yoursinhealth

    (@yoursinhealth)

    Just to add

    Wordpress version 4.4.1
    Current Theme: Virtue (version 3.3.2)
    Current Plugin: Woocommerce Blocks (version 2.6.0)
    PHP version 7.2.30

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    Hi @yoursinhealth

    According to the System Status Report you supplied, you are running WooCommerce version 3.5.4. The current version is 4.1.1, so that might be where your problem lies.

    I would recommend you run a full backup of your website and database and update your version of WooCommerce to the latest. That may resolve this issue for you.

    AJ a11n

    (@amandasjackson)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thread Starter yoursinhealth

    (@yoursinhealth)

    Hi sorry I was struggling with getting this fixed so I have disabled the plugin for now. I will try again later and create a new thread if I still have the issue. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error after doing wordpress and woocommerce upgrades’ is closed to new replies.