Wordpress plugin errors

Hi, I have just installed the matomo WordPress plugin to my site but have this error:

The reported error begins:

  • Warning archive_main: 2021-09-12 19:46:34 (8 total errors during this script execution, please investigate and try and fix these errors. => CronArchive.php:599; CronArchive.php:592; CronArchive.php:265; Access.php:673; CronArchive.php:269; ScheduledTasks.php:330; class-wp-hook.php:301; class-wp-hook.php:327; plugin.php:518; wp-cron.php:138;)
  • Warning archive_errors: 2021-09-12 19:46:34 ('Got invalid response from API request: ?

How do I go about sorting this out please?

Thank you!

Paul
P.S. System report as follows:

			  # Matomo
  • Matomo Plugin Version: 4.4.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" )
  • Plugin directories: Yes ([{“pluginsPathAbsolute”:"$abs_path/wp-content/plugins/matomo/plugins",“webrootDirRelativeToMatomo”:"…/"}])
  • Tmp directory writable: Yes ($abs_path/wp-content/cache/matomo)
  • Matomo Version: 4.4.1
  • Matomo Blog idSite: 1
  • Matomo Install Version: 4.4.2 (Install date: 2021-09-12 18:09:49)
  • Upgrades outstanding: No
  • Upgrade in progress: No

Endpoints

  • Matomo JavaScript Tracker URL: ($site_url/wp-content/uploads/matomo/matomo.js)
  • Matomo JavaScript Tracker - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)
  • Matomo HTTP Tracking API: ($site_url/wp-content/plugins/matomo/app/matomo.php)
  • Matomo HTTP Tracking API - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)

Crons

  • Server time: 2021-09-12 19:34:58
  • Blog time: 2021-09-12 20:34:58 (Below dates are shown in blog timezone)
  • Sync users & sites: Next run: 2021-09-13 18:11:08 (21 hours 36 min) ( Last started: 2021-09-12 19:41:52 (-53 min 6s). Last ended: 2021-09-12 19:41:52 (-53 min 6s). Interval: daily)
  • Archive: Next run: 2021-09-12 21:09:50 (34 min 52s) ( Last started: 2021-09-12 20:10:27 (-24 min 31s). Last ended: 2021-09-12 20:11:00 (-23 min 58s). Interval: hourly)
  • Update GeoIP DB: Next run: 2021-10-12 18:10:30 (29 days 21 hours) ( Last started: 2021-09-12 18:10:34 (-2 hours 24 min). Last ended: 2021-09-12 18:10:36 (-2 hours 24 min). Interval: matomo_monthly)

Mandatory checks

  • PHP version >= : ok
  • PDO extension: ok
  • PDO\MYSQL extension: ok
  • 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
  • Last Successful Archiving Completion: ok
  • Database abilities: ok
  • Max Packet Size: ok
  • Geolocation: ok
  • Update over HTTPS: ok
  • Supports Async Archiving: Yes
  • Location provider ID: geoip2php
  • Location provider available: Yes
  • Location provider working: Yes
  • Had visit in last 5 days: Yes
  • Matomo URL: Yes ($site_url/wp-content/plugins/matomo/app/)

Matomo Settings

  • Track mode: default
  • Track codeposition: footer
  • Track api endpoint: default
  • Track js endpoint: default
  • Version history: 4.4.2
  • Core version: 4.4.1
  • Last tracking settings update: 1631474038
  • Last settings update: 1631474038
  • Track ecommerce: No

Logs

  • None:

WordPress

  • Home URL: $site_url
  • Site URL: $site_url
  • WordPress Version: 5.8.1
  • Number of blogs: 1
  • Multisite Enabled: No
  • Network Enabled: No
  • WP_DEBUG: No
  • WP_DEBUG_DISPLAY: Yes
  • WP_DEBUG_LOG: No
  • DISABLE_WP_CRON: -
  • FORCE_SSL_ADMIN: No
  • WP_CACHE: Yes
  • CONCATENATE_SCRIPTS: -
  • COMPRESS_SCRIPTS: -
  • COMPRESS_CSS: -
  • ENFORCE_GZIP: -
  • WP_LOCAL_DEV: -
  • WP_CONTENT_URL: $site_url/wp-content
  • WP_CONTENT_DIR: $abs_path/wp-content
  • UPLOADS: -
  • BLOGUPLOADDIR: -
  • DIEONDBERROR: -
  • WPLANG: -
  • ALTERNATE_WP_CRON: -
  • WP_CRON_LOCK_TIMEOUT: 60
  • WP_DISABLE_FATAL_ERROR_HANDLER: -
  • MATOMO_SUPPORT_ASYNC_ARCHIVING: -
  • MATOMO_TRIGGER_BROWSER_ARCHIVING: -
  • MATOMO_ENABLE_TAG_MANAGER: -
  • MATOMO_SUPPRESS_DB_ERRORS: -
  • MATOMO_ENABLE_AUTO_UPGRADE: -
  • MATOMO_DEBUG: -
  • MATOMO_SAFE_MODE: -
  • MATOMO_GLOBAL_UPLOAD_DIR: -
  • MATOMO_LOGIN_REDIRECT: -
  • Permalink Structure: /%category%/%postname%/
  • Possibly uses symlink: No
  • Upload base url: $site_url/wp-content/uploads
  • Upload base dir: $abs_path/wp-content/uploads
  • Upload url: $site_url/wp-content/uploads/2021/09
  • Custom upload_path:
  • Custom upload_url_path:
  • Compatible content directory: Yes

WordPress Plugins

MU Plugins

  • Elementor Safe Mode: 1.0.0
  • freesoul deactivate plugins [fdp]: 1.8.8.7.7

Plugins

  • Duplicate Page: 4.4.1
  • Elementor: 3.3.1
  • Elementor Pro: 3.3.5
  • Facebook for WordPress: 3.0.6
  • Fluent Forms: 3.6.74
  • Fluent Forms PDF Generator: 1.1.0
  • Fluent Forms Pro Add On Pack: 3.6.68
  • FluentFrom Signature: 3.6.69
  • Freesoul Deactivate Plugins: 1.8.8.7.7
  • Google Tag Manager for Wordpress: 1.13.1
  • Matomo Analytics - Ethical Stats. Powerful Insights.: 4.4.2
  • Property Hive: 1.5.18
  • Property Hive BLM Export Add On: 1.1.28
  • Property Hive Data Import Add On: 1.0.11
  • Property Hive Digital Window Displays Add On: 1.0.9
  • Property Hive Facebook Marketplace Property Export: 1.0.7
  • Property Hive Infinite Scroll Add On: 1.0.9
  • Property Hive Map Search Add On: 1.1.30
  • Property Hive Mortgage Calculator: 1.0.4
  • Property Hive Moving Cost Calculator Add On: 1.0.1
  • Property Hive Printable Brochures Add On: 1.0.12
  • Property Hive Property Import Add On: 1.2.53
  • Property Hive Property Import Knack Add On: 1.0.2
  • Property Hive Radial Search Add On: 1.0.25
  • Property Hive Real-Time Feed Add On: 1.1.44
  • Property Hive Rental Yield Calculator: 1.0.3
  • Property Hive Shortlist Add On: 1.0.12
  • Property Hive Stamp Duty Calculator: 1.0.12
  • Property Hive Template Assistant Add On: 1.0.48
  • Property Hive Window Cards Add On: 1.0.1
  • Rank Math SEO: 1.0.70
  • Wordfence Security: 7.5.5 (Network enabled)
  • WP Mail SMTP: 2.9.0
  • WP Rocket: 3.9.3
  • WPvivid Backup Plugin: 0.9.60
  • WPvivid Imgoptim Free: 0.9.14
  • WPvivid Plugins Pro: 2.0.23
  • WP Webhooks: 3.2.1
  • Active Plugins: 38 (duplicate-page duracelltomi-google-tag-manager elementor-pro elementor fluentform-signature fluentform fluentformpro fluentforms-pdf freesoul-deactivate-plugins matomo official-facebook-pixel property-hive-mortgage-calculator property-hive-rental-yield-calculator property-hive-stamp-duty-calculator propertyhive-blm-export propertyhive-data-import propertyhive-digital-window-displays propertyhive-facebook-export propertyhive-infinite-scroll propertyhive-map-search propertyhive-moving-cost-calculator propertyhive-printable-brochures propertyhive-property-import-knack propertyhive-property-import propertyhive-radial-search propertyhive-real-time-feed propertyhive-shortlist propertyhive-template-assistant propertyhive-window-cards propertyhive seo-by-rank-math wordfence wp-mail-smtp wp-rocket wp-webhooks wpvivid-backup-pro wpvivid-backuprestore wpvivid-imgoptim)
  • Theme: honeycomb (honeycomb-child)

Server

  • Server Info: nginx/1.20.0
  • PHP OS: Linux
  • PHP Version: 7.3.28-1+ubuntu18.04.1+deb.sury.org+1
  • PHP SAPI: fpm-fcgi
  • PHP Binary Name: php-fpm7.3
  • PHP Error Reporting: 0 After bootstrap: 0
  • PHP Found Binary: php -q
  • Timezone: UTC
  • WP timezone: Europe/London
  • Locale: en_GB
  • User Locale: en_GB
  • Memory Limit: 256M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.)
  • WP Memory Limit: 40M
  • WP Max Memory Limit: 256M
  • Timezone version: 0.system
  • Time: 1631475298
  • Max Execution Time: 300
  • Max Post Size: 2G
  • Max Upload Size: 2147483648
  • Max Input Vars: 3000
  • Disabled PHP functions: Yes (pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,)
  • zlib.output_compression is off: Yes
  • Curl Version: 7.58.0, OpenSSL/1.1.1g
  • Suhosin installed: No

Database

  • MySQL Version: 5.7.33
  • Mysqli Connect: Yes
  • Force MySQL over Mysqli: No
  • DB Prefix: wp_
  • DB CHARSET: utf8
  • DB COLLATE:
  • SHOW ERRORS: No
  • SUPPRESS ERRORS: No
  • Uses Socket: No
  • Uses IPv6: No
  • Matomo tables found: 47
  • DB tables exist: Yes
  • Matomo users found: 2
  • Matomo sites found: 1
  • Required permissions: OK

Browser

  • Browser: (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36)
  • Language: en-gb,en-us,en

hi @Paul2000

Welcome to the Matomo community.
You can try to disable async archiving by adding in your wp-config.php file the following line.

define( 'MATOMO_SUPPORT_ASYNC_ARCHIVING', false );

Tell us if this solve your issue.

Kind regards

Mat

Thank you Mat, I can confirm this worked.

I am using vultr one click install of wordpress on a ubuntu 20.04 LTS.

Thanks again!

Thank you!
This worked for me. I am using vultr one click install of WordPress.
:slightly_smiling_face: