Jump to content

Features not working in 1.7.0.3


Recommended Posts

I've created new features and they will not show in my category pages. The demo features show up but not the new features I've created. They are turned on in the faceted module.

I do get this error message when I switch from Selection to Installed modules in the modules section of and admin panel.

 

Whoops, looks like something went wrong. 1/1 ContextErrorException in Theme.php line 81: Warning: array_values() expects parameter 1 to be array, null given
  1. in Theme.php line 81
  2. at ErrorHandler->handleError('2', 'array_values() expects parameter 1 to be array, null given', '/home/wwonlinestore/public_html/src/Core/Addon/Theme/Theme.php', '81', array('modulesToEnable' => array('ps_linklist', 'ps_languageselector', 'ps_currencyselector', 'ps_contactinfo', 'ps_customersignin', 'tm_cmsblock', 'ps_shoppingcart', 'ps_mainmenu', 'ps_searchbar', 'tm_imageslider', 'tm_infocmsblock', 'tm_servicecmsblock', 'tm_featuredproducts', 'tm_bestsellers', 'tm_newproducts', 'tm_testimonialcmsblock', 'tm_specials', 'tm_brandlogo', 'ps_emailsubscription', 'tm_footercmsblock', 'ps_customeraccountlinks', 'ps_socialfollow', 'tm_paymentcmsblock', 'tm_blocklink', 'ps_categorytree', 'ps_facetedsearch', 'tm_leftbanner', 'tm_sidenewproducts', 'ps_sharebuttons', 'blockreassurance'), 'modulesToHook' => array('displayNav1' => array('ps_languageselector', 'ps_currencyselector'), 'displayNav2' => array('ps_contactinfo', 'ps_customersignin'), 'displayTop' => array('tm_cmsblock', 'ps_shoppingcart', 'ps_mainmenu', 'ps_searchbar'), 'displayTopColumn' => array('tm_imageslider', 'tm_infocmsblock', 'tm_servicecmsblock'), 'displayTmFeature' => array('tm_featuredproducts'), 'displayTmBestseller' => array('tm_bestsellers'), 'displayTmNew' => array('tm_newproducts'), 'displayHome' => array('tm_testimonialcmsblock', 'tm_specials', 'tm_brandlogo'), 'displayFooterBefore' => array('ps_emailsubscription'), 'displayFooter' => array('tm_footercmsblock', 'ps_linklist', 'ps_customeraccountlinks', 'ps_contactinfo', 'ps_socialfollow', 'tm_paymentcmsblock', 'tm_blocklink'), 'displayLeftColumn' => array('ps_categorytree', 'ps_facetedsearch', 'tm_leftbanner', 'tm_sidenewproducts'), 'displayLeftColumnProduct' => array('tm_leftbanner', 'tm_sidenewproducts'), 'displaySearch' => array('ps_searchbar'), 'displayProductButtons' => array('ps_sharebuttons'), 'displayReassurance' => array('blockreassurance'), 'displayOrderConfirmation2' => null, 'displayCrossSellingShoppingCart' => null), 'hookName' => 'displayOrderConfirmation2', 'modules' => null, 'module' => 'blockreassurance'))
  3. at array_values(null) in Theme.php line 81
  4. at Theme->getModulesToEnable() in ModuleController.php line 166
  5. at ModuleController->manageAction()
  6. at call_user_func_array(array(object(ModuleController), 'manageAction'), array()) in bootstrap.php.cache line 3238
  7. at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3197
  8. at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3351
  9. at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2536
  10. at Kernel->handle(object(Request), '1', false) in index.php line 86

 

This is my url: http://www.wackywagsretail.com/

Edited by robbiej (see edit history)
Link to comment
Share on other sites

 

I've created new features and they will not show in my category pages. The demo features show up but not the new features I've created. They are turned on in the faceted module.

I do get this error message when I switch from Selection to Installed modules in the modules section of and admin panel.

 

Whoops, looks like something went wrong. 1/1 ContextErrorException in Theme.php line 81: Warning: array_values() expects parameter 1 to be array, null given
  1. in Theme.php line 81
  2. at ErrorHandler->handleError('2', 'array_values() expects parameter 1 to be array, null given', '/home/wwonlinestore/public_html/src/Core/Addon/Theme/Theme.php', '81', array('modulesToEnable' => array('ps_linklist', 'ps_languageselector', 'ps_currencyselector', 'ps_contactinfo', 'ps_customersignin', 'tm_cmsblock', 'ps_shoppingcart', 'ps_mainmenu', 'ps_searchbar', 'tm_imageslider', 'tm_infocmsblock', 'tm_servicecmsblock', 'tm_featuredproducts', 'tm_bestsellers', 'tm_newproducts', 'tm_testimonialcmsblock', 'tm_specials', 'tm_brandlogo', 'ps_emailsubscription', 'tm_footercmsblock', 'ps_customeraccountlinks', 'ps_socialfollow', 'tm_paymentcmsblock', 'tm_blocklink', 'ps_categorytree', 'ps_facetedsearch', 'tm_leftbanner', 'tm_sidenewproducts', 'ps_sharebuttons', 'blockreassurance'), 'modulesToHook' => array('displayNav1' => array('ps_languageselector', 'ps_currencyselector'), 'displayNav2' => array('ps_contactinfo', 'ps_customersignin'), 'displayTop' => array('tm_cmsblock', 'ps_shoppingcart', 'ps_mainmenu', 'ps_searchbar'), 'displayTopColumn' => array('tm_imageslider', 'tm_infocmsblock', 'tm_servicecmsblock'), 'displayTmFeature' => array('tm_featuredproducts'), 'displayTmBestseller' => array('tm_bestsellers'), 'displayTmNew' => array('tm_newproducts'), 'displayHome' => array('tm_testimonialcmsblock', 'tm_specials', 'tm_brandlogo'), 'displayFooterBefore' => array('ps_emailsubscription'), 'displayFooter' => array('tm_footercmsblock', 'ps_linklist', 'ps_customeraccountlinks', 'ps_contactinfo', 'ps_socialfollow', 'tm_paymentcmsblock', 'tm_blocklink'), 'displayLeftColumn' => array('ps_categorytree', 'ps_facetedsearch', 'tm_leftbanner', 'tm_sidenewproducts'), 'displayLeftColumnProduct' => array('tm_leftbanner', 'tm_sidenewproducts'), 'displaySearch' => array('ps_searchbar'), 'displayProductButtons' => array('ps_sharebuttons'), 'displayReassurance' => array('blockreassurance'), 'displayOrderConfirmation2' => null, 'displayCrossSellingShoppingCart' => null), 'hookName' => 'displayOrderConfirmation2', 'modules' => null, 'module' => 'blockreassurance'))
  3. at array_values(null) in Theme.php line 81
  4. at Theme->getModulesToEnable() in ModuleController.php line 166
  5. at ModuleController->manageAction()
  6. at call_user_func_array(array(object(ModuleController), 'manageAction'), array()) in bootstrap.php.cache line 3238
  7. at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3197
  8. at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3351
  9. at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2536
  10. at Kernel->handle(object(Request), '1', false) in index.php line 86

 

This is my url: http://www.wackywagsretail.com/

 

 

This error seems to be related with a module. I would update PS to last version and check if it's already solved.

Link to comment
Share on other sites

  • 3 weeks later...

Hi guys!

 

Do you know what I should do to make the Features, that I have given products, to show up in the Faceted Search module on the category page. Only the price is showing right now. 

Is there an option to show / not show Features here? The features show up on the product page. 

 

Thanks/

Magnus

Link to comment
Share on other sites

Hi guys!

 

Do you know what I should do to make the Features, that I have given products, to show up in the Faceted Search module on the category page. Only the price is showing right now. 

Is there an option to show / not show Features here? The features show up on the product page. 

 

Thanks/

Magnus

 

Answered you here: https://www.prestashop.com/forums/topic/589679-prestashop-1704-faceted-search-dropdowns/?p=2502926 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...