I just updated JComments from GitHub.
https://github.com/exstreme/Jcomments-4
I have Joomla 4.4.4 and PHP 8.1 But when I afterwards edited an article and saved it I got error message:
0 Class "JCommentsPlugin" not found
After bugsearch I got this:
#FunctionLocation
1()JROOT/components/com_jcomments/plugins/com_content.plugin.php:21
2include_once()JROOT/components/com_jcomments/helpers/object.php:103
3JCommentsObject::_loadObjectInfo()JROOT/components/com_jcomments/helpers/object.php:244
4JCommentsObject::storeObjectInfo()JROOT/plugins/content/jcomments/jcomments.php:385
5PlgContentJcomments->onContentAfterSave()JROOT/libraries/src/Plugin/CMSPlugin.php:289
6Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}()JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
7Joomla\Event\Dispatcher->dispatch()JROOT/libraries/src/Application/EventAware.php:111
8Joomla\CMS\Application\WebApplication->triggerEvent()JROOT/libraries/src/MVC/Model/AdminModel.php:1277
9Joomla\CMS\MVC\Model\AdminModel->save()JROOT/administrator/components/com_content/src/Model/ArticleModel.php:779
10Joomla\Component\Content\Administrator\Model\ArticleModel->save()JROOT/libraries/src/MVC/Controller/FormController.php:676
11Joomla\CMS\MVC\Controller\FormController->save()JROOT/libraries/src/MVC/Controller/BaseController.php:693
12Joomla\CMS\MVC\Controller\BaseController->execute()JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
13Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:361
14Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/AdministratorApplication.php:143
15Joomla\CMS\Application\AdministratorApplication->dispatch()JROOT/libraries/src/Application/AdministratorApplication.php:186
16Joomla\CMS\Application\AdministratorApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:293
17Joomla\CMS\Application\CMSApplication->execute()JROOT/administrator/includes/app.php:61
18require_once()JROOT/administrator/index.php:32
com_content.plugin.php:21 is: class jc_com_content extends JCommentsPlugin
Any suggestions?
https://github.com/exstreme/Jcomments-4
I have Joomla 4.4.4 and PHP 8.1 But when I afterwards edited an article and saved it I got error message:
0 Class "JCommentsPlugin" not found
After bugsearch I got this:
#FunctionLocation
1()JROOT/components/com_jcomments/plugins/com_content.plugin.php:21
2include_once()JROOT/components/com_jcomments/helpers/object.php:103
3JCommentsObject::_loadObjectInfo()JROOT/components/com_jcomments/helpers/object.php:244
4JCommentsObject::storeObjectInfo()JROOT/plugins/content/jcomments/jcomments.php:385
5PlgContentJcomments->onContentAfterSave()JROOT/libraries/src/Plugin/CMSPlugin.php:289
6Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}()JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
7Joomla\Event\Dispatcher->dispatch()JROOT/libraries/src/Application/EventAware.php:111
8Joomla\CMS\Application\WebApplication->triggerEvent()JROOT/libraries/src/MVC/Model/AdminModel.php:1277
9Joomla\CMS\MVC\Model\AdminModel->save()JROOT/administrator/components/com_content/src/Model/ArticleModel.php:779
10Joomla\Component\Content\Administrator\Model\ArticleModel->save()JROOT/libraries/src/MVC/Controller/FormController.php:676
11Joomla\CMS\MVC\Controller\FormController->save()JROOT/libraries/src/MVC/Controller/BaseController.php:693
12Joomla\CMS\MVC\Controller\BaseController->execute()JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
13Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:361
14Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/AdministratorApplication.php:143
15Joomla\CMS\Application\AdministratorApplication->dispatch()JROOT/libraries/src/Application/AdministratorApplication.php:186
16Joomla\CMS\Application\AdministratorApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:293
17Joomla\CMS\Application\CMSApplication->execute()JROOT/administrator/includes/app.php:61
18require_once()JROOT/administrator/index.php:32
com_content.plugin.php:21 is: class jc_com_content extends JCommentsPlugin
Any suggestions?
Statistics: Posted by Slackervaara — Thu May 23, 2024 12:43 pm