RcaTheme Support Forum

  1. Jihène Zouaoui
  2. Extensions
  3. Saturday, 30 October 2021
  4.  Subscribe via email
Got this error when installing mod_rca_hikashop_search purchased with the estore theme on my Joomla 4 installation.
I think JRequest needs to be replaced to be Joomla 4 compatible. Do you confirm this? If this a bug, can you fix it please and update the module.

Thank you for your help
Best regards

Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "JRequest" from the global namespace.
Did you forget a "use" statement?

at /Users/alex/Sites/j4.institutcalysta.local/modules/mod_rca_hikashop_search/tmpl/default.php:28
at require()
(/Users/alex/Sites/j4.institutcalysta.local/modules/mod_rca_hikashop_search/mod_rca_hikashop_search.php:89)
at include('/Users/alex/Sites/j4.institutcalysta.local/modules/mod_rca_hikashop_search/mod_rca_hikashop_search.php')
(/Users/alex/Sites/j4.institutcalysta.local/libraries/src/Dispatcher/ModuleDispatcher.php:54)
at Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}('/Users/alex/Sites/j4.institutcalysta.local/modules/mod_rca_hikashop_search/mod_rca_hikashop_search.php', null)
(/Users/alex/Sites/j4.institutcalysta.local/libraries/src/Dispatcher/ModuleDispatcher.php:57)
at Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch()
(/Users/alex/Sites/j4.institutcalysta.local/libraries/src/Helper/ModuleHelper.php:295)
at Joomla\CMS\Helper\ModuleHelper::renderRawModule(object(stdClass), object(Registry), array('style' => 'xhtml'))
(/Users/alex/Sites/j4.institutcalysta.local/libraries/src/Helper/ModuleHelper.php:167)
at Joomla\CMS\Helper\ModuleHelper::renderModule(object(stdClass), array('style' => 'xhtml'))
(/Users/alex/Sites/j4.institutcalysta.local/libraries/src/Document/Renderer/Html/ModuleRenderer.php:102)
at Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render(object(stdClass), array('style' => 'xhtml'))
(/Users/alex/Sites/j4.institutcalysta.local/plugins/content/loadmodule/loadmodule.php:179)
at PlgContentLoadmodule->_load('header-search', 'xhtml')
(/Users/alex/Sites/j4.institutcalysta.local/plugins/content/loadmodule/loadmodule.php:85)
at PlgContentLoadmodule->onContentPrepare('mod_custom.content', object(stdClass), '', 0)
(/Users/alex/Sites/j4.institutcalysta.local/libraries/src/Plugin/CMSPlugin.php:285)
at Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}(object(Event))
(/Users/alex/Sites/j4.institutcalysta.local/libraries/vendor/joomla/event/src/Dispatcher.php:486)
at Joomla\Event\Dispatcher->dispatch('onContentPrepare', object(Event))
(/Users/alex/Sites/j4.institutcalysta.local/libraries/src/Application/EventAware.php:111)
at Joomla\CMS\Application\WebApplication->triggerEvent('onContentPrepare', array('mod_custom.content', object(stdClass), '', 0))
(/Users/alex/Sites/j4.institutcalysta.local/libraries/src/HTML/Helpers/Content.php:48)
at Joomla\CMS\HTML\Helpers\Content::prepare('{loadposition header-search}', '', 'mod_custom.content')
(/Users/alex/Sites/j4.institutcalysta.local/libraries/src/HTML/HTMLHelper.php:322)
at Joomla\CMS\HTML\HTMLHelper::call(array('Joomla\\CMS\\HTML\\Helpers\\Content', 'prepare'), array('{loadposition header-search}', '', 'mod_custom.content'))
(/Users/alex/Sites/j4.institutcalysta.local/libraries/src/HTML/HTMLHelper.php:134)
at Joomla\CMS\HTML\HTMLHelper::_('jhtml.content.prepare', '{loadposition header-search}', '', 'mod_custom.content')
(/Users/alex/Sites/j4.institutcalysta.local/libraries/gantry5/src/classes/Gantry/Framework/Platform.php:241)
at Gantry\Framework\Platform->filter('{loadposition header-search}')
(/Users/alex/Sites/j4.institutcalysta.local/libraries/gantry5/vendor/twig/twig/src/Template.php:702)
at Twig\Template->getAttribute(object(Platform), 'filter', array('{loadposition header-search}'), 'method')
(/Users/alex/Sites/j4.institutcalysta.local/cache/gantry5/r_estore/twig/e8/e8bd1818e6b4ca133a86ab1252a6dedd6edfb7a112cb6cdee840190153115d38.php:142)
Responses (1)


There are replies in this post but you are not allowed to view the replies from this post.