jemproject / JEM-Project

JEM - an Event Manager for Joomla
https://www.joomlaeventmanager.net
GNU General Public License v3.0
25 stars 37 forks source link

Backend>new/edit event problem with JEM smart search plugin! #1344

Closed jojo12 closed 1 year ago

jojo12 commented 1 year ago

1295

Backend: New/edit event>Save -->does save, but not “category” -->there is nothing saved in cat_events! Error: Call to undefined method Joomla\Component\Finder\Administrator\Indexer\Helper::getContentPath()

Heklaterriol commented 1 year ago

cannot reproduce it: can you provide more details

jojo12 commented 1 year ago

I open in backend events>new event. I choose a title, a date and a category e.g. testcategory (I created before). Then I save. There comes the error above. When I go back into backend>events, I see the new event, but with no category. When I look into db, there is nothing new in cat_event!

Heklaterriol commented 1 year ago

I tried everything to reproduce it, but I do not get this error – works fine here …

jojo12 commented 1 year ago

did you look in the db? (I can't in your JEM4)

Heklaterriol commented 1 year ago

Yes, everything looks fine … Please have look at the PM in the JEM board

jojo12 commented 1 year ago

this problems continues!

Heklaterriol commented 1 year ago

could you provide the call stack (when error reporting on maximum)

jojo12 commented 1 year ago
# | Function | Location -- | -- | -- 1 | () | JROOT\plugins\finder\jem\jem.php:291 2 | plgFinderJEM->index() | JROOT\administrator\components\com_finder\src\Indexer\Adapter.php:360 3 | Joomla\Component\Finder\Administrator\Indexer\Adapter->reindex() | JROOT\plugins\finder\jem\jem.php:172 4 | plgFinderJEM->onFinderAfterSave() | JROOT\libraries\src\Plugin\CMSPlugin.php:279 5 | Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() | JROOT\libraries\vendor\joomla\event\src\Dispatcher.php:486 6 | Joomla\Event\Dispatcher->dispatch() | JROOT\libraries\src\Application\EventAware.php:107 7 | Joomla\CMS\Application\WebApplication->triggerEvent() | JROOT\plugins\content\finder\finder.php:46 8 | PlgContentFinder->onContentAfterSave() | JROOT\libraries\src\Plugin\CMSPlugin.php:279 9 | Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() | JROOT\libraries\vendor\joomla\event\src\Dispatcher.php:486 10 | Joomla\Event\Dispatcher->dispatch() | JROOT\libraries\src\Application\EventAware.php:107 11 | Joomla\CMS\Application\WebApplication->triggerEvent() | JROOT\libraries\src\MVC\Model\AdminModel.php:1277 12 | Joomla\CMS\MVC\Model\AdminModel->save() | JROOT\administrator\components\com_jem\models\event.php:328 13 | JemModelEvent->save() | JROOT\libraries\src\MVC\Controller\FormController.php:676 14 | Joomla\CMS\MVC\Controller\FormController->save() | JROOT\libraries\src\MVC\Controller\BaseController.php:672 15 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT\administrator\components\com_jem\jem.php:51 16 | require_once() | JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:71 17 | Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() | JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:73 18 | Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() | JROOT\libraries\src\Component\ComponentHelper.php:355 19 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT\libraries\src\Application\AdministratorApplication.php:143 20 | Joomla\CMS\Application\AdministratorApplication->dispatch() | JROOT\libraries\src\Application\AdministratorApplication.php:186 21 | Joomla\CMS\Application\AdministratorApplication->doExecute() | JROOT\libraries\src\Application\CMSApplication.php:294 22 | Joomla\CMS\Application\CMSApplication->execute() | JROOT\administrator\includes\app.php:61 23 | require_once() | JROOT\administrator\index.php:32
jojo12 commented 1 year ago

the same time as deprecatede:

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\joomla_42\libraries\vendor\joomla\registry\src\Format\Json.php on line 54

jojo12 commented 1 year ago

testing on xampp localhost

jojo12 commented 1 year ago

result newevent

jojo12 commented 1 year ago

2.3.8 Problem persists

jojo12 commented 1 year ago

When I disable in my installation JEM smart search then the problem is away!!! ;-)