Fatal error: Uncaught Error: mysqli object is not fully initialized in /var/www/pages/searchcode/FacetBuilder.php:128 Stack trace: #0 /var/www/pages/searchcode/FacetBuilder.php(128): mysqli->real_escape_string('3180232') #1 /var/www/pages/searchcode/FacetBuilder.php(71): FacetBuilder->custom_real_escape_string('3180232') #2 /var/www/pages/searchcode/FacetBuilder.php(37): FacetBuilder->generate_selected_element() #3 /var/www/pages/searchcode/BaseCompositeSearch.php(256): FacetBuilder->build_facet(Array, Array, NULL) #4 /var/www/pages/searchcode/BaseCompositeSearch.php(242): BaseCompositeSearch->build_facet(Array, NULL) #5 /var/www/pages/searchcode/BaseCompositeSearch.php(198): BaseCompositeSearch->get_facets(Array, Object(DetailedTrademarkSearch)) #6 /var/www/pages/searchcode/BaseCompositeSearch.php(134): BaseCompositeSearch->build_search_result_page_model(Array) #7 /var/www/pages/dosearch.php(24): BaseCompositeSearch->do_search() #8 {main} thrown in /var/www/pages/searchcode/FacetBuilder.php on line 128