Home › Forums › WoodMart support forum › Fatal error menu
Fatal error menu
- This topic has 12 replies, 2 voices, and was last updated 2 years ago by Artem Temos.
-
AuthorPosts
-
December 9, 2022 at 4:28 pm #427697
insidewebParticipant2022-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 2 years ago by insideweb.
December 9, 2022 at 4:30 pm #427699
Artem TemosKeymasterHello,
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
December 9, 2022 at 4:36 pm #427701
insidewebParticipantOnly WooCommerce is now active. Credentials below.
Attachments:
You must be logged in to view attached files.December 9, 2022 at 4:44 pm #427709
Artem TemosKeymasterSend us your FTP access, please.
Kind Regards
December 9, 2022 at 4:46 pm #427710
insidewebParticipantBelow:
December 9, 2022 at 5:50 pm #427735
Artem TemosKeymasterWe 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?
December 9, 2022 at 5:51 pm #427736
insidewebParticipantWe’re using WooMultistore. Which categories are corrupted?
December 9, 2022 at 5:53 pm #427737
insidewebParticipantThe issue seems to be fixed, correct?
December 9, 2022 at 5:55 pm #427738
Artem TemosKeymasterYou 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
December 9, 2022 at 5:59 pm #427744
insidewebParticipantI see. Was that the issue that the site didn’t work? What did you do to fix this?
December 9, 2022 at 6:00 pm #427745
Artem TemosKeymasterWe 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.
December 9, 2022 at 6:39 pm #427754
insidewebParticipantThe 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.December 9, 2022 at 6:41 pm #427756
Artem TemosKeymasterYou 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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register