Mobile Menu Plugin causes critical error in Joomla 4 serach module (mod_finder)

More
2 years 4 months ago #65153 by kuk
My installation: Joomla 4.1.5, PHP 8.1.1, Mobile Menu CK Pro 1.5.11

Since recently I have the problem that the Joomla search module (mod_finder) returns the error: „JLIB_JS_AJAX_ERROR_OTHER Internal Server Error“ when entering a search and then the template is shredded when confirming the search.

The log shows a critical error with "Class "Mobilemenuck\Helper" not found".

In fact, the search function works if the Mobilemenuck plugin has been disabled.

This is of course not what I want. Is there a solution feasible?


Error:

2022-07-18T13:01:02+00:00 CRITICAL ::1 error Uncaught Throwable of type Error thrown with message "Class "Mobilemenuck\Helper" not found". Stack trace: #0 [ROOT]/libraries/src/Plugin/CMSPlugin.php(285): PlgSystemMobilemenuck->onBeforeRender()
#1 [ROOT]/libraries/vendor/joomla/event/src/Dispatcher.php(486): Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}(Object(Joomla\Event\Event))
#2 [ROOT]/libraries/src/Application/EventAware.php(111): Joomla\Event\Dispatcher->dispatch('onBeforeRender', Object(Joomla\Event\Event))
#3 [ROOT]/libraries/src/Application/CMSApplication.php(1029): Joomla\CMS\Application\WebApplication->triggerEvent('onBeforeRender')
#4 [ROOT]/libraries/src/Application/SiteApplication.php(802): Joomla\CMS\Application\CMSApplication->render()
#5 [ROOT]/libraries/src/Application/CMSApplication.php(284): Joomla\CMS\Application\SiteApplication->render()
#6 [ROOT]/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute()
#7 [ROOT]/index.php(32): require_once('/Users/Shared/W...')
#8 {main}

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

More
2 years 4 months ago #65154 by ced1870
Hi
Please try this version
www.dropbox.com/s/9rdi3m12p31dn16/mobilemenuck.zip?dl=0

it shall fix the problem, let me know
CEd

Joomlack Webmaster and Developer

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

More
2 years 4 months ago #65155 by kuk
Wow, that was fast. :)

Yes this fixes the error with Joomla search module ("mod_finder").

Thanks a lot, I am really impressed.

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

More
2 years 4 months ago #65156 by ced1870
great news
I will integrate this modification in the next version, thanks for your feebback

Joomlack Webmaster and Developer

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

Time to create page: 0.209 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 972 guests and one member online