Does this theme work with Woocommerce
-
Hi,
I’ve tried using Aino theme and it’s been working well.
Just now I tried to add a woocommerce product and I got the following error message:
There has been a critical error on this website. Please check your site admin email inbox for instructions.
In addition to that, I recieved an email with more info:
WordPress version 6.0
Active theme: Aino (version 2.6.3)
Current plugin: WooCommerce (version 6.5.1)
PHP version 8.0.19Error Details
=============
An error of type E_ERROR was caused in line 279 of the file /var/web/site/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /var/web/site/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php:279
Stack trace:
#0 /var/web/site/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(279): in_array(‘product’, NULL)
#1 /var/web/site/public_html/wp-includes/class-wp-hook.php(309): WC_Admin_Meta_Boxes->remove_block_templates(Array)
#2 /var/web/site/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)
#3 /var/web/site/public_html/wp-includes/class-wp-theme.php(1342): apply_filters(‘theme_product_t…’, Array, Object(WP_Theme), NULL, ‘product’)
#4 /var/web/site/public_html/wp-admin/includes/theme.php(145): WP_Theme->get_page_templates(NULL, ‘product’)
#5 /var/web/site/public_html/wp-admin/includes/class-wp-posts-list-table.php(1812): get_page_templates(NULL, ‘product’)
#6 /var/web/site/public_html/wp-admin/edit.php(483): WP_Posts_List_Table->inline_edit()
#7 {main}
thrown`Now I’m wondering does this theme work with WooCommerce?
Thanks
The page I need help with: [log in to see the link]
- The topic ‘Does this theme work with Woocommerce’ is closed to new replies.