Feenders / joodb

JooDatabase the flexible Joomla database solution
GNU General Public License v3.0
0 stars 0 forks source link

content plugin {joodbitem ID} #1

Open floressa1 opened 8 months ago

floressa1 commented 8 months ago

Joomla 5.0.2 / php 8.1.25 / JooDB 4.5

If I add {joodbitem ID} i.e. {joodbitem 2}to the content article, I get the following error message.

0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::getParams()

Feenders commented 8 months ago

I can not confirm this issue.

Please make sure, that you have the joomla compatibility plugin enabled.

There should be the following at line 76 in /plugins/content/joodb/joodb.php $jp = JComponentHelper::getParams('com_joodb');

You could also enable Debugging and set the Error Output to see more details.

floressa1 commented 8 months ago

the joomla compatility plug in is enabled

debug Output:

1 | () | JROOT/components/com_joodb/helpers/joodb.php:157 2 | JoodbHelper::replaceField() | JROOT/components/com_joodb/helpers/joodb.php:62 3 | JoodbHelper::parseTemplate() | JROOT/plugins/content/joodb/joodb.php:102 4 | plgContentJoodb->_getJoodbContent() | JROOT/plugins/content/joodb/joodb.php:49 5 | plgContentJoodb->onContentPrepare() | JROOT/libraries/src/Plugin/CMSPlugin.php:289 6 | Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin{closure}() | JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454 7 | Joomla\Event\Dispatcher->dispatch() | JROOT/libraries/src/Application/EventAware.php:111 8 | Joomla\CMS\Application\WebApplication->triggerEvent() | JROOT/administrator/components/com_finder/src/Indexer/Helper.php:480 9 | Joomla\Component\Finder\Administrator\Indexer\Helper::prepareContent() | JROOT/plugins/finder/content/src/Extension/Content.php:295 10 | Joomla\Plugin\Finder\Content\Extension\Content->index() | JROOT/administrator/components/com_finder/src/Indexer/Adapter.php:374 11 | Joomla\Component\Finder\Administrator\Indexer\Adapter->reindex() | JROOT/plugins/finder/content/src/Extension/Content.php:190 12 | Joomla\Plugin\Finder\Content\Extension\Content->onFinderAfterSave() | JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454 13 | Joomla\Event\Dispatcher->dispatch() | JROOT/plugins/content/finder/src/Extension/Finder.php:58 14 | Joomla\Plugin\Content\Finder\Extension\Finder->onContentAfterSave() | JROOT/libraries/src/Plugin/CMSPlugin.php:289 15 | Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin{closure}() | JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454 16 | Joomla\Event\Dispatcher->dispatch() | JROOT/libraries/src/MVC/Model/AdminModel.php:1314 17 | Joomla\CMS\MVC\Model\AdminModel->save() | JROOT/administrator/components/com_content/src/Model/ArticleModel.php:780 18 | Joomla\Component\Content\Administrator\Model\ArticleModel->save() | JROOT/libraries/src/MVC/Controller/FormController.php:689 19 | Joomla\CMS\MVC\Controller\FormController->save() | JROOT/libraries/src/MVC/Controller/BaseController.php:730 20 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143 21 | Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() | JROOT/libraries/src/Component/ComponentHelper.php:361 22 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/AdministratorApplication.php:150 23 | Joomla\CMS\Application\AdministratorApplication->dispatch() | JROOT/libraries/src/Application/AdministratorApplication.php:195 24 | Joomla\CMS\Application\AdministratorApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:306 25 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/administrator/includes/app.php:58 26 | require_once() | JROOT/administrator/index.php:32