Soucis sur une vue liste de catégorie

  • Posts: 201
  • Thank you received: 7
  • Hikashop Business
3 years 1 month ago #336273

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 4.0.3

hello depuis al mise a jour 4.4.4
j'ai un soucis sur les vue category list
j'ai cette erreur

0 Call to a member function setQuery() on null
Call stack
#	Function	Location
1	()	JROOT/administrator/components/com_hikashop/classes/filter.php:1582
2	hikashopFilterTypeClass->getFields()	JROOT/administrator/components/com_hikashop/classes/filter.php:1814
3	hikashopSingledropdownClass->display()	JROOT/administrator/components/com_hikashop/classes/filter.php:2643
4	hikashopMultipledropdownClass->display()	JROOT/administrator/components/com_hikashop/classes/filter.php:347
5	hikashopFilterClass->displayFilter()	JROOT/components/com_hikashop/views/product/tmpl/filter.php:141
6	include()	JROOT/libraries/src/MVC/View/HtmlView.php:429
7	Joomla\CMS\MVC\View\HtmlView->loadTemplate()	JROOT/administrator/components/com_hikashop/helpers/helper.php:2616
8	hikashopView->loadTemplate()	JROOT/libraries/src/MVC/View/HtmlView.php:218
9	Joomla\CMS\MVC\View\HtmlView->display()	JROOT/administrator/components/com_hikashop/helpers/helper.php:2571
10	hikashopView->display()	JROOT/components/com_hikashop/views/product/view.html.php:29
11	ProductViewProduct->display()	JROOT/administrator/components/com_hikashop/helpers/helper.php:864
12	hikashop_getLayout()	JROOT/modules/mod_hikashop_filter/mod_hikashop_filter.php:30
13	include()	JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:54
14	Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}()	JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:57
15	Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch()	JROOT/libraries/src/Helper/ModuleHelper.php:295
16	Joomla\CMS\Helper\ModuleHelper::renderRawModule()	JROOT/libraries/src/Helper/ModuleHelper.php:167
17	Joomla\CMS\Helper\ModuleHelper::renderModule()	JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:102
18	Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render()	JROOT/libraries/src/Document/Renderer/Html/ModulesRenderer.php:48
19	Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render()	JROOT/libraries/src/Document/HtmlDocument.php:589
20	Joomla\CMS\Document\HtmlDocument->getBuffer()	JROOT/libraries/src/Document/HtmlDocument.php:895
21	Joomla\CMS\Document\HtmlDocument->_renderTemplate()	JROOT/libraries/src/Document/HtmlDocument.php:660
22	Joomla\CMS\Document\HtmlDocument->render()	JROOT/libraries/src/Application/CMSApplication.php:1036
23	Joomla\CMS\Application\CMSApplication->render()	JROOT/libraries/src/Application/SiteApplication.php:804
24	Joomla\CMS\Application\SiteApplication->render()	JROOT/libraries/src/Application/CMSApplication.php:284
25	Joomla\CMS\Application\CMSApplication->execute()	JROOT/includes/app.php:63
26	require_once()	JROOT/index.php:32
ce qui est bizarre c'est que avec cassopedia pas d'erreur et avec mon theme j'ai cette erreur MAIS je n'ai aucune surcharge pour cette vue !
des idées ?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 1 month ago #336275

Bonjour,

Rajoutez la ligne:
$database = JFactory::getDBO();
après la ligne:
$query .= ' WHERE product_id IN ('.implode(',', $optionElement).')';
dans /administrator/components/com_hikashop/classes/filter.php et cela corrigera le souci.
Nous allons rajouter la modification de notre coté également.

Please Log in or Create an account to join the conversation.

  • Posts: 201
  • Thank you received: 7
  • Hikashop Business
3 years 1 month ago #336276

c'est super ca repare la vue top !
par contre j'ai ce warning

Warning: explode() expects parameter 2 to be string, object given in /home/com3web5/revue.com3elles.com/administrator/components/com_hikashop/classes/filter.php on line 1602
des idées ?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 1 month ago #336278

Ah oui, c'est un oubli. Il faut enlever la ligne:
$temp = explode("::", $val);
dans administrator/components/com_hikashop/classes/filter.php car elle ne sert plus à rien.

Please Log in or Create an account to join the conversation.

  • Posts: 201
  • Thank you received: 7
  • Hikashop Business
3 years 1 month ago #336280

je valide nikel !

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum