Your problem
Hi everyone,
I am on Mautic 4.1.1
I have this problem:
When I go to the menu Channels → Email the link doesn’t work.
If instead of clicking with the left button I do it with the:
right click → open in a new tab
it opens the link but I get error 500
Any ideas?
I’m also having this problem, but I also can’t access Config and Themes.
mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Type error: Argument 1 passed to Mautic\CoreBundle\Helper\ThemeHelper::shouldLoadTheme() must be of the type array, null given, called in /var/www/html/app/bundles/CoreBundle/Helper/ThemeHelper.php on line 622" at /var/www/html/app/bundles/CoreBundle/Helper/ThemeHelper.php line 642 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Type error: Argument 1 passed to Mautic\\CoreBundle\\Helper\\ThemeHelper::shouldLoadTheme() must be of the type array, null given, called in /var/www/html/app/bundles/CoreBundle/Helper/ThemeHelper.php on line 622 at /var/www/html/app/bundles/CoreBundle/Helper/ThemeHelper.php:642)"} []
" Solution worked:
Update this line :
private function shouldLoadTheme(array $config, string $featureRequested): bool
to
private function shouldLoadTheme(array $config = NULL, string $featureRequested): bool
in the file: mautic/app/bundles/CoreBundle/Helper/ThemeHelper.php