Closed darinlarimore closed 1 year ago
Class "nystudio107\seomatic\Seomatic" not found Getting this error traces back to https://github.com/nystudio107/craft-instantanalytics-ga4/blob/develop-v4/src/helpers/Analytics.php#L34-L36
Class "nystudio107\seomatic\Seomatic" not found
Steps to reproduce the behaviour: Install plugin without SEOmatic also installed.
Should gracefully exit
I think maybe adding check for it like this or something could silence it.
if (!class_exists(Seomatic::class)) { return null; }
Good catch, thanks!
Addressed in: 73792e02a03b25d4a370ba83613e613a6f7e2f49
Describe the bug
Class "nystudio107\seomatic\Seomatic" not found
Getting this error traces back to https://github.com/nystudio107/craft-instantanalytics-ga4/blob/develop-v4/src/helpers/Analytics.php#L34-L36To reproduce
Steps to reproduce the behaviour: Install plugin without SEOmatic also installed.
Expected behaviour
Should gracefully exit
I think maybe adding check for it like this or something could silence it.
Screenshots
Versions