Your software
My Mautic version is: 4.0.2
My PHP version is:
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
My Database type and version is:
mysql Ver 8.0.27-0ubuntu0.20.04.1 for Linux on x86_64
Your problem
My problem is:
When i off CORS in settings and back on it i see Error 500 on dashboard. But i can enter in settings or reports or /campaigns… Bugs only with dashboard.
after enabling and disabling CORS, I still tried to enter the isits published Pages report and I was able to do it. did not wait for the download and switched to the dashboard. The 500 error may have been caused by a report. I still cannot enter it
These errors are showing in the log:
mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “Call to a member function getCount() on int” at /home/master/m.everest-dom.com/app/bundles/StatsBundle/Aggregate/Calculator.php line 187 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function getCount() on int at ./app/bundles/StatsBundle/Aggregate/Calculator.php:187)"}
Steps I have tried to fix the problem:
php bin/console mautic:cache:clear
rm -rf app/cache/*
but no resolve