Error:
0 - Class "JEventDispatcher" not found
Call stack:
JROOT/components/com_search/models/search.php:231
JROOT/libraries/src/MVC/View/AbstractView.php:152
JROOT/components/com_search/views/search/view.html.php:41
PHP 8.1.26
10.5.22-MariaDB-cll-lve
Joomla! 4.4.1 Stable [ Pamoja ] 28-November-2023 16:00 GMT
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
"The Search component, com_search is part of Joomla 3 and it is not required in Joomla 4. Joomla 4 uses Smart Search, com_finder." hmmm
Why is it not then removed in Joomla 4 and Joomla 5?
How can it then be possible to add the "Module Search (=com_search) is added" if it not work in Joomla 4 & 5? If so serious bug.
Maybe releated to issue I have here too https://issues.joomla.org/tracker/joomla-cms/42617
com_search was decoupled from Joomla 4. Version 4.1.0 is available (not tested): https://github.com/joomla-extensions/search/releases
Hellom
Thanks for all replies.
When: 'The Search component, com_search is part of Joomla 3 and it is not required in Joomla 4. Joomla 4 uses Smart Search, com_finder.'
it should be removed from the repository. A module which is not working/supported anymore should not be included.
And I reported here in the issue tracker, because it is a (serious) bug and not a forum question.
(remark: thera are more third party Joomla 4 components using JEventDispatcher e.g. JCE; so all these components are getting problems I guess).
Regards,
Peter
Remerk 2: I upgraded from Joomla 3.10. May that's why com_search is there. It is not removed during upgrading.
May be it is an idea to check obsolete modules and remove them.
Regards,
Peter
Remark 3: or offer an update of com_search. The https://raw.githubusercontent.com/joomla-extensions/search/main/manifest.xml does offer version 4.0.1-dev, but that is nog visible in the standard update path.
Proposal to enhance Update procedure:
This feature suggested here: https://issues.joomla.org/tracker/joomla-cms/42626
As has been written here, there is an update to com_search which fixes this issue. Closing this issue.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-01-24 07:41:37 |
Closed_By | ⇒ | Hackwar |
The result is expected, because Joomla 4 does not have the class JEventDispatcher. The Search component, com_search is part of Joomla 3 and it is not required in Joomla 4. Joomla 4 uses Smart Search, com_finder.
It is better to post these types of issues first to the Joomla! forum, https://forum.joomla.org.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42625.