exstreme / Jcomments-4

Modified Jcomments 3.0.7 with Recaptcha 2 in comments. Adapted to Joomla 4. No compatibility with Joomla 1.5\2.5\3.x
16 stars 12 forks source link

deprecated or error in search plugin 0 class "JString" not found #170

Closed jojo12 closed 1 month ago

jojo12 commented 1 month ago

I tested without compat plugin, then the error (with compat plugin, no error) , -->so it's deprecated:

0 class "JString" not found 1 () JROOT/plugins/search/jcomments/jcomments.php:55
2 plgSearchJComments->onContentSearch() JROOT/libraries/src/Plugin/CMSPlugin.php:289
3 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454
4 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
5 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/components/com_search/models/search.php:147
6 SearchModelSearch->getData() JROOT/libraries/src/MVC/View/AbstractView.php:159
7 Joomla\CMS\MVC\View\AbstractView->get() JROOT/components/com_search/views/search/view.html.php:131
8 SearchViewSearch->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
9 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_search/controller.php:40
10 SearchController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
11 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_search/search.php:16
12 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
14 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
15 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:218
16 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:261
17 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
18 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
19 require_once() JROOT/index.php:32
Globulopolis commented 1 month ago

Jcomments search plugin isn't working on J4/J5 and removed from Jcomments package.

9 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_search/controller.php:40

com_search not in Joomla 4/5 component anymore(replaced by com_finder).

jojo12 commented 1 month ago

thanks