importWpstatistics
-
Hi,
when executing
php /usr/share/mara/bin/wp matomo importWpStatistics
it stop at
Importing data for the PagesImporter plugin.
without any log to ebugHow can I make it work ?
best regards,
david
Viewing 4 replies - 1 through 4 (of 4 total)
-
Hi David. Could you please share to us a copy of your system check report so we can investigate on this further?
Enjoy ??
# Matomo * Matomo Plugin Version: 4.15.3 * 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.15.1 * Matomo Blog idSite: 1 * Matomo Install Version: 4.15.3 (Install date: 2024-01-05 15:17:15) * 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-01-08 09:36:15 * Blog time: 2024-01-08 10:36:15 (Below dates are shown in blog timezone) * Sync users & sites: Next run: 2024-01-08 15:18:46 (4 hours 42 min) ( Last started: 2024-01-07 15:20:09 (-19 hours 16 min). Last ended: 2024-01-07 15:20:09 (-19 hours 16 min). Interval: daily) * Archive: Next run: 2024-01-08 11:17:21 (41 min 6s) ( Last started: 2024-01-08 10:17:51 (-18 min 24s). Last ended: 2024-01-08 10:17:53 (-18 min 22s). Interval: hourly) * Update GeoIP DB: Next run: 2024-02-04 15:18:46 (27 days 4 hours) ( Last started: 2024-01-05 15:22:48 (-2 days 19 hours). Last ended: 2024-01-05 15:40:35 (-2 days 18 hours). 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 * Supports Async Archiving: No * Async Archiving Disabled in Setting: No * Location provider ID: geoip2php * Location provider available: Yes * Location provider working: Yes * Warning Proxy header: HTTP_X_FORWARDED_FOR (A proxy header is set which means you maybe need to configure a proxy header in the Advanced settings to make location reporting work. If the location in your reports is detected correctly, you can ignore this warning. <a target="_blank">Learn more</a>) * 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: 4.15.3 * Core version: 4.15.1 * Last tracking settings update: 1704468170 * Last settings update: 1704468170 * Track content: visible * Track 404: Yes * Track jserrors: Yes * Show get started page: 0 * Mail history: 2024-01-08 09:19:18, 2024-01-08 09:19:18, 2024-01-08 09:18:24 ## Logs * archive_boot: 2024-01-08 09:18:01 (Matomo error: 8192: Using ${var} in strings is deprecated, use {$var} instead in $abs_path/.$DB_NAME/root/wp-content/themes/active_theme/email.php:45 => bootstrap.php:56; bootstrap.php:85; functions.php:8; functions.php:8; functions.php:97; wp-settings.php:611; wp-config.standard.php:202; wp-config.php:99; wp-load.php:50; bootstrap.php:95; console:11;) * archive_boot: 2024-01-08 09:18:01 (Matomo error: 8192: Using ${var} in strings is deprecated, use {$var} instead in $abs_path/.$DB_NAME/root/wp-content/themes/active_theme/email.php:189 => bootstrap.php:56; bootstrap.php:85; functions.php:8; functions.php:8; functions.php:97; wp-settings.php:611; wp-config.standard.php:202; wp-config.php:99; wp-load.php:50; bootstrap.php:95; console:11;) * archive_boot: 2024-01-08 09:18:01 (Matomo error: 8192: Using ${var} in strings is deprecated, use {$var} instead in $abs_path/.$DB_NAME/root/wp-content/themes/active_theme/email.php:189 => bootstrap.php:56; bootstrap.php:85; functions.php:8; functions.php:8; functions.php:97; wp-settings.php:611; wp-config.standard.php:202; wp-config.php:99; wp-load.php:50; bootstrap.php:95; console:11;) * archive_boot: 2024-01-08 09:18:01 (Matomo error: 8192: Using ${var} in strings is deprecated, use {$var} instead in $abs_path/.$DB_NAME/root/wp-content/themes/active_theme/email.php:426 => bootstrap.php:56; bootstrap.php:85; functions.php:8; functions.php:8; functions.php:97; wp-settings.php:611; wp-config.standard.php:202; wp-config.php:99; wp-load.php:50; bootstrap.php:95; console:11;) * archive_boot: 2024-01-08 09:18:01 (Matomo error: 8192: Using ${var} in strings is deprecated, use {$var} instead in $abs_path/.$DB_NAME/root/wp-content/themes/active_theme/email.php:530 => bootstrap.php:56; bootstrap.php:85; functions.php:8; functions.php:8; functions.php:97; wp-settings.php:611; wp-config.standard.php:202; wp-config.php:99; wp-load.php:50; bootstrap.php:95; console:11;) * archive_boot: 2024-01-08 09:18:01 (Matomo error: 8192: Using ${var} in strings is deprecated, use {$var} instead in $abs_path/.$DB_NAME/root/wp-content/themes/active_theme/email.php:646 => bootstrap.php:56; bootstrap.php:85; functions.php:8; functions.php:8; functions.php:97; wp-settings.php:611; wp-config.standard.php:202; wp-config.php:99; wp-load.php:50; bootstrap.php:95; console:11;) # WordPress * Home URL: $site_url * Site URL: $site_url * WordPress Version: 6.4.2 * Number of blogs: 1 * Multisite Enabled: No * Network Enabled: No * WP_DEBUG: Yes * WP_DEBUG_DISPLAY: No * WP_DEBUG_LOG: $abs_path//.$DB_NAME/log/tmp/debug.log * DISABLE_WP_CRON: - * FORCE_SSL_ADMIN: Yes * WP_CACHE: Yes * CONCATENATE_SCRIPTS: Yes * COMPRESS_SCRIPTS: Yes * COMPRESS_CSS: Yes * ENFORCE_GZIP: Yes * WP_LOCAL_DEV: - * WP_CONTENT_URL: $site_url/wp-content * WP_CONTENT_DIR: $abs_path/wp-content * UPLOADS: - * BLOGUPLOADDIR: - * DIEONDBERROR: - * WPLANG: en_US * 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: /%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 * Custom upload_path: * Custom upload_url_path: * Compatible content directory: Yes # WordPress Plugins ## MU Plugins * Index WP MySQL For Speed Upgrade Filter for mu-plugins.: 1.4.11 * patchstack.php: * Perfmatters MU: 2.2.0 ## Plugins * Admin Menu Editor: 1.12 * Autologin Links: 1.12.0 * Breadcrumb NavXT: 7.2.0 * Category Order and Taxonomy Terms Order: 1.8 * CF7 Skins for Contact Form 7: 2.6.0 * CoBlocks: 3.1.5 * Contact Form 7: 5.8.5 * Contact Form 7 - Dynamic Text Extension: 4.1.0 * Contact Form CFDB7: 1.2.6.7 * Crm (By Maras IT): 1.0.0 * Custom Login Page Templates: 1.0.1 * Custom Product Tabs for WooCommerce: 1.8.5 * Custom Product Tabs WP All Import Add-on: 2.0.5 * Default featured image: 1.7.3 * Disable Admin Notices Individually: 1.3.4 * Documentation (By Maras IT): 0.1.0 * Edit Author Slug: 1.9.0 * Extended Post Status: 1.0.20 * File Renaming on upload: 2.5.6 * GDPR Data Request Form: 1.6 * Gutenslider — The last WordPress slider you will ever need.: 6.1.0 * Headers Security Advanced & HSTS WP: 5.0.29 * IndexNow: 1.0.1 * Index WP MySQL For Speed: 1.4.15 (Network enabled) * IntenseDebate: 2.10.2 * Jetpack: 12.9.3 * Jetpack Protect: 1.4.2 * Job (By Maras IT): 1.0.0 * Map Block Leaflet: 3.1.1 * Matomo Analytics - Ethical Stats. Powerful Insights.: 4.15.3 * Max Mega Menu: 3.3 * Minimum Periods for WooCommerce Subscriptions: 1.5 * Navigation Block with Mega Menu: 1.0.6 * Nav Menu Roles: 2.1.2 * Patchstack Security: 2.2.5 * Perfmatters: 2.2.0 * Performance Lab: 2.7.0 * Performant Translations: 1.0.8 (Network enabled) * Profile Builder: 3.10.8 * Redirection: 5.4 * Redis Object Cache: 2.5.0 (Network enabled) * SearchWP Live Ajax Search: 1.7.6 * Server Log (By Maras IT): 0.1.0 * Simple Cloudflare Turnstile: 1.25.0 * Solid Central: 3.0.1 * Solid Security Basic: 9.2.0 (Network enabled) * The SEO Framework: 5.0.2 * TranslatePress - Developer: 1.3.7 * TranslatePress - Multilingual: 2.6.9 * User Profile Picture: 2.6.1 * User Role Editor: 4.64.1 * User Switching: 1.7.2 (Network enabled) * WooCommerce: 8.4.0 * WooCommerce Blocks: 11.7.0 * WooCommerce Stripe Gateway: 7.8.1 * Woo Discount Rules: 2.6.2 * Woo Discount Rules PRO 2.0: 2.4.5 * WooPayments: 7.0.0 * www.remarpro.com Glossary: 1.2 * WordPress Editorial Calendar: 3.8.5 * WP Crontrol: 1.16.1 * WP Mail SMTP: 3.11.0 * WP Media folder: 5.8.0 * WP Media folder Addon: 3.7.8 * WP Rocket: 3.15.6 * WP Statistics: 14.3.4 * Active Plugins: 66 (admin-menu-editor:1.12 autodescription:5.0.2 autologin-links:1.12.0 better-wp-security:9.2.0 breadcrumb-navxt:7.2.0 coblocks:3.1.5 contact-form-7-dynamic-text-extension:4.1.0 contact-form-7-skins:2.6.0 contact-form-7:5.8.5 contact-form-cfdb7:1.2.6.7 custom-login-page-templates:1.0.1 custom-product-tabs-wp-all-import-add-on:2.0.5 default-featured-image:1.7.3 disable-admin-notices:1.3.4 edit-author-slug:1.9.0 editorial-calendar:3.8.5 extended-post-status:1.0.20 file-renaming-on-upload:2.5.6 gdpr-data-request-form:1.6 getwid-megamenu:1.0.6 gutenslider:6.1.0 headers-security-advanced-hsts-wp:5.0.29 index-wp-mysql-for-speed:1.4.15 indexnow:1.0.1 intensedebate:2.10.2 ithemes-sync:3.0.1 jetpack-protect:1.4.2 jetpack:12.9.3 map-block-leaflet:3.1.1 $DB_NAME-block-miracle-log:0.1.0 $DB_NAME-crm:1.0.0 $DB_NAME-documentation:0.1.0 $DB_NAME-jobboard:1.0.0 matomo:4.15.3 megamenu:3.3 metronet-profile-picture:2.6.1 minimum-periods-for-woocommerce-subscriptions:1.5 nav-menu-roles:2.1.2 patchstack:2.2.5 perfmatters:2.2.0 performance-lab:2.7.0 performant-translations:1.0.8 profile-builder:3.10.8 redirection:5.4 redis-cache:2.5.0 searchwp-live-ajax-search:1.7.6 simple-cloudflare-turnstile:1.25.0 taxonomy-terms-order:1.8 translatepress-developer:1.3.7 translatepress-multilingual:2.6.9 user-role-editor:4.64.1 user-switching:1.7.2 woo-discount-rules-pro:2.4.5 woo-discount-rules:2.6.2 woo-gutenberg-products-block:11.7.0 woocommerce-gateway-stripe:7.8.1 woocommerce-payments:7.0.0 woocommerce:8.4.0 wp-crontrol:1.16.1 wp-mail-smtp:3.11.0 wp-media-folder-addon:3.7.8 wp-media-folder:5.8.0 wp-rocket:3.15.6 wp-statistics:14.3.4 wporg-glossary:1.2 yikes-inc-easy-custom-woocommerce-product-tabs:1.8.5) * Warning Not compatible plugins: 1 (wp-rocket ?Matomo may work fine when using these plugins but there may be some issues. For more information ?See <a target="_blank">this FAQ</a> ?WP-Rocket is incompatible from version 3.12. Until fixes, please reinstall version 3.11.5 if you have a newer version. For more information please visit <a target="_blank">How to downgrade Wp-rocket to be compatible with Matomo</a>) * Theme: $DB_NAME-fse ($DB_NAME-fse-child) # Server * Server Info: Apache * Apache AddHandler support: Supported * PHP OS: Linux * PHP Version: 8.2.14 * PHP SAPI: fpm-fcgi * PHP Binary Name: /usr/sbin/php-fpm8.2 * PHP Maxmind DB extension: Not loaded * PHP Error Reporting: 4437 After bootstrap: 4437 * PHP Found Binary: /usr/bin/php -q * Timezone: UTC * WP timezone: +01:00 * Locale: en_US * User Locale: en_US * Memory Limit: 512M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.) * WP Memory Limit: 512M * WP Max Memory Limit: 256M * Timezone version: 0.system * Time: 1704706578 * Max Execution Time: 30 * Max Post Size: 8M * Max Upload Size: 2097152 * Max Input Vars: 1000 * 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: 8.2.14 * MySQLi support: ok # Database * MySQL Version: 10.3.39 * 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: 135 * DB tables exist: Yes * Matomo users found: 2 * Matomo sites found: 1 * Required permissions: OK # Browser * Browser: ?(Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0) * Warning Browser Compatibility: Yes (Because you are using MS Edge browser, you may see a warning like "This site has been reported as unsafe" from "Microsoft Defender SmartScreen" when you view the Matomo Reporting, Admin or Tag Manager page. This is a false alert and you can safely ignore this warning by clicking on the icon next to the URL (in the address bar) and choosing either "Report as safe" (preferred) or "Show unsafe content". We are hoping to get this false warning removed in the future.) * Language: en-us,en,fr,pl
Hi @davask42. Upon checking, this is a known bug and we’re trying to implement a fix on the upcoming v5.0.
If you want to apply the fix before the MWP 5.0 release, you would need to:- replace the
/path/to/wordpress/wp-content/plugins/matomo/classes/WpMatomo/WpStatistics/DataConverters/FilterConverter.php
file with this one: https://raw.githubusercontent.com/matomo-org/matomo-for-wordpress/5def0885f13516f00cad9fbadf8f9a01a0e83f59/classes/WpMatomo/WpStatistics/DataConverters/FilterConverter.php
- replace the
/path/to/wordpress/wp-content/plugins/matomo/classes/WpMatomo/WpStatistics/Importers/Actions/PagesImporter.php
file with this one: https://raw.githubusercontent.com/matomo-org/matomo-for-wordpress/5def0885f13516f00cad9fbadf8f9a01a0e83f59/classes/WpMatomo/WpStatistics/Importers/Actions/PagesImporter.php
I hope this helps.
?? you are just awesome.
it works like a charm
- replace the
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘importWpstatistics’ is closed to new replies.