• Resolved richesio

    (@richesio)


    Hello,

    I get the follow two cron errors…

    archive_main 2024-12-19 12:52:43 5 total errors during this script execution, please investigate and try and fix these errors. => CronArchive.php:473; CronArchive.php:468; CronArchive.php:226; Access.php:567; CronArchive.php:230; ScheduledTasks.php:378; class-wp-hook.php:322; class-wp-hook.php:348; plugin.php:565; wp-cron.php:191;


    archive_errors 2024-12-19 12:52:43 ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-12-19&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-12-18&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=week&date=2024-12-16&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=month&date=2024-12-01&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2024-01-01&format=json&trigger=archivephp: \’ \” ‘5 total errors during this script execution, please investigate and try and fix these errors.’ => ScheduledTasks.php:392; class-wp-hook.php:322; class-wp-hook.php:348; plugin.php:565; wp-cron.php:191;

    Here is the system report:

                  # Matomo
    • Matomo Plugin Version: 5.1.7
    • 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”:”..\/plugins”}])
    • Tmp directory writable: Yes ($abs_path/wp-content/cache/matomo)
    • Matomo Version: 5.1.2
    • Matomo Blog idSite: 1
    • Matomo Install Version: 5.1.7 (Install date: 2024-12-18 14:45:37)
    • 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: 2024-12-19 12:55:12
    • Blog time: 2024-12-19 12:55:12 (Below dates are shown in blog timezone)
    • Sync users & sites: Next run: 2024-12-19 14:47:05 (1 hours 51 min) ( Last started: 2024-12-19 12:52:45 (-2 min 27s). Last ended: 2024-12-19 12:52:45 (-2 min 27s). Interval: daily)
    • Archive: Next run: 2024-12-19 13:45:40 (50 min 28s) ( Last started: 2024-12-19 12:52:35 (-2 min 37s). Last ended: 2024-12-19 12:52:43 (-2 min 29s). Interval: hourly)
    • Update GeoIP DB: Next run: 2025-01-17 14:46:16 (29 days 1 hours) ( Last started: 2024-12-19 12:52:59 (-2 min 13s). Last ended: 2024-12-19 12:53:14 (-1 min 58s). Interval: matomo_monthly)

    Mandatory checks

    • PHP version >= 7.2.5: 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

    • 64-bit PHP Binary: ok
    • Tracker status: ok
    • Memory limit: ok
    • Time zone: ok
    • Open URL: 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
    • Mobile Messaging SMS Provider: ok
    • Supports Async Archiving: Yes
    • Async Archiving Disabled in Setting: No
    • 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 ecommerce: Yes
    • Track codeposition: footer
    • Track api endpoint: default
    • Track js endpoint: default
    • Version history: 5.1.7
    • Core version: 5.1.2
    • Last tracking settings update: 1734533152
    • Last settings update: 1734533710
    • Show get started page: 0
    • Delete all data uninstall: No

    Logs

    • Warning archive_main: 2024-12-19 11:48:14 (10 total errors during this script execution, please investigate and try and fix these errors. => CronArchive.php:473; CronArchive.php:468; CronArchive.php:226; Access.php:567; CronArchive.php:230; ScheduledTasks.php:378; class-wp-hook.php:322; class-wp-hook.php:348; plugin.php:565; wp-cron.php:191;)
    • Warning archive_errors: 2024-12-19 11:48:14 (‘Got invalid response from API request: ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-12-19&format=json&trigger=archivephp. Response was \’ WordPress › Error There has been a critical error on this website.Learn more about troubleshooting WordPress. \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-12-19&format=json&trigger=archivephp: \’ WordPress › Error There has been a critical error on this website.Learn more about troubleshooting WordPress. \” ‘Got invalid response from API request: ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-12-18&format=json&trigger=archivephp. Response was \’ WordPress › Error There has been a critical error on this website.Learn more about troubleshooting WordPress. \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-12-18&format=json&trigger=archivephp: \’ WordPress › Error There has been a critical error on this website.Learn more about troubleshooting WordPress. \” ‘Got invalid response from API request: ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=week&date=2024-12-16&format=json&trigger=archivephp. Response was \’ WordPress › Error There has been a critical error on this website.Learn more about troubleshooting WordPress. \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=week&date=2024-12-16&format=json&trigger=archivephp: \’ WordPress › Error There has been a critical error on this website.Learn more about troubleshooting WordPress. \” ‘Got invalid response from API request: ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=month&date=2024-12-01&format=json&trigger=archivephp. Response was \’ WordPress › Error There has been a critical error on this website.Learn more about troubleshooting WordPress. \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=month&date=2024-12-01&format=json&trigger=archivephp: \’ WordPress › Error There has been a critical error on this website.Learn more about troubleshooting WordPress. \” ‘Got invalid response from API request: ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2024-01-01&format=json&trigger=archivephp. Response was \’ WordPress › Error There has been a critical error on this website.Learn more about troubleshooting WordPress. \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2024-01-01&format=json&trigger=archivephp: \’ WordPress › Error There has been a critical error on this website.Learn more about troubleshooting WordPress. \” ’10 total errors during this script execution, please investigate and try and fix these errors.’ => ScheduledTasks.php:392; class-wp-hook.php:322; class-wp-hook.php:348; plugin.php:565; wp-cron.php:191;)
    • Warning archive_main: 2024-12-19 12:45:58 (5 total errors during this script execution, please investigate and try and fix these errors. => CronArchive.php:473; CronArchive.php:468; CronArchive.php:226; Access.php:567; CronArchive.php:230; ScheduledTasks.php:378; class-wp-hook.php:322; class-wp-hook.php:348; plugin.php:565; wp-cron.php:191;)
    • Warning archive_errors: 2024-12-19 12:45:58 (‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-12-19&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-12-18&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=week&date=2024-12-16&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=month&date=2024-12-01&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2024-01-01&format=json&trigger=archivephp: \’ \” ‘5 total errors during this script execution, please investigate and try and fix these errors.’ => ScheduledTasks.php:392; class-wp-hook.php:322; class-wp-hook.php:348; plugin.php:565; wp-cron.php:191;)
    • Warning archive_main: 2024-12-19 12:52:43 (5 total errors during this script execution, please investigate and try and fix these errors. => CronArchive.php:473; CronArchive.php:468; CronArchive.php:226; Access.php:567; CronArchive.php:230; ScheduledTasks.php:378; class-wp-hook.php:322; class-wp-hook.php:348; plugin.php:565; wp-cron.php:191;)
    • Warning archive_errors: 2024-12-19 12:52:43 (‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-12-19&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-12-18&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=week&date=2024-12-16&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=month&date=2024-12-01&format=json&trigger=archivephp: \’ \” ‘Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=year&date=2024-01-01&format=json&trigger=archivephp: \’ \” ‘5 total errors during this script execution, please investigate and try and fix these errors.’ => ScheduledTasks.php:392; class-wp-hook.php:322; class-wp-hook.php:348; plugin.php:565; wp-cron.php:191;)

    WordPress

    • Home URL: $site_url
    • Site URL: $site_url
    • WordPress Version: 6.7.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: Yes
    • 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_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/2024/12
    • Custom upload_path:
    • Custom upload_url_path:
    • Compatible content directory: Yes
    • WP_Filesystem Initialized: Yes

    WordPress Plugins MU Plugins

    • ManageWP – Worker Loader: 1.0.0

    Plugins

    • AnsPress Question Answer: 4.4.4
    • Antispam Bee: 2.11.7
    • Avada Builder: 3.11.13
    • Avada Core: 5.11.13
    • Code Snippets: 3.6.6.1
    • Comment Link Remove: 2.6.9
    • Conditional Fields for Contact Form 7: 2.5.4
    • Contact Form 7: 6.0.1
    • Contact Form CFDB7: 1.2.10
    • Custom Login Page Customizer: 2.4.1
    • Headers Security Advanced & HSTS WP: 5.0.41
    • LoginWP (Formerly Peter’s Login Redirect): 3.0.8.6
    • ManageWP – Worker: 4.9.20 (Network enabled)
    • Matomo Analytics – Ethical Stats. Powerful Insights.: 5.1.7
    • Perfect Portal Website Calculator: 2.0.1.20200820
    • Perfect Portal Widgets: 3.0.3
    • Performance Lab: 3.7.0
    • Popup Maker: 1.20.3
    • Redirection for Contact Form 7: 3.1.9
    • Remove Dashboard Access: 1.2.1
    • Site Reviews: 7.2.3
    • Subscribe to Comments Reloaded: 240119
    • User Profile Picture: 2.6.3
    • WordPress Popular Posts: 7.2.0
    • WP Carousel Pro: 4.1.1
    • WP Crontrol: 1.17.1
    • WP Rocket: 3.17.3.1
    • Yoast SEO: 24.1
    • Active Plugins: 27 (worker:4.9.20 anspress-question-answer:4.4.4 antispam-bee:2.11.7 cf7-conditional-fields:2.5.4 code-snippets:3.6.6.1 comment-link-remove:2.6.9 contact-form-7:6.0.1 contact-form-cfdb7:1.2.10 fusion-builder:3.11.13 fusion-core:5.11.13 headers-security-advanced-hsts-wp:5.0.41 login-customizer:2.4.1 matomo:5.1.7 metronet-profile-picture:2.6.3 perfect-portal-widgets:3.0.3 performance-lab:3.7.0 peters-login-redirect:3.0.8.6 popup-maker:1.20.3 remove-dashboard-access-for-non-admins:1.2.1 site-reviews:7.2.3 subscribe-to-comments-reloaded:240119 wordpress-popular-posts:7.2.0 wordpress-seo:24.1 wp-carousel-pro:4.1.1 wp-crontrol:1.17.1 wp-rocket:3.17.3.1 wpcf7-redirect:3.1.9)
    • Theme: Avada (Avada-Child-Theme)

    Server

    • Server Info: LiteSpeed
    • PHP OS: Linux
    • PHP Version: 8.1.31
    • PHP SAPI: litespeed
    • PHP Binary Name: /usr/local/bin/lsphp
    • PHP Maxmind DB extension: Not loaded
    • PHP Error Reporting: 4437 After bootstrap: 4437
    • PHP Found Binary: /opt/cpanel/ea-php81/root/usr/bin/php -q
    • Timezone: UTC
    • WP timezone: Europe/London
    • Locale: en_GB
    • User Locale: en_GB
    • Memory Limit: 516M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.)
    • WP Memory Limit: 40M
    • WP Max Memory Limit: 516M
    • Timezone version: 0.system
    • Time: 1734612912
    • Max Execution Time: 240
    • Max Post Size: 100M
    • Max Upload Size: 104857600
    • Max Input Vars: 3000
    • Disabled PHP functions: No
    • zlib.output_compression is off: Yes
    • Curl Version: 7.61.1, OpenSSL/1.1.1k
    • Suhosin installed: No

    PHP cli

    • PHP CLI Version: 8.1.31
    • MySQLi support: ok
    • PHP CLI configuration: Configured correctly

    Database

    • MySQL Version: 8.0.37
    • Mysqli Connect: Yes
    • Force MySQL over Mysqli: No
    • DB Prefix: wp_
    • DB CHARSET: utf8mb4
    • DB COLLATE:
    • SHOW ERRORS: No
    • SUPPRESS ERRORS: No
    • Uses Socket: No
    • Uses IPv6: No
    • Matomo tables found: 63
    • DB tables exist: Yes
    • Matomo users found: 3
    • 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/131.0.0.0 Safari/537.36)
    • Language: en-gb,en-us,en

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    Hi @richesio, apologies for the belated response. If you enable the ‘Enable archiving via HTTP requests’ setting at Matomo Analytics > Settings > Advanced, does the problem go away?

    If not, can you try initiating archiving manually (via Matomo Analytics > Diagnostics > Troubleshooting) and see if the error occurs there as well?

    Thread Starter richesio

    (@richesio)

    Hi, thanks for the reply.

    Manually initiating archiving did the trick.

    Thanks!

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    @richesio did you change the setting I mentioned? Manually archiving will initiate archiving just once, but we want the scheduled cron task to archive and generate reports hourly. If that hourly task is still not working, please let me know.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Two cron errors’ is closed to new replies.