Your Site is Experiencing a Technical Issue (after automatic update)
-
Hi,
i updated all the plugins and the theme to the latest version but i received the following email
Howdy!
WordPress has a built-in feature that detects when a plugin or theme
causes a fatal error on your site, and notifies you with this
automated email.In this case, WordPress caught an error with one of your plugins, WooCommerce.
First, visit your website (https://www.cripta747.it/) and check for
any visible issues. Next, visit the page where the error was caught
(https://www.cripta747.it/wp-admin/update.php?action=update-selected&plugins=jetpack%2Fjetpack.php%2Claytheme-carousel%2Flaytheme-carousel.php%2Creally-simple-ssl%2Frlrsssl-really-simple-ssl.php%2Cside-cart-woocommerce%2Fxoo-wsc-main.php%2Csimply-schedule-appointments%2Fsimply-schedule-appointments.php%2Cwoocommerce%2Fwoocommerce.php%2Cwoocommerce-payments%2Fwoocommerce-payments.php%2Cwp-mail-smtp%2Fwp_mail_smtp.php&_wpnonce=ce5b53230c)
and check for any visible issues.Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can't access your dashboard
normally, WordPress now has a special "recovery mode". This lets you
safely login to your dashboard and investigate further.To keep your site safe, this link will expire in 1 day. Don't worry
about that, though: a new link will be emailed to you if the error
occurs again after it expires.When seeking help with this issue, you may be asked for some of the
following information:
WordPress version 6.7.2
Active theme: Lay Theme (version 8.1.6)
Current plugin: WooCommerce (version 9.7.1)
PHP version 8.0.30Error Details
An error of type E_ERROR was caused in line 1078 of the file
/customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php.
Error message: Uncaught Error: Class
"Automattic\WooCommerce\Enums\ProductType" not found in
/customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php:1078
Stack trace:
#0 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Admin/API/Products.php(42):
WC_REST_Products_Controller->get_item_schema()
#1 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(388):
Automattic\WooCommerce\Admin\API\Products->get_item_schema()
#2 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php(569):
WP_REST_Controller->get_context_param()
#3 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php(2314):
WC_REST_CRUD_Controller->get_collection_params()
#4 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php(1681):
WC_REST_Products_V2_Controller->get_collection_params()
#5 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Admin/API/Products.php(74):
WC_REST_Products_Controller->get_collection_params()
#6 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php(72):
Automattic\WooCommerce\Admin\API\Products->get_collection_params()
#7 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php(62):
WC_REST_Products_V2_Controller->register_routes()
#8 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Admin/API/Init.php(169):
WC_REST_Products_Controller->register_routes()
#9 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/class-wp-hook.php(324):
Automattic\WooCommerce\Admin\API\Init->rest_api_init(Object(WP_REST_Server))
#10 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/class-wp-hook.php(348):
WP_Hook->apply_filters(NULL, Array)
#11 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/plugin.php(517):
WP_Hook->do_action(Array)
#12 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/rest-api.php(618):
do_action('rest_api_init', Object(WP_REST_Server))
#13 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/rest-api.php(576):
rest_get_server()
#14 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/rest-api.php(2957):
rest_do_request(Object(WP_REST_Request))
#15 [internal function]: rest_preload_api_request(Array, '/wc-analytics/r...')
#16 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Internal/Admin/Settings.php(144):
array_reduce(Array, 'rest_preload_ap...')
#17 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/class-wp-hook.php(324):
Automattic\WooCommerce\Internal\Admin\Settings->add_component_settings(Array)
#18 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/plugin.php(205):
WP_Hook->apply_filters(Array, Array)
#19 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Internal/Admin/WCAdminSharedSettings.php(66):
apply_filters('woocommerce_adm...', Array)
#20 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(272):
Automattic\WooCommerce\Internal\Admin\WCAdminSharedSettings->Automattic\WooCommerce\Internal\Admin{closure}()
#21 /customers/6/1/0/cripta747.it/httpd.www/wp-content/plugins/woocommerce/src/Blocks/Assets/AssetDataRegistry.php(388):
Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->execute_lazy_data()
#22 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/class-wp-hook.php(324):
Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->enqueue_asset_data('')
#23 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/class-wp-hook.php(348):
WP_Hook->apply_filters('', Array)
#24 /customers/6/1/0/cripta747.it/httpd.www/wp-includes/plugin.php(517):
WP_Hook->do_action(Array)
#25 /customers/6/1/0/cripta747.it/httpd.www/wp-admin/includes/template.php(2229):
do_action('admin_print_foo...')
#26 /customers/6/1/0/cripta747.it/httpd.www/wp-admin/update.php(53):
iframe_footer()
#27 {main}
thrownI just noticed that on some page (at the top part of the mobile version of this page https://www.cripta747.it/cripta747/) appear the following error
Here the text
Warning: Undefined array key 24 in /customers/6/1/0/cripta747.it/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php on line 698 Warning: Undefined array key 24 in /customers/6/1/0/cripta747.it/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php on line 699 Warning: Undefined array key 24 in /customers/6/1/0/cripta747.it/httpd.www/wp-content/themes/lay/frontend/assets/php/layout.php on line 711Please, any help with this?
Thank you in advance!
Alexadnro -
hey i dont see the error on your page anymore:
https://www.cripta747.it/cripta747/do you still have an issue with this?
2/2
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it