No more tracking data

Hi,
I’m currently using Matomo (latest version 5.1.0) and a Wordpress (latest version 6.5.5) with Connect Matomo Plugin.
The plugin tell me that I’m connected:
WP-Matomo 1.0.30 is successfully connected to Matomo 5.1.0. You are running a WordPress 6.5.5 blog network (WPMU). WP-Matomo will handle your sites as different websites.

But I can’t see visit.

I’ve activated Tracker Debug in config.ini.php
[Tracker]
debug = 1
enable_sql_profiler = 1

And I don’t understand why, but it’s seams that’s an idSite problem…

DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] Debug enabled - Input parameters: array (
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'action_name' => 'website - Notifications and transactional emails sending platform',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'idsite' => '6',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'rec' => '1',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'r' => '616920',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'h' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'm' => '8',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 's' => '39',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'url' => 'https://www.website.io/',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'urlref' => 'https://www.website.io/',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] '_id' => '',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] '_idn' => '1',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'send_image' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] '_refts' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'pv_id' => 'ebV1dZ',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'pf_net' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'pf_srv' => '42',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'pf_tfr' => '3',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'pf_dm1' => '207',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'uadata' => '{"fullVersionList":[{"brand":"Not/A)Brand","version":"8.0.0.0"},{"brand":"Chromium","version":"126.0.6478.133"},{"brand":"Google Chrome","version":"126.0.6478.133"}],"mobile":false,"model":"","platform":"Linux","platformVersion":"6.1.0"}',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'pdf' => '1',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'qt' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'realp' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'wma' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'fla' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'java' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'ag' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'cookie' => '1',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] 'res' => '1920x1080',
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] )
DEBUG Piwik\Tracker[2024-07-08 22:08:39 UTC] [fc755] Current datetime: 2024-07-08 22:08:39
DEBUG PrivacyManager[2024-07-08 22:08:40 UTC] [fc755] General tracker cache was re-created.
DEBUG PrivacyManager[2024-07-08 22:08:40 UTC] [fc755] DoNotTrack header not found
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [fc755] Tracker encountered an exception: {ex}
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] Exception: /var/www/matomo/core/Site.php(155): An unexpected website was found in the request: website id was set to '6' .
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #0 /var/www/matomo/plugins/SitesManager/API.php(291): Piwik\Site::setSiteFromArray()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #1 /var/www/matomo/plugins/SitesManager/SitesManager.php(180): Piwik\Plugins\SitesManager\API->getSiteFromId()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #2 [internal function]: Piwik\Plugins\SitesManager\SitesManager->recordWebsiteDataInCache()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #3 /var/www/matomo/core/EventDispatcher.php(147): call_user_func_array()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #4 /var/www/matomo/core/Piwik.php(880): Piwik\EventDispatcher->postEvent()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #5 /var/www/matomo/core/Tracker/Cache.php(132): Piwik\Piwik::postEvent()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #6 /var/www/matomo/core/Access.php(672): Piwik\Tracker\Cache::Piwik\Tracker\{closure}()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #7 /var/www/matomo/core/Tracker/Cache.php(136): Piwik\Access::doAsSuperUser()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #8 /var/www/matomo/core/Tracker/Cache.php(90): Piwik\Tracker\Cache::updateCacheWebsiteAttributes()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #9 /var/www/matomo/core/Tracker/Request.php(622): Piwik\Tracker\Cache::getCacheWebsiteAttributes()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #10 /var/www/matomo/core/Tracker/Visit.php(106): Piwik\Tracker\Request->getIdSite()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #11 /var/www/matomo/core/Tracker/Visit.php(149): Piwik\Tracker\Visit->checkSiteExists()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #12 /var/www/matomo/core/Tracker.php(171): Piwik\Tracker\Visit->handle()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #13 /var/www/matomo/core/Tracker/Handler.php(55): Piwik\Tracker->trackRequest()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #14 /var/www/matomo/core/Tracker.php(151): Piwik\Tracker\Handler->process()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #15 /var/www/matomo/core/Tracker.php(126): Piwik\Tracker->track()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #16 /var/www/matomo/piwik.php(73): Piwik\Tracker->main()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #17 /var/www/matomo/matomo.php(14): include('...')
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [fc755] #18 {main} [Query: ?action_name=website%20-%20Notifications%20and%20transactional%20emails%20sending%20platform&idsite=6&rec=1&r=616920&h=0&m=8&s=39&url=https%3A%2F%2Fwww.website.io%2F&urlref=https%3A%2F%2Fwww.website.io%2F&_id=&_idn=1&send_image=0&_refts=0&pv_id=ebV1dZ&pf_net=0&pf_srv=42&pf_tfr=3&pf_dm1=207&uadata=%7B%22fullVersionList%22%3A%5B%7B%22brand%22%3A%22Not%2FA)Brand%22%2C%22version%22%3A%228.0.0.0%22%7D%2C%7B%22brand%22%3A%22Chromium%22%2C%22version%22%3A%22126.0.6478.133%22%7D%2C%7B%22brand%22%3A%22Google%20Chrome%22%2C%22version%22%3A%22126.0.6478.133%22%7D%5D%2C%22mobile%22%3Afalse%2C%22model%22%3A%22%22%2C%22platform%22%3A%22Linux%22%2C%22platformVersion%22%3A%226.1.0%22%7D&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=1920x1080, CLI mode: 0]
DEBUG Piwik\Common[2024-07-08 22:08:40 UTC] [fc755] Empty request => Matomo page
DEBUG Piwik\Common[2024-07-08 22:08:40 UTC] [fc755] End of the page.
DEBUG Piwik\Profiler[2024-07-08 22:08:40 UTC] [fc755] <hr /><strong>Breakdown by query</strong><br/>Executed <b>1</b> time in <b>0.5ms</b>  <pre>	SELECT * FROM matomo_custom_dimensions WHERE idsite = ? ORDER BY idcustomdimension</pre>Executed <b>1</b> time in <b>0.5ms</b>  <pre>	SELECT * FROM matomo_goal WHERE idsite IN (6) AND deleted = 0</pre>Executed <b>1</b> time in <b>0.7ms</b>  <pre>	SELECT url FROM matomo_site_url WHERE idsite = ?</pre>Executed <b>2</b> times in <b>0.8ms</b>  (average = <b>0.4ms</b>) <pre>	SELECT login FROM matomo_access WHERE idsite = ? AND access = ?</pre>Executed <b>3</b> times in <b>2.6ms</b>  (average = <b>0.9ms</b>) <pre>	SHOW INDEX FROM matomo_log_visit WHERE Key_name = ?</pre>Executed <b>3</b> times in <b>4.8ms</b>  (average = <b>1.6ms</b>) <pre>	SELECT option_name, option_value FROM `matomo_option` WHERE option_name LIKE ?</pre>Executed <b>3</b> times in <b>5.4ms</b>  (average = <b>1.8ms</b>) <pre>	SHOW COLUMNS FROM `matomo_log_conversion`</pre>Executed <b>3</b> times in <b>5.4ms</b>  (average = <b>1.8ms</b>) <pre>	SHOW COLUMNS FROM `matomo_log_link_visit_action`</pre>Executed <b>13</b> times in <b>6.6ms</b>  (average = <b>0.5ms</b>) <pre>	SELECT idsite FROM matomo_tracking_failure WHERE idsite = ? and idfailure = ?</pre>Executed <b>1</b> time in <b>7ms</b>  <pre>	INSERT INTO matomo_tracking_failure (`idsite`, `idfailure`, `date_first_occurred`, `request_url`) VALUES(?,?,?,?) ON DUPLICATE KEY UPDATE idsite=idsite;</pre>Executed <b>3</b> times in <b>8.3ms</b>  (average = <b>2.8ms</b>) <pre>	SHOW COLUMNS FROM `matomo_log_visit`</pre>Executed <b>4</b> times in <b>10.6ms</b>  (average = <b>2.7ms</b>) <pre>	SELECT option_value, option_name FROM `matomo_option` WHERE autoload = 1</pre>Executed <b>17</b> times in <b>22.4ms</b>  (average = <b>1.3ms</b>) <pre>	connect</pre>Executed <b>101</b> times in <b>41.1ms</b>  (average = <b>0.4ms</b>) <pre>	SELECT option_value FROM `matomo_option` WHERE option_name = ?</pre>Executed <b>60</b> times in <b>41.1ms</b>  (average = <b>0.7ms</b>) <pre>	SELECT * FROM matomo_site WHERE idsite = ?</pre>
DEBUG Piwik\Common[2024-07-08 22:08:40 UTC] [fc755] array (
DEBUG Piwik\Common[2024-07-08 22:08:40 UTC] [fc755] )
DEBUG Piwik\Common[2024-07-08 22:08:40 UTC] [fc755] Time elapsed: 0.206s
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] Debug enabled - Input parameters: array (
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'action_name' => 'Website - Notifications and transactional emails sending platform',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'idsite' => '6',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'rec' => '1',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'r' => '442460',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'h' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'm' => '8',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 's' => '39',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'url' => 'https://www.website.io/',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'urlref' => 'https://www.website.io/',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] '_id' => '',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] '_idn' => '1',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'send_image' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] '_refts' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'pv_id' => 'QrJlNK',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'pf_net' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'pf_srv' => '42',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'pf_tfr' => '3',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'pf_dm1' => '207',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'uadata' => '{"fullVersionList":[{"brand":"Not/A)Brand","version":"8.0.0.0"},{"brand":"Chromium","version":"126.0.6478.133"},{"brand":"Google Chrome","version":"126.0.6478.133"}],"mobile":false,"model":"","platform":"Linux","platformVersion":"6.1.0"}',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'pdf' => '1',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'qt' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'realp' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'wma' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'fla' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'java' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'ag' => '0',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'cookie' => '1',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] 'res' => '1920x1080',
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] )
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] Current datetime: 2024-07-08 22:08:40
DEBUG PrivacyManager[2024-07-08 22:08:40 UTC] [d8361] DoNotTrack header not found
DEBUG Piwik\Tracker[2024-07-08 22:08:40 UTC] [d8361] Tracker encountered an exception: {ex}
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] Exception: /var/www/matomo/core/Site.php(155): An unexpected website was found in the request: website id was set to '6' .
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #0 /var/www/matomo/plugins/SitesManager/API.php(291): Piwik\Site::setSiteFromArray()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #1 /var/www/matomo/plugins/SitesManager/SitesManager.php(180): Piwik\Plugins\SitesManager\API->getSiteFromId()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #2 [internal function]: Piwik\Plugins\SitesManager\SitesManager->recordWebsiteDataInCache()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #3 /var/www/matomo/core/EventDispatcher.php(147): call_user_func_array()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #4 /var/www/matomo/core/Piwik.php(880): Piwik\EventDispatcher->postEvent()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #5 /var/www/matomo/core/Tracker/Cache.php(132): Piwik\Piwik::postEvent()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #6 /var/www/matomo/core/Access.php(672): Piwik\Tracker\Cache::Piwik\Tracker\{closure}()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #7 /var/www/matomo/core/Tracker/Cache.php(136): Piwik\Access::doAsSuperUser()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #8 /var/www/matomo/core/Tracker/Cache.php(90): Piwik\Tracker\Cache::updateCacheWebsiteAttributes()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #9 /var/www/matomo/core/Tracker/Request.php(622): Piwik\Tracker\Cache::getCacheWebsiteAttributes()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #10 /var/www/matomo/core/Tracker/Visit.php(106): Piwik\Tracker\Request->getIdSite()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #11 /var/www/matomo/core/Tracker/Visit.php(149): Piwik\Tracker\Visit->checkSiteExists()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #12 /var/www/matomo/core/Tracker.php(171): Piwik\Tracker\Visit->handle()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #13 /var/www/matomo/core/Tracker/Handler.php(55): Piwik\Tracker->trackRequest()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #14 /var/www/matomo/core/Tracker.php(151): Piwik\Tracker\Handler->process()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #15 /var/www/matomo/core/Tracker.php(126): Piwik\Tracker->track()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #16 /var/www/matomo/piwik.php(73): Piwik\Tracker->main()
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #17 /var/www/matomo/matomo.php(14): include('...')
DEBUG Piwik\Tracker\Handler[2024-07-08 22:08:40 UTC] [d8361] #18 {main} [Query: ?action_name=website%20-%20Notifications%20and%20transactional%20emails%20sending%20platform&idsite=6&rec=1&r=442460&h=0&m=8&s=39&url=https%3A%2F%2Fwww.website.io%2F&urlref=https%3A%2F%2Fwww.website.io%2F&_id=&_idn=1&send_image=0&_refts=0&pv_id=QrJlNK&pf_net=0&pf_srv=42&pf_tfr=3&pf_dm1=207&uadata=%7B%22fullVersionList%22%3A%5B%7B%22brand%22%3A%22Not%2FA)Brand%22%2C%22version%22%3A%228.0.0.0%22%7D%2C%7B%22brand%22%3A%22Chromium%22%2C%22version%22%3A%22126.0.6478.133%22%7D%2C%7B%22brand%22%3A%22Google%20Chrome%22%2C%22version%22%3A%22126.0.6478.133%22%7D%5D%2C%22mobile%22%3Afalse%2C%22model%22%3A%22%22%2C%22platform%22%3A%22Linux%22%2C%22platformVersion%22%3A%226.1.0%22%7D&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=1920x1080, CLI mode: 0]
DEBUG Piwik\Common[2024-07-08 22:08:40 UTC] [d8361] Empty request => Matomo page
DEBUG Piwik\Common[2024-07-08 22:08:40 UTC] [d8361] End of the page.
DEBUG Piwik\Profiler[2024-07-08 22:08:40 UTC] [d8361] <hr /><strong>Breakdown by query</strong><br/>Executed <b>1</b> time in <b>0.5ms</b>  <pre>	SELECT * FROM matomo_custom_dimensions WHERE idsite = ? ORDER BY idcustomdimension</pre>Executed <b>1</b> time in <b>0.5ms</b>  <pre>	SELECT * FROM matomo_goal WHERE idsite IN (6) AND deleted = 0</pre>Executed <b>1</b> time in <b>0.7ms</b>  <pre>	SELECT url FROM matomo_site_url WHERE idsite = ?</pre>Executed <b>2</b> times in <b>0.8ms</b>  (average = <b>0.4ms</b>) <pre>	SELECT login FROM matomo_access WHERE idsite = ? AND access = ?</pre>Executed <b>3</b> times in <b>2.6ms</b>  (average = <b>0.9ms</b>) <pre>	SHOW INDEX FROM matomo_log_visit WHERE Key_name = ?</pre>Executed <b>3</b> times in <b>4.8ms</b>  (average = <b>1.6ms</b>) <pre>	SELECT option_name, option_value FROM `matomo_option` WHERE option_name LIKE ?</pre>Executed <b>3</b> times in <b>5.4ms</b>  (average = <b>1.8ms</b>) <pre>	SHOW COLUMNS FROM `matomo_log_conversion`</pre>Executed <b>3</b> times in <b>5.4ms</b>  (average = <b>1.8ms</b>) <pre>	SHOW COLUMNS FROM `matomo_log_link_visit_action`</pre>Executed <b>1</b> time in <b>7ms</b>  <pre>	INSERT INTO matomo_tracking_failure (`idsite`, `idfailure`, `date_first_occurred`, `request_url`) VALUES(?,?,?,?) ON DUPLICATE KEY UPDATE idsite=idsite;</pre>Executed <b>14</b> times in <b>7.1ms</b>  (average = <b>0.5ms</b>) <pre>	SELECT idsite FROM matomo_tracking_failure WHERE idsite = ? and idfailure = ?</pre>Executed <b>3</b> times in <b>8.3ms</b>  (average = <b>2.8ms</b>) <pre>	SHOW COLUMNS FROM `matomo_log_visit`</pre>Executed <b>4</b> times in <b>10.6ms</b>  (average = <b>2.7ms</b>) <pre>	SELECT option_value, option_name FROM `matomo_option` WHERE autoload = 1</pre>Executed <b>18</b> times in <b>23.7ms</b>  (average = <b>1.3ms</b>) <pre>	connect</pre>Executed <b>101</b> times in <b>41.1ms</b>  (average = <b>0.4ms</b>) <pre>	SELECT option_value FROM `matomo_option` WHERE option_name = ?</pre>Executed <b>64</b> times in <b>43.6ms</b>  (average = <b>0.7ms</b>) <pre>	SELECT * FROM matomo_site WHERE idsite = ?</pre>
DEBUG Piwik\Common[2024-07-08 22:08:40 UTC] [d8361] array (
DEBUG Piwik\Common[2024-07-08 22:08:40 UTC] [d8361] )
DEBUG Piwik\Common[2024-07-08 22:08:40 UTC] [d8361] Time elapsed: 0.076s

My idsite is 2 :frowning:

Do you have an idea ?

I tried with Connect Matomo plugin and with JS directly in the Header.
But same problem

I found where was my problem, so I share it here in case of someone have the same than me…

I’m using Complianz | GDPR/CCPA Cookie Consent plugin.

In the configuration wizard, you can give the Matomo siteID and my ID came from my development website…

So I just have to redo the Wizard and give the good idSite

1 Like