• Hi,
    The Bricksy theme has a conflict with WooCommerce 6.5.1. I am unable to add a product to the products page. I’ve already contacted WooCommerce and ran their tests. It’s definitely a theme conflict.

    The error code I get occurs when I try to add a new product (Product > Add New):
    Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /homepages/28/d901789451/htdocs/app901790327/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php:279 Stack trace: #0 /homepages/28/d901789451/htdocs/app901790327/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(279): in_array('product', NULL) #1 /homepages/28/d901789451/htdocs/app901790327/wp-includes/class-wp-hook.php(309): WC_Admin_Meta_Boxes->remove_block_templates(Array) #2 /homepages/28/d901789451/htdocs/app901790327/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #3 /homepages/28/d901789451/htdocs/app901790327/wp-includes/class-wp-theme.php(1334): apply_filters('theme_product_t...', Array, Object(WP_Theme), Object(WP_Post), 'product') #4 /homepages/28/d901789451/htdocs/app901790327/wp-admin/includes/theme.php(145): WP_Theme->get_page_templates(Object(WP_Post), 'product') #5 /homepages/28/d901789451/htdocs/app901790327/wp-admin/includes/meta-boxes.php(1504): get_page_templates(Object(WP_Post)) #6 /homepages/28/d901789451/htdocs/app901790327/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes(Object(WP_Post)) #7 /homepages/28/d901789451/htdocs/app901790327/wp-admin/post-new.php(75): require('/homepages/28/d...') #8 {main} thrown in /homepages/28/d901789451/htdocs/app901790327/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php on line 279

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • Theme Author Anariel Design

    (@anariel-design)

    Hi,

    thank you for using Bricksy.
    Unfortunately, those errors are plugin related. We don’t include any WooCommerce files in the theme, just the CSS to style it. Please contact WooCommerce support for this issue.

    All the best,
    Ana

    Thread Starter paulysguitarjournal

    (@paulysguitarjournal)

    Hi, I already contacted WooCommerce. They said it was a template issue. I see you made an update, but it’s still not working.

    Theme Author Anariel Design

    (@anariel-design)

    Hmm, let me check it tomorrow, maybe there were some changes. I’ll upoad the new file if that’s the case. Will let u know asap. Thank you πŸ™. Till soon

    Theme Author Anariel Design

    (@anariel-design)

    And thank you for letting me know about it πŸ™. I’ll need to check for the updates and changes & to export the new template file.

    Thread Starter paulysguitarjournal

    (@paulysguitarjournal)

    Thank you.

    Theme Author Anariel Design

    (@anariel-design)

    Hi, I just added the theme update and something that might resolve the issue. Can you please let me know if it works now?

    Thread Starter paulysguitarjournal

    (@paulysguitarjournal)

    Hi,

    The last theme update I have is Version: 1.3.7 and I’m still getting a fatal error. There is another thread running about this also (with WooCommerce). Maybe that information will help? Thread is here: https://wordpress.org/support/topic/unable-to-add-products-after-woocommerce-6-5-1-update/page/2/#post-15682465

    Theme Author Anariel Design

    (@anariel-design)

    Hi,

    that’s very strange as I already added those in the theme.json file. I just added one more theme update and let’s see if this helps if not I’ll contact WooCommerce support and check with them. I tested this version on my local server with PHP 8 and I can add products and I don’t get any errors.

    All the best,
    Ana

    Thread Starter paulysguitarjournal

    (@paulysguitarjournal)

    Updated to 1.3.9, still the same error. Thank you for looking into this.

    Theme Author Anariel Design

    (@anariel-design)

    This is really strange as I added everything to the theme.json file. I’ll contact them to see what we can do about this and if I’m missing something πŸ€·β€β™€οΈ. Thank you for your patience πŸ™

    Theme Author Anariel Design

    (@anariel-design)

    Hi,

    I just spoke with the guy from WooCommerce, they are working on this issue here: https://github.com/woocommerce/woocommerce/pull/33180 and unfortunately we need to wait till this is resolved. For now we can’t do anything more from the theme part. As soon as there will be a way to resolve this I’ll let u know.

    All the best,
    Ana

    Thread Starter paulysguitarjournal

    (@paulysguitarjournal)

    Hi Ana,

    Thank you for your time. Could I ask you another question? If you go to my site: https://stringscapes.us/ you’ll notice that there is a gap between the banner and the email sign up box below it. I want to remove that gap above the email sign up box. I don’t have direct access the the CSS style style and everything I’ve tried to override it hasn’t worked. Any suggestions?

    Theme Author Anariel Design

    (@anariel-design)

    Hi,

    are you able to install plugins? If yes you can install this plugin: https://wordpress.org/plugins/simple-custom-css/ and add this Custom CSS:

    section.wp-container-8.wp-block-group.section\.notop.has-foreground-background-color.has-background {
        margin-top: 0;
    }

    Hope this helps,
    Ana

    Thread Starter paulysguitarjournal

    (@paulysguitarjournal)

    Ana, you’re the best!!! Thank you so much. This actually solves a couple of issues with the site. Thank you so much.

    Paul

    Theme Author Anariel Design

    (@anariel-design)

    Hi Paul,

    oh so happy I could help with. I just got the answer from WooCommerce and the issue is going to be fixed soon: “@anasegota heads-up that this fix will be included in WC 6.6, which will be released the 14th”

    Hope this helps.

    Best,
    Ana

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Bricksy conflict with WooCommerce 6.5.1’ is closed to new replies.