Home Forums WoodMart support forum Fatal error menu

Fatal error menu

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #427697

    insideweb
    Participant

    2022-12-09T13:27:34+00:00 CRITICAL Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, array given in /www/labelkikiwholesale_999/public/wp-includes/formatting.php:4379
    Stack trace:
    #0 /www/labelkikiwholesale_999/public/wp-includes/formatting.php(4379): ltrim(Array)
    #1 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/inc/functions.php(1436): esc_url(Array)
    #2 /www/labelkikiwholesale_999/public/wp-includes/class-wp-walker.php(147): WOODMART_Mega_Menu_Walker->start_el(‘<li id=”menu-it…’, Object(WP_Post), 0, Object(stdClass))
    #3 /www/labelkikiwholesale_999/public/wp-includes/class-wp-walker.php(247): Walker->display_element(Object(WP_Post), Array, 0, 0, Array, ‘<li id=”menu-it…’)
    #4 /www/labelkikiwholesale_999/public/wp-includes/nav-menu-template.php(622): Walker->walk(Array, 0, Object(stdClass))
    #5 /www/labelkikiwholesale_999/public/wp-includes/nav-menu-template.php(242): walk_nav_menu_tree(Array, 0, Object(stdClass))
    #6 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/header-elements/main-menu.php(69): wp_nav_menu(Object(stdClass))
    #7 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/inc/modules/header-builder/elements/abstract/Element.php(73): require(‘/www/labelkikiw…’)
    #8 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/inc/modules/header-builder/Frontend.php(143): WOODMART_HB_Element->render(Array, ”)
    #9 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/inc/modules/header-builder/Frontend.php(132): WOODMART_HB_Frontend->_render_element(Array)
    #10 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/inc/modules/header-builder/Frontend.php(132): WOODMART_HB_Frontend->_render_element(Array)
    #11 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/inc/modules/header-builder/Frontend.php(132): WOODMART_HB_Frontend->_render_element(Array)
    #12 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/inc/modules/header-builder/Frontend.php(112): WOODMART_HB_Frontend->_render_element(Array)
    #13 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/inc/modules/header-builder/functions.php(25): WOODMART_HB_Frontend->generate_header()
    #14 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/header.php(26): whb_generate_header()
    #15 /www/labelkikiwholesale_999/public/wp-includes/template.php(783): require_once(‘/www/labelkikiw…’)
    #16 /www/labelkikiwholesale_999/public/wp-includes/template.php(718): load_template(‘/www/labelkikiw…’, true, Array)
    #17 /www/labelkikiwholesale_999/public/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #18 /www/labelkikiwholesale_999/public/wp-content/themes/woodmart/woocommerce/archive-product.php(26): get_header(‘shop’)
    #19 /www/labelkikiwholesale_999/public/wp-includes/template-loader.php(106): include(‘/www/labelkikiw…’)
    #20 /www/labelkikiwholesale_999/public/wp-blog-header.php(19): require_once(‘/www/labelkikiw…’)
    #21 /www/labelkikiwholesale_999/public/index.php(17): require(‘/www/labelkikiw…’)
    #22 {main}
    thrown in /www/labelkikiwholesale_999/public/wp-includes/formatting.php on line 4379

    • This topic was modified 1 year, 4 months ago by insideweb.
    #427699

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?

    Thank you in advance

    #427701

    insideweb
    Participant

    Only WooCommerce is now active. Credentials below.

    Attachments:
    You must be logged in to view attached files.
    #427709

    Artem Temos
    Keymaster

    Send us your FTP access, please.

    Kind Regards

    #427710

    insideweb
    Participant

    Below:

    #427735

    Artem Temos
    Keymaster

    We see that some meta data for categories is corrupted. Did you transfer your website using some plugin or tool? Are you able to recreate your product categories?

    #427736

    insideweb
    Participant

    We’re using WooMultistore. Which categories are corrupted?

    #427737

    insideweb
    Participant

    The issue seems to be fixed, correct?

    #427738

    Artem Temos
    Keymaster

    You still can’t edit categories in dashboard because of the data. For example, the category “Pre-order” has the wrong data format stored in the meta field with the key of _woodmart_title_image.

    Kind Regards

    #427744

    insideweb
    Participant

    I see. Was that the issue that the site didn’t work? What did you do to fix this?

    #427745

    Artem Temos
    Keymaster

    We fixed a few meta values. But we can’t do this manually for all categories. You need to check your import mechanism and exclude these fields if you don’t use them.

    #427754

    insideweb
    Participant

    The issue appeared again. I set this setting in the import mechanism to “no”. If the issue can be fixed now, the problem shouldn’t reappear, right?

    How can I fixed the current issue one more time?

    Attachments:
    You must be logged in to view attached files.
    #427756

    Artem Temos
    Keymaster

    You need to reimport all the categories to make sure that meta data values are not imported. We can’t fix this manually. We deleted a few records from the database to test but we can’t do this for all the entries.

    Kind Regards

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