object(ES_HTTP_EXCEPTION)#13 (7) { ["message":protected]=> string(97) "{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(406) ["file":protected]=> string(54) "/home/morepiecom/public_html/includes/es/api.class.php" ["line":protected]=> int(123) ["trace":"Exception":private]=> array(3) { [0]=> array(6) { ["file"]=> string(54) "/home/morepiecom/public_html/includes/es/api.class.php" ["line"]=> int(128) ["function"]=> string(8) "api_call" ["class"]=> string(17) "Elasticsearch_API" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(4) "POST" [1]=> string(97) "https://3xd161qhza:iv97n2p4u0@morepartz-6329145351.eu-central-1.bonsaisearch.net/partshop/_search" [2]=> array(5) { ["query"]=> array(1) { ["bool"]=> array(3) { ["must"]=> array(1) { [0]=> array(1) { ["match_all"]=> object(stdClass)#12 (0) { } } } ["should"]=> array(3) { [0]=> array(1) { ["match"]=> array(1) { ["PartName"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(2) } } } [1]=> array(1) { ["match"]=> array(1) { ["PartTitle"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(8) } } } [2]=> array(1) { ["match"]=> array(1) { ["CarPart"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(2) } } } } ["minimum_should_match"]=> int(1) } } ["aggs"]=> array(13) { ["Condition"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(17) "Condition.keyword" } } ["Domain"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(14) "Domain.keyword" } } ["Model"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(13) "Model.keyword" } } ["Fuel"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(12) "Fuel.keyword" } } ["Year"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(12) "Year.keyword" } } ["GearBox"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "GearBox.keyword" } } ["PartBrand"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(17) "PartBrand.keyword" } } ["EngineSize"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(18) "EngineSize.keyword" } } ["LocSide"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "LocSide.keyword" } } ["locDirection"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(20) "locDirection.keyword" } } ["Colour"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(14) "Colour.keyword" } } ["Valve"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(13) "Valve.keyword" } } ["CarPart"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "CarPart.keyword" } } } ["size"]=> int(1000) ["track_scores"]=> bool(true) ["sort"]=> array(1) { ["_score"]=> array(1) { ["order"]=> string(4) "desc" } } } } } [1]=> array(6) { ["file"]=> string(51) "/home/morepiecom/public_html/site/shop/elastify.php" ["line"]=> int(191) ["function"]=> string(6) "search" ["class"]=> string(17) "Elasticsearch_API" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(5) { ["query"]=> array(1) { ["bool"]=> array(3) { ["must"]=> array(1) { [0]=> array(1) { ["match_all"]=> object(stdClass)#12 (0) { } } } ["should"]=> array(3) { [0]=> array(1) { ["match"]=> array(1) { ["PartName"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(2) } } } [1]=> array(1) { ["match"]=> array(1) { ["PartTitle"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(8) } } } [2]=> array(1) { ["match"]=> array(1) { ["CarPart"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(2) } } } } ["minimum_should_match"]=> int(1) } } ["aggs"]=> array(13) { ["Condition"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(17) "Condition.keyword" } } ["Domain"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(14) "Domain.keyword" } } ["Model"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(13) "Model.keyword" } } ["Fuel"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(12) "Fuel.keyword" } } ["Year"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(12) "Year.keyword" } } ["GearBox"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "GearBox.keyword" } } ["PartBrand"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(17) "PartBrand.keyword" } } ["EngineSize"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(18) "EngineSize.keyword" } } ["LocSide"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "LocSide.keyword" } } ["locDirection"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(20) "locDirection.keyword" } } ["Colour"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(14) "Colour.keyword" } } ["Valve"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(13) "Valve.keyword" } } ["CarPart"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "CarPart.keyword" } } } ["size"]=> int(1000) ["track_scores"]=> bool(true) ["sort"]=> array(1) { ["_score"]=> array(1) { ["order"]=> string(4) "desc" } } } } } [2]=> array(4) { ["file"]=> string(47) "/home/morepiecom/public_html/site/shop/shop.php" ["line"]=> int(24) ["function"]=> string(6) "search" ["args"]=> array(5) { [0]=> array(2) { ["Model"]=> string(0) "" ["Make"]=> string(0) "" } [1]=> string(33) "bumper parking sensor wiring loom" [2]=> bool(false) [3]=> int(1000) [4]=> string(8) "relavent" } } } ["previous":"Exception":private]=> NULL }
Notice: Trying to get property 'aggregations' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 207

Warning: Invalid argument supplied for foreach() in /home/morepiecom/public_html/site/shop/elastify.php on line 218

Notice: Trying to get property 'hits' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 228

Notice: Trying to get property 'total' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 228

Notice: Trying to get property 'took' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 229

Notice: Trying to get property 'took' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 240

Notice: Trying to get property 'hits' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 240

Notice: Trying to get property 'hits' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 240
object(ES_HTTP_EXCEPTION)#11 (7) { ["message":protected]=> string(97) "{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(406) ["file":protected]=> string(54) "/home/morepiecom/public_html/includes/es/api.class.php" ["line":protected]=> int(123) ["trace":"Exception":private]=> array(3) { [0]=> array(6) { ["file"]=> string(54) "/home/morepiecom/public_html/includes/es/api.class.php" ["line"]=> int(128) ["function"]=> string(8) "api_call" ["class"]=> string(17) "Elasticsearch_API" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(4) "POST" [1]=> string(97) "https://3xd161qhza:iv97n2p4u0@morepartz-6329145351.eu-central-1.bonsaisearch.net/partshop/_search" [2]=> array(5) { ["query"]=> array(1) { ["bool"]=> array(3) { ["must"]=> array(1) { [0]=> array(1) { ["match_all"]=> object(stdClass)#12 (0) { } } } ["should"]=> array(3) { [0]=> array(1) { ["match"]=> array(1) { ["PartName"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(2) } } } [1]=> array(1) { ["match"]=> array(1) { ["PartTitle"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(8) } } } [2]=> array(1) { ["match"]=> array(1) { ["CarPart"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(2) } } } } ["minimum_should_match"]=> int(1) } } ["aggs"]=> array(13) { ["Condition"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(17) "Condition.keyword" } } ["Domain"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(14) "Domain.keyword" } } ["Model"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(13) "Model.keyword" } } ["Fuel"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(12) "Fuel.keyword" } } ["Year"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(12) "Year.keyword" } } ["GearBox"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "GearBox.keyword" } } ["PartBrand"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(17) "PartBrand.keyword" } } ["EngineSize"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(18) "EngineSize.keyword" } } ["LocSide"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "LocSide.keyword" } } ["locDirection"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(20) "locDirection.keyword" } } ["Colour"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(14) "Colour.keyword" } } ["Valve"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(13) "Valve.keyword" } } ["CarPart"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "CarPart.keyword" } } } ["size"]=> int(0) ["track_scores"]=> bool(true) ["sort"]=> array(1) { ["_score"]=> array(1) { ["order"]=> string(4) "desc" } } } } } [1]=> array(6) { ["file"]=> string(51) "/home/morepiecom/public_html/site/shop/elastify.php" ["line"]=> int(191) ["function"]=> string(6) "search" ["class"]=> string(17) "Elasticsearch_API" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(5) { ["query"]=> array(1) { ["bool"]=> array(3) { ["must"]=> array(1) { [0]=> array(1) { ["match_all"]=> object(stdClass)#12 (0) { } } } ["should"]=> array(3) { [0]=> array(1) { ["match"]=> array(1) { ["PartName"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(2) } } } [1]=> array(1) { ["match"]=> array(1) { ["PartTitle"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(8) } } } [2]=> array(1) { ["match"]=> array(1) { ["CarPart"]=> array(3) { ["query"]=> string(33) "bumper parking sensor wiring loom" ["operator"]=> string(3) "and" ["boost"]=> int(2) } } } } ["minimum_should_match"]=> int(1) } } ["aggs"]=> array(13) { ["Condition"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(17) "Condition.keyword" } } ["Domain"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(14) "Domain.keyword" } } ["Model"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(13) "Model.keyword" } } ["Fuel"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(12) "Fuel.keyword" } } ["Year"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(12) "Year.keyword" } } ["GearBox"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "GearBox.keyword" } } ["PartBrand"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(17) "PartBrand.keyword" } } ["EngineSize"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(18) "EngineSize.keyword" } } ["LocSide"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "LocSide.keyword" } } ["locDirection"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(20) "locDirection.keyword" } } ["Colour"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(14) "Colour.keyword" } } ["Valve"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(13) "Valve.keyword" } } ["CarPart"]=> array(1) { ["terms"]=> array(1) { ["field"]=> string(15) "CarPart.keyword" } } } ["size"]=> int(0) ["track_scores"]=> bool(true) ["sort"]=> array(1) { ["_score"]=> array(1) { ["order"]=> string(4) "desc" } } } } } [2]=> array(4) { ["file"]=> string(47) "/home/morepiecom/public_html/site/shop/shop.php" ["line"]=> int(27) ["function"]=> string(6) "search" ["args"]=> array(5) { [0]=> array(1) { ["Make"]=> string(0) "" } [1]=> string(33) "bumper parking sensor wiring loom" [2]=> bool(false) [3]=> int(0) [4]=> string(8) "relavent" } } } ["previous":"Exception":private]=> NULL }
Notice: Trying to get property 'aggregations' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 207

Warning: Invalid argument supplied for foreach() in /home/morepiecom/public_html/site/shop/elastify.php on line 218

Notice: Trying to get property 'hits' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 228

Notice: Trying to get property 'total' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 228

Notice: Trying to get property 'took' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 229

Notice: Trying to get property 'took' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 240

Notice: Trying to get property 'hits' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 240

Notice: Trying to get property 'hits' of non-object in /home/morepiecom/public_html/site/shop/elastify.php on line 240

Fatal error: Uncaught ES_HTTP_EXCEPTION: {"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406} in /home/morepiecom/public_html/includes/es/api.class.php:123 Stack trace: #0 /home/morepiecom/public_html/includes/es/api.class.php(128): Elasticsearch_API->api_call('POST', 'https://3xd161q...', Array) #1 /home/morepiecom/public_html/site/shop/elastify.php(678): Elasticsearch_API->search(Array) #2 /home/morepiecom/public_html/site/shop/shop.php(29): search_top6Parts(Array, 'bumper parking ...', false, 6) #3 {main} thrown in /home/morepiecom/public_html/includes/es/api.class.php on line 123