• I’m getting a critical error when searching for certain products only. I contacted woocommerce helpdesk and was directed here. They told me to reference the below. Please be kind, I know nothing about the technical side of things

    4 PHP Fatal error: Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, array given in /nas/content/live/swimkit/wp-includes/formatting.php:4494\nStack trace:\n#0 /nas/content/live/swimkit/wp-includes/formatting.php(4494): ltrim(Array)\n#1 /nas/content/live/swimkit/wp-content/plugins/yith-woocommerce-ajax-search/includes/data-search/class-yith-wcas-data-search-engine.php(502): esc_url(Array)\n#2 /nas/content/live/swimkit/wp-content/plugins/yith-woocommerce-ajax-search/includes/data-search/class-yith-wcas-data-search-engine.php(470): YITH_WCAS_Data_Search_Engine->escape_result(Array)\n#3 /nas/content/live/swimkit/wp-content/plugins/yith-woocommerce-ajax-search/includes/data-search/class-yith-wcas-data-search-engine.php(211): YITH_WCAS_Data_Search_Engine->filter_results(Array)\n#4 /nas/content/live/swimkit/wp-content/plugins/yith-woocommerce-ajax-search/includes/data-search/class-yith-wcas-data-search-engine.php(99): YITH_WCAS_Data_Search_Engine->get_search_results(Array, Array, 0, ‘en_US’)\n#5 /nas/content/live/swimkit/wp-content/plugins/yith-woocommerce-ajax-search/includes/class-yith-wcas-search.php(87): YITH_WCAS_Data_Search_Engine->search(‘speedo’, Array, 0, ‘en_US’, false, 0, 0, true)\n#6 /nas/content/live/swimkit/wp-includes/class-wp-hook.php(324): YITH_WCAS_Search->pre_get_posts(Object(WP_Query))\n#7 /nas/content/live/swimkit/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)\n#8 /nas/content/live/swimkit/wp-includes/plugin.php(565): WP_Hook->do_action(Array)\n#9 /nas/content/live/swimkit/wp-includes/class-wp-query.php(1881): do_action_ref_array(‘pre_get_posts’, Array)\n#10 /nas/content/live/swimkit/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()\n#11 /nas/content/live/swimkit/wp-includes/class-wp.php(696): WP_Query->query(Array)\n#12 /nas/content/live/swimkit/wp-includes/class-wp.php(816): WP->query_posts()\n#13 /nas/content/live/swimkit/wp-includes/functions.php(1336): WP->main(”)\n#14 /nas/content/live/swimkit/wp-blog-header.php(16): wp()\n#15 /nas/content/live/swimkit/index.php(17): require(‘/nas/content/li…’)\n#16 {main}\n thrown in /nas/content/live/swimkit/wp-includes/formatting.php on line 4494, referer: https://swimkit.ie/

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.