From 5fa48ecefe96d2bc56660eb647aa12886ec328d7 Mon Sep 17 00:00:00 2001 From: paladox Date: Sun, 29 Jan 2023 02:25:40 +0000 Subject: [PATCH] Change error to warning for "could not find db in matomo table" (#92) --- includes/MatomoAnalytics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/MatomoAnalytics.php b/includes/MatomoAnalytics.php index 578c733..1c92410 100644 --- a/includes/MatomoAnalytics.php +++ b/includes/MatomoAnalytics.php @@ -194,7 +194,7 @@ public static function getSiteID( string $dbname, bool $disableCache = false ) { ); if ( !isset( $id ) || !$id ) { - $logger->error( "Could not find {$dbname} in matomo table." ); + $logger->warning( "Could not find {$dbname} in matomo table." ); // Because the site is not found in the matomo table, // we default to a value set in 'MatomoAnalyticsSiteID' which is 1.