• Resolved jayhan

    (@jayhan)


    Hello.
    I can’t edit posts or pages after upgrading WooCommerce. When I click the Edit link on WordPress, it shows the error message, “There has been a critical error on this website. Please check your site admin email inbox for instructions.”
    Here are the system status and critical error message by WooCommece.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://bestkbeauty.com
    Site address (URL): https://bestkbeauty.com
    WC Version: 7.0.0
    REST API Version: ? 7.0.0
    WC Blocks Version: ? 8.5.1
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: ? 5.8.4 - There is a newer version of WordPress available (6.0.3)
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.38 (Debian)
    PHP Version: 7.4.22
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.64.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.12-MariaDB-log
    Max Upload Size: 2 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 7.0.0
    WC Database Prefix: wp_
    Total Database Size: 181.26MB
    Database Data Size: 165.23MB
    Database Index Size: 16.03MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 2.42MB + Index: 1.03MB + Engine MyISAM
    wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_actionscheduler_logs: Data: 1.68MB + Index: 1.20MB + Engine MyISAM
    wp_cegg_autoblog: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_cegg_feed1_product: Data: 0.34MB + Index: 0.13MB + Engine InnoDB
    wp_cegg_feed2_product: Data: 1.52MB + Index: 0.09MB + Engine InnoDB
    wp_cegg_price_alert: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cegg_price_history: Data: 0.25MB + Index: 0.41MB + Engine InnoDB
    wp_cegg_product: Data: 0.38MB + Index: 0.11MB + Engine InnoDB
    wp_commentmeta: Data: 1.72MB + Index: 0.13MB + Engine MyISAM
    wp_comments: Data: 1.14MB + Index: 0.19MB + Engine MyISAM
    wp_grp_google_place: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_grp_google_review: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_hustle_entries: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_hustle_entries_meta: Data: 0.15MB + Index: 0.07MB + Engine MyISAM
    wp_hustle_modules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_hustle_modules_meta: Data: 0.36MB + Index: 0.01MB + Engine MyISAM
    wp_hustle_tracking: Data: 4.58MB + Index: 4.52MB + Engine MyISAM
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mywebtonetperfstatsresults: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_mywebtonetqtest: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 7.77MB + Index: 0.16MB + Engine MyISAM
    wp_postmeta: Data: 69.36MB + Index: 0.91MB + Engine MyISAM
    wp_posts: Data: 56.05MB + Index: 0.44MB + Engine MyISAM
    wp_shortpixel_folders: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_shortpixel_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_shortpixel_postmeta: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
    wp_shortpixel_queue: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_tcb_api_error_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_td_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_td_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_terms: Data: 0.05MB + Index: 0.08MB + Engine MyISAM
    wp_term_relationships: Data: 0.17MB + Index: 0.40MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.05MB + Index: 0.04MB + Engine MyISAM
    wp_tge_answers: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_tge_questions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB
    wp_thrive_reporting_logs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_tinvwl_analytics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_tinvwl_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_tinvwl_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_tqb_event_log: Data: 8.52MB + Index: 2.52MB + Engine InnoDB
    wp_tqb_results: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_tqb_results_links: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_tqb_tests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_tqb_tests_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_tqb_users: Data: 0.23MB + Index: 0.19MB + Engine InnoDB
    wp_tqb_user_answers: Data: 0.44MB + Index: 0.00MB + Engine InnoDB
    wp_tqb_variations: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_trp_dictionary_en_us_ja: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
    wp_trp_gettext_en_us: Data: 0.14MB + Index: 0.19MB + Engine InnoDB
    wp_trp_gettext_ja: Data: 0.14MB + Index: 0.22MB + Engine InnoDB
    wp_trp_original_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_trp_original_strings: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_usermeta: Data: 0.19MB + Index: 0.11MB + Engine MyISAM
    wp_users: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_webpages_data: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.59MB + Index: 0.42MB + Engine MyISAM
    wp_yoast_indexable_hierarchy: Data: 0.04MB + Index: 0.13MB + Engine MyISAM
    wp_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine MyISAM
    wp_yoast_seo_links: Data: 1.69MB + Index: 0.46MB + Engine MyISAM
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    _tcb_form_settings: 3
    advgb_profiles: 1
    astra_adv_header: 2
    astra-advanced-hook: 1
    attachment: 1663
    custom_css: 2
    customize_changeset: 3
    elementor_library: 9
    language_switcher: 3
    nav_menu_item: 41
    oembed_cache: 52
    page: 18
    polylang_mo: 2
    post: 145
    product: 246
    revision: 1243
    tcb_content_template: 1
    thrive_image: 3
    tqb_optin: 2
    tqb_quiz: 3
    tqb_results: 3
    tqb_splash: 2
    tve_notifications: 1
    um_directory: 1
    um_form: 3
    wp_block: 47
    wpforms: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (16) ###
    
    Akismet Anti-Spam: by Automattic – 5.0.1
    Astra Pro: by Brainstorm Force – 3.9.2
    Astra Widgets: by Brainstorm Force – 1.2.12
    Content Egg Pro: by keywordrush.com – 10.7.5
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
    Login/Signup Popup: by XootiX – 2.3
    GTranslate: by Translate AI Multilingual Solutions – 2.9.13
    Post Types Order: by Nsp Code – 1.9.9.1
    ShortPixel Image Optimizer: by ShortPixel – 5.0.9
    Thrive Product Manager: by Thrive Themes – 1.3.0
    Thrive Quiz Builder: by <a href="https://thrivethemes.com">Thrive Themes</a> – 3.11.2
    Spectra: by Brainstorm Force – 2.0.13
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.23
    
    WooCommerce: by Automattic – 7.0.0
    Hustle: by WPMU DEV – 7.6.0
    Yoast SEO: by Team Yoast – 19.2
    
    ### Inactive Plugins (4) ###
    
    Mailchimp for WooCommerce: by Mailchimp – 2.7.5
    Themify - WooCommerce Product Filter: by Themify – 1.3.9
    TI WooCommerce Wishlist: by TemplateInvaders – 2.0.6
    WordPress Importer: by wordpressdotorg – 0.8
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (2) ###
    
    Endurance Page Cache: by Mike Hansen – 2.2
    SSO: by Garth Mortensen
    Mike Hansen – 0.3
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    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)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: –
    
    ### WC Pages ###
    
    Shop base: #9457 - /shop/
    Cart: #9458 - /cart/
    Checkout: #9459 - /checkout/
    My account: #9460 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Astra Child
    Version: 1.0.0
    Author URL: https://wpastra.com/about/
    Child Theme: ?
    Parent Theme Name: Astra
    Parent Theme Version: 3.9.2
    Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: /var/www/html/wp-content/plugins/easy-login-woocommerce//templates//xoo-el-wc-form-login.php
    /var/www/html/wp-content/plugins/easy-login-woocommerce//templates//xoo-el-wc-form-login.php version 4.1.0 is out of date. The core version is 6.0.0
    
    Outdated Templates: ?
    					
    					
    						Learn how to update
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    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
    new-product-management-experience
    settings
    
    Daily Cron: ? Next scheduled: 2022-10-19 03:42:36 +09:00
    Options: ?
    Notes: 98
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 471
    Oldest: 2022-09-23 05:31:08 +0000
    Newest: 2022-10-18 10:19:28 +0000
    
    Failed: 15
    Oldest: –
    Newest: –
    
    Pending: 2
    Oldest: 2022-10-18 13:03:42 +0000
    Newest: 2022-10-21 05:32:46 +0000
    
    ### Status report information ###
    
    Generated at: 2022-10-18 21:53:16 +09:00
    
    [WooCommerce Critical Error Log]
    
    

    2022-10-18T06:39:44+00:00 CRITICAL Uncaught Error: Call to undefined function Automattic\WooCommerce\Blocks\BlockTypes\wp_is_block_theme() in /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductImage.php:161
    Stack trace:
    #0 /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(100): Automattic\WooCommerce\Blocks\BlockTypes\ProductImage->enqueue_data()
    #1 /var/www/html/wp-includes/class-wp-hook.php(303): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets(”)
    #2 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /var/www/html/wp-admin/edit-form-blocks.php(252): do_action(‘enqueue_block_e…’)
    #5 /var/www/html/wp-admin/post.php(187): require(‘/var/www/html/w…’)
    #6 {main}
    thrown in /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductImage.php on line 161`

    [WordPress debug log]

    [18-Oct-2022 07:00:13 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function Automattic\WooCommerce\Blocks\BlockTypes\wp_is_block_theme() in /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductImage.php:161
    Stack trace:
    #0 /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(100): Automattic\WooCommerce\Blocks\BlockTypes\ProductImage->enqueue_data()
    #1 /var/www/html/wp-includes/class-wp-hook.php(303): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets('')
    #2 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /var/www/html/wp-admin/edit-form-blocks.php(252): do_action('enqueue_block_e...')
    #5 /var/www/html/wp-admin/post.php(187): require('/var/www/html/w...')
    #6 {main}
      thrown in /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductImage.php on line 161
    [18-Oct-2022 07:00:14 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:15 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:16 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:18 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:19 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:19 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:20 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:20 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:20 UTC] PHP Notice:  Undefined property: stdClass::$tcb_show_when in /var/www/html/wp-content/plugins/thrive-quiz-builder/tcb/inc/classes/class-tcb-show-when.php on line 90
    [18-Oct-2022 07:00:20 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_link in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 293
    [18-Oct-2022 07:00:20 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_title in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 297
    [18-Oct-2022 07:00:20 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_link in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 329
    [18-Oct-2022 07:00:20 UTC] PHP Notice:  Undefined property: stdClass::$tcb_show_when in /var/www/html/wp-content/plugins/thrive-quiz-builder/tcb/inc/classes/class-tcb-show-when.php on line 90
    [18-Oct-2022 07:00:20 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_link in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 293
    [18-Oct-2022 07:00:20 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_title in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 297
    [18-Oct-2022 07:00:20 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_link in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 329
    [18-Oct-2022 07:00:20 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'ts_external_add_product_link' not found or invalid function name in /var/www/html/wp-includes/class-wp-hook.php on line 305
    [18-Oct-2022 07:00:21 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:23 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:23 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:24 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:24 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:25 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:26 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:26 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:27 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function Automattic\WooCommerce\Blocks\BlockTypes\wp_is_block_theme() in /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductImage.php:161
    Stack trace:
    #0 /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(100): Automattic\WooCommerce\Blocks\BlockTypes\ProductImage->enqueue_data()
    #1 /var/www/html/wp-includes/class-wp-hook.php(303): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets('')
    #2 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /var/www/html/wp-admin/edit-form-blocks.php(252): do_action('enqueue_block_e...')
    #5 /var/www/html/wp-admin/post.php(187): require('/var/www/html/w...')
    #6 {main}
      thrown in /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductImage.php on line 161
    [18-Oct-2022 07:00:27 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:28 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:29 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:29 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:30 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:31 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:33 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:33 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:34 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:35 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:35 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:37 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:37 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:37 UTC] PHP Notice:  Undefined property: stdClass::$tcb_show_when in /var/www/html/wp-content/plugins/thrive-quiz-builder/tcb/inc/classes/class-tcb-show-when.php on line 90
    [18-Oct-2022 07:00:37 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_link in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 293
    [18-Oct-2022 07:00:37 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_title in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 297
    [18-Oct-2022 07:00:37 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_link in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 329
    [18-Oct-2022 07:00:37 UTC] PHP Notice:  Undefined property: stdClass::$tcb_show_when in /var/www/html/wp-content/plugins/thrive-quiz-builder/tcb/inc/classes/class-tcb-show-when.php on line 90
    [18-Oct-2022 07:00:37 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_link in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 293
    [18-Oct-2022 07:00:37 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_title in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 297
    [18-Oct-2022 07:00:37 UTC] PHP Notice:  Undefined property: stdClass::$megamenu_disable_link in /var/www/html/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-custom-nav-walker.php on line 329
    [18-Oct-2022 07:00:37 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:38 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:39 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
    [18-Oct-2022 07:00:40 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @jayhan

    Thanks for reaching out!

    I understand that you received the error message above after updating WooCommerce to version 7.0.0.

    I am getting the same error on my test website when I used the older version of the WordPress with latest WooCommerce version.

    I can see your website’s WordPress version is outdated.

    WP Version: ? 5.8.4 – There is a newer version of WordPress available (6.0.3)

    Please update WordPress to the latest version and you will not face this error on your end.

    Let me know how that goes!

    Thread Starter jayhan

    (@jayhan)

    Hi Amir,

    Thank you. The problem was solved after I upgraded the WP version.

    Best regards,
    Jay

    Hi @jayhan

    I’m glad we were able to help you! ??

    If you have a few minutes, we’d love it if you could leave us a review:

    https://www.ads-software.com/support/plugin/woocommerce/reviews/

    Thanks!

    ffcoorgdm

    (@ffcoorgdm)

    Hello,
    I have the same issue, same context : WP 5.8 WOOC 7 ;
    issue with ‘wp_is_block_theme’ due to WP < 5.9 ;
    Impossible today to upgrade to WP 6 because of other plugins (We need time to test before).

    Is there a patch or circumvention or bypass in way to continue for a time with WP 5.8 ?

    Currently WOOC is de-activated.

    Thank you
    https://www.ffco.org

    Hi @ffcoorgdm

    I understand you are experiencing the same issue and since every site is different and you’re not the person who originally started this topic then, per the forum guidelines, would you please start your own topic?

    We’ll be more than happy to help there ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t edit posts or pages after upgrading WooCommerce’ is closed to new replies.