Page 1 of 1

Faceted search

PostPosted: Wed Feb 07, 2018 12:19 am
by webmaster_15807
I just wanted to report that I got an error when I upgraded "Faceted search" and disabling it fix the issue.

The installation guide does not have to disable this module.
https://addons-modules.com/store/en/con ... op-moudule

Re: Faceted search

PostPosted: Wed Feb 07, 2018 2:01 am
by webmaster_15807
This module seems to be need to have filters.

Here is the error:
ContextErrorException in ps_facetedsearch.php line 45:
Notice: Undefined property: Ps_FacetedsearchOverride::$ps_layered_full_tree
in ps_facetedsearch.php line 45
at ErrorHandler->handleError('8', 'Undefined property: Ps_FacetedsearchOverride::$ps_layered_full_tree', '/home/marketadmin/clonarket.me/override/modules/ps_facetedsearch/ps_facetedsearch.php', '45', array('selected_filters' => array(), 'compute_range_filters' => false, 'cookie' => object(Cookie), 'latest_selected_filters' => null, 'latest_cat_restriction' => null, 'productCache' => array(), 'context' => object(Context), 'id_lang' => '1', 'currency' => object(Currency), 'id_shop' => '1', 'alias' => 'product_shop', 'id_parent' => '3', 'parent' => object(Category), 'filters' => array(array('type' => 'category', 'id_value' => null, 'filter_show_limit' => '0', 'filter_type' => '0'), array('type' => 'quantity', 'id_value' => null, 'filter_show_limit' => '0', 'filter_type' => '0'), array('type' => 'price', 'id_value' => null, 'filter_show_limit' => '0', 'filter_type' => '1'), array('type' => 'id_feature', 'id_value' => '8', 'filter_show_limit' => '0', 'filter_type' => '1')), 'agile_sql_parts' => array('selects' => ' ,a_sl.company as seller, a_s.id_seller ', 'joins' => ' LEFT JOIN `ps_product_owner` a_po ON p.id_product=a_po.id_product LEFT JOIN `ps_sellerinfo` a_s ON a_po.id_owner=a_s.id_seller LEFT JOIN `ps_sellerinfo_lang` a_sl ON (a_sl.id_sellerinfo=a_s.id_sellerinfo AND a_sl.id_lang=1) ', 'wheres' => ''))) in ps_facetedsearch.php line 45
at Ps_FacetedsearchOverride->getFilterBlock(array(), false) in Ps_FacetedsearchProductSearchProvider.php line 36
at Ps_FacetedsearchProductSearchProvider->getFacetCollectionFromEncodedFacets(object(ProductSearchQuery)) in Ps_FacetedsearchProductSearchProvider.php line 143
at Ps_FacetedsearchProductSearchProvider->runQuery(object(ProductSearchContext), object(ProductSearchQuery)) in ProductListingFrontController.php line 313
at ProductListingFrontControllerCore->getProductSearchVariables() in ProductListingFrontController.php line 539
at ProductListingFrontControllerCore->doProductSearch('catalog/listing/category', array('entity' => 'category', 'id' => '3')) in CategoryController.php line 106
at CategoryControllerCore->init() in Controller.php line 186
at ControllerCore->run() in Dispatcher.php line 379
at DispatcherCore->dispatch() in index.php line 28

Re: Faceted search

PostPosted: Wed Feb 07, 2018 2:45 am
by webmaster_15807
Resetting the Agile facet module fixed the issue :?

Re: Faceted search

PostPosted: Wed Feb 07, 2018 2:47 am
by shokinro
Our agile faceted search module is an override of PrestaShop original faceted search module.
if you want upgrade the PrestaShop original faceted search module, it is better to uninstall agile faceted search module first and then upgrade the original module.
After upgrade the original module, then install agile faceted search module again.

Re: Faceted search

PostPosted: Wed Feb 07, 2018 2:49 am
by webmaster_15807
Ok, thanks.