Skip to main content

Support Policy

We only provide official support for Solidres's subscribers, all subscribers can request support by using forum or support ticket system. For more information please check our Support Policy at www.solidres.com/support-policy

MailCatcher v2 : error in administrator/components/com_mailcatcher/src/Controll…

More
5 months 3 weeks ago #21773 by arnaud@agdg.fr
Joomla 6.1.0
MailCatcher v2.0

in administrator/components/com_mailcatcher/src/Controller/DisplayController.php:

error "Call to protected method Joomla\CMS\Application\CMSApplication::getContainer() from scope Joomla\Component\Mailcatcher\Administrator\Controller\DisplayController"

I had to change (line 33):

$db = $this->app->getContainer()->get(DatabaseInterface::class);

to :

use Joomla\CMS\Factory;
$db = Factory::getDbo();

Works properly now.
Please tell if it helps.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #21774 by solidres
Hi,

Thank you for your update, a new Mail Catcher version would be released soon to fix this issue.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres

All the things you need to make your work easier. Did you like Solidres?