Get a fully functioning Matomo Analytics for your WordPress. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Privacy is built-in. 100% data ownership, no one else can see your data. We love Pull Requests!
Hello,
when hitting the "Archive reports" button in the Troubleshooting section of the WP Plugin it says:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
The Matomo Dashboard is not generating reports.
I attached the system report.
Can you help`?
Thanks.
Best Regards
# Matomo
Matomo Plugin Version: 5.1.2
Config exists and is writable.: Yes ("$abs_path/wp-content/uploads/matomo/config/config.ini.php" )
JS Tracker exists and is writable.: Yes ("$abs_path/wp-content/uploads/matomo/matomo.js" )
Matomo HTTP Tracking API - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)
Crons
Server time: 2024-07-23 13:02:57
Blog time: 2024-07-23 15:02:57 (Below dates are shown in blog timezone)
Sync users & sites: Next run: 2024-07-23 14:51:43 (-11 Minuten 14s) ( Last started: Unknown. Last ended: Unknown. Interval: daily)
Archive: Next run: 2024-07-23 14:51:02 (-11 Minuten 55s) ( Last started: Unknown. Last ended: Unknown. Interval: hourly)
Update GeoIP DB: Next run: 2024-07-23 14:51:33 (-11 Minuten 24s) ( Last started: Unknown. Last ended: Unknown. Interval: matomo_monthly)
Mandatory checks
PHP-Version >= 7.2.5: ok
PDO Erweiterung: ok
PDO\MYSQL Erweiterung: ok
MYSQLI Erweiterung: ok
Weitere erforderliche Anforderungen: ok
Erforderliche Funktionen: ok
Benötigte PHP Konfiguration (php.ini): ok
Verzeichnisse mit Schreibzugriff: ok
Verzeichnisse mit Schreibzugriff auf Tag Manager: ok
Optional checks
64-bit PHP Binär: ok
Tracker-Status: ok
Speicherlimit: ok
Zeitzone: ok
Öffnen einer URL: ok
GD > 2.x + FreeType (Grafiken): ok
Andere Erweiterungen: ok
Andere Funktionen: ok
Dateisystem: ok
Letzter erfolgreicher Abschluss der Archivierung: ok
Datenbankfähigkeiten: ok
Maximale Packetgröße: ok
Warning Standorterkennung: warning (Der Standard-Standortanbieter bestimmt das Land, aus dem die Besucher eine Verbindung herstellen, anhand der von ihnen gewählten Sprache. Dies ist nicht sehr genau, daher installieren und verwenden Sie eine Geolocation-Datenbank. )
Memory Limit: -1 (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.)
WP Memory Limit: 40M
WP Max Memory Limit: -1
Timezone version: 2022.6
Time: 1721739779
Max Execution Time: 30000
Max Post Size: 64M
Max Upload Size: 67108864
Max Input Vars: 5000
Disabled PHP functions: No
zlib.output_compression is off: Yes
Curl Version: 7.64.0, OpenSSL/1.1.1n
Suhosin installed: No
PHP cli
PHP CLI Version: Usage: php8.0 [-q] [-h] [-s] [-v] [-i] [-f ]
php8.0 [args...]
-a Run interactively
-b | Bind Path for external FASTCGI Server mode
-C Do not chdir to the script's directory
-c | Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f Parse . Implies `-q'
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z Load Zend extension .
-T Measure execution time of script repeated times. (The detected PHP CLI version does not match the PHP web version. To avoid archiving errors, enable archiving via HTTP requests, or manually set the path to your PHP CLI executable to the one for PHP version 8.0.30.)
MySQLi support: missing (Your PHP cli does not load the MySQLi extension. You might have archiving problems in Matomo but also others problems in your WordPress cron tasks. You should enable this extension)
Database
MySQL Version: 8.0.36
Mysqli Connect: Yes
Force MySQL over Mysqli: No
DB Prefix: vb0vz0vhkl
DB CHARSET: utf8mb4
DB COLLATE:
SHOW ERRORS: No
SUPPRESS ERRORS: No
Uses Socket: No
Uses IPv6: No
Matomo tables found: 50
DB tables exist: Yes
Matomo users found: 3
Matomo sites found: 1
Required permissions: OK
Browser
Browser: (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0)
Hi @georgemichaelis, this is a known issue for some hosting providers. The archiving ran, your browser is just not able to display the page again due to a currently unknown reason.
Hello, when hitting the "Archive reports" button in the Troubleshooting section of the WP Plugin it says: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data The Matomo Dashboard is not generating reports. I attached the system report. Can you help`?
Thanks.
Best Regards
Endpoints
Crons
Mandatory checks
Optional checks
Matomo Settings
Logs
WordPress
WordPress Plugins
MU Plugins
Plugins
Server
PHP cli
Database
Browser