I have been using the WordPress plugin on our WordPress multisite build and we are now getting an error for any new sites. Anyone know what it might be? The plugin in is not network enabled, it is tuned on site by site.
Error: no website was found in this Matomo installation.
Check the table ‘wp_30_matomo_site’ in your database, it should contain your Matomo websites.
Hi @johnpendleton sorry about that problem. Is this happening for all sites in your multisite installation? Did you install the plugin recently or was it working before?
It may also help going to “Matomo Analytics -> Diagnostics -> Troubleshooting” and click on the “Sync Site(s)” button and check if it works afterwards maybe or if an error shows up? You will want to try this for the sites where you get this error message.
Thank you for getting back to me, let me forward this to my work email and see what I can get for you in the way of a report out. I will try to sync the site as well.
BTW the plugin has been installed for a while and it has just started happening on any new site. it still works on the old sites. Do I need to update the plugin?
Hey Thomas, your system keeps telling me that I am a new user and I can only include two links in my reply. Can you make it so I can post more than two links? I guess your system report has a lot of links in it.
BTW - I turned off every other plugin and that did not work.
Errors
Error Last Successful Archiving Completion: error (Archiving last ran successfully on Monday, August 31, 2020 17:24:42 which is 251 days 21:06:12 ago )
Matomo
Matomo Plugin Version: 1.0.5
Config exists and is writable.: Yes ("$ABSPATH/wp-content/uploads/sites/29/matomo/config/config.ini.php" )
JS Tracker exists and is writable.: Yes ("$ABSPATH/wp-content/uploads/sites/29/matomo/matomo.js" )
Matomo HTTP Tracking API - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)
Crons
Server time: 2021-05-10 14:30:54
Blog time: 2021-05-10 07:30:54 (Below dates are shown in blog timezone)
Sync users & sites: Next run: 2021-05-10 09:23:54 (1 hours 53 min) ( Last started: 2020-08-31 09:25:11 (-251 days 22 hours). Last ended: 2020-08-31 09:25:12 (-251 days 22 hours). Interval: daily)
Archive: Next run: 2021-05-10 08:23:54 (53 min 0s) ( Last started: 2020-08-31 10:24:41 (-251 days 21 hours). Last ended: 2020-08-31 10:24:42 (-251 days 21 hours). Interval: hourly)
Update GeoIP DB: Next run: 2021-06-09 07:30:24 (29 days 23 hours) ( Last started: 2021-05-10 07:30:27 (-27s). Last ended: Unknown. Interval: matomo_monthly)
Mandatory checks
PHP version >= : ok
Warning PDO extension: warning
MYSQLI extension: ok
Other required extensions: ok
Required functions: ok
Required PHP configuration (php.ini): ok
Directories with write access: ok
Directories with write access for Tag Manager: ok
Optional checks
Tracker status: ok
Memory limit: ok
Time zone: ok
Open URL: ok
PageSpeed disabled: ok
GD > 2.x + Freetype (graphics): ok
Other extensions: ok
Other functions: ok
Filesystem: ok
Archive Cron: ok
Error Last Successful Archiving Completion: error (Archiving last ran successfully on Monday, August 31, 2020 17:24:42 which is 251 days 21:06:12 ago )
Max Packet Size: ok
Warning Geolocation: warning (Geolocation works, but you are not using one of the recommended providers. If you have to import log files or do something else that requires setting IP addresses, use the PHP GeoIP 2 implementation and install maxminddb extension. )