Home Forums WoodMart support forum product page crash after editing any minor thing

product page crash after editing any minor thing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #640215

    azanaltaf5
    Participant

    after editing minor thing in product page it crashes the single product page . and after changing PHP verison back to 7.4 it fixes issues but most plugins are not compatible with it. only happens on woodmart theme i switched to storefront and there is no error

    Warning: foreach() argument must be of type array|object, string given in /home/u391455410/domains/thouqcouture.net/public_html/wp-content/themes/woodmart/inc/modules/parts-css-files/class-parts-css-files.php on line 317

    About WordPress
    thouqcouture.net
    Live
    Customize
    55 updates available
    00 Comments in moderation
    New
    Edit product
    WoodMart
    Stats

    Notifications
    Howdy, Cthouq@gmail.com
    Search

    Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/u391455410/domains/thouqcouture.net/public_html/wp-content/themes/woodmart/inc/modules/parts-css-files/class-parts-css-files.php:432 Stack trace: #0 /home/u391455410/domains/thouqcouture.net/public_html/wp-content/themes/woodmart/inc/modules/parts-css-files/class-parts-css-files.php(432): in_array() #1 /home/u391455410/domains/thouqcouture.net/public_html/wp-content/themes/woodmart/inc/enqueue.php(1189): XTS\Modules\Parts_Css_Files->enqueue_inline_style() #2 /home/u391455410/domains/thouqcouture.net/public_html/wp-content/themes/woodmart/inc/modules/header-builder/functions.php(23): woodmart_enqueue_inline_style() #3 /home/u391455410/domains/thouqcouture.net/public_html/wp-content/themes/woodmart/header.php(26): whb_generate_header() #4 /home/u391455410/domains/thouqcouture.net/public_html/wp-includes/template.php(810): require_once(‘/home/u39145541…’) #5 /home/u391455410/domains/thouqcouture.net/public_html/wp-includes/template.php(745): load_template() #6 /home/u391455410/domains/thouqcouture.net/public_html/wp-includes/general-template.php(48): locate_template() #7 /home/u391455410/domains/thouqcouture.net/public_html/wp-content/themes/woodmart/woocommerce/single-product.php(16): get_header() #8 /home/u391455410/domains/thouqcouture.net/public_html/wp-includes/template-loader.php(106): include(‘/home/u39145541…’) #9 /home/u391455410/domains/thouqcouture.net/public_html/wp-blog-header.php(19): require_once(‘/home/u39145541…’) #10 /home/u391455410/domains/thouqcouture.net/public_html/index.php(17): require(‘/home/u39145541…’) #11 {main} thrown in /home/u391455410/domains/thouqcouture.net/public_html/wp-content/themes/woodmart/inc/modules/parts-css-files/class-parts-css-files.php on line 432

    #640321

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Thank you so much for purchasing our theme and contacting our support center.

    Please disable any plugins not directly related to our theme and provide us with your admin access details. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
    – WoodMart core
    – WooCommerce
    – Elementor/WPBakery Page Builder

    Thank you in advance.

Viewing 2 posts - 1 through 2 (of 2 total)