nicolas wrote: @sudkarting:
@P.M.:
Can you activate the "debug system" setting of the Joomla configuration and reproduce the error again ? You should get an error with more information which will allow us to tell you what to do.
Yes, of course, sorry – I’ve been away for the last few days.
If I adjust the following values in an order and save them:
I get the following error message:
An error has occurred.
0 Call to a member function trigger() on null
Call Stack
# Function Location
1 () JROOT/plugins/hikaserial/pdfserial/pdfserial.php:128
2 plgHikaserialPdfserial->onBeforeSerialMailSend() JROOT/libraries/src/Plugin/CMSPlugin.php:386
3 Joomla\CMS\Plugin\CMSPlugin->{closure:Joomla\CMS\Plugin\CMSPlugin::registerLegacyListener():370}() 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/administrator/components/com_hikaserial/helpers/helper.php:893
6 hikaSerialBridgeDispatcher->trigger() JROOT/administrator/components/com_hikaserial/classes/mail.php:129
7 hikaserialMailClass->beforeMailSend() JROOT/plugins/hikashop/serials/serials.php:386
8 plgHikashopSerials->onBeforeMailSend() JROOT/libraries/src/Plugin/CMSPlugin.php:386
9 Joomla\CMS\Plugin\CMSPlugin->{closure:Joomla\CMS\Plugin\CMSPlugin::registerLegacyListener():370}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454
10 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
11 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/administrator/components/com_hikashop/classes/mail.php:875
12 hikashopMailClass->preProcessMail() JROOT/administrator/components/com_hikashop/classes/mail.php:911
13 hikashopMailClass->sendMail() JROOT/administrator/components/com_hikashop/classes/order.php:633
14 hikashopOrderClass->save() JROOT/administrator/components/com_hikashop/classes/order.php:1487
15 hikashopOrderClass->saveForm() JROOT/administrator/components/com_hikashop/controllers/order.php:776
16 OrderController->save() JROOT/libraries/src/MVC/Controller/BaseController.php:730
17 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2908
18 hikashopController->execute() JROOT/administrator/components/com_hikashop/hikashop.php:78
19 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
20 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::{closure:Joomla\CMS\Dispatcher\LegacyComponentDispatcher::dispatch():70}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
21 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->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:206
24 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:320
25 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
26 require_once() JROOT/administrator/index.php:32No emails are being sent – but via the Hikashop list in the backend:
The problem only occurs when I enable email sending: