diff --git a/inpsyde-google-tag-manager.php b/inpsyde-google-tag-manager.php index 03c1999..3dd4820 100644 --- a/inpsyde-google-tag-manager.php +++ b/inpsyde-google-tag-manager.php @@ -103,7 +103,7 @@ function checkPluginRequirements(): bool return false; } - if (! class_exists(GoogleTagManager::class)) { + if (! class_exists(Event\LogEvent::class)) { $autoloader = __DIR__ . '/vendor/autoload.php'; if (! file_exists($autoloader)) { adminNotice(