matomo-org / matomo-org/matomo-for-wordpress
Matomo WP Plugin crashes WP hosted by IONOS (Internal Server error)
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 145
- Forks
- 35
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 6
Description
Dear All,
Managed WordPress by IONOS; after installing and activating the WP Plugin, it appeared that my whole WP site was down (internal server errors).
With some patience and several reloads, I entered the Plugin directory and deactivated the Matomo WP Plugin. Now everything is back to normal.
On the Matomo Forum, I found reports related to WP 6.2 and PHP 8 - IONOS recently upgraded to WP 6.2 and PHP 8, so maybe it’s not a IONOS issue but rather an incompatibility with the current version of those two products.
The issues occurred right after activating the Matomo plugin. On the starting page, I saw a warning message (warning about PHP and MySQL - contradicting the diagnosis report below) and managed to copy the diagnosis output:
# Errors
- Error PHP cli Version: (Your PHP cli version is not compatible with the Matomo requirements. Please upgrade your PHP cli version, otherwise, you might have some archiving errors)
- Error 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)
Matomo
- Matomo-Plugin-Version: 4.14.1
- Config existiert und ist schreibbar.: Ja ("$abs_path/wp-content/uploads/matomo/config/config.ini.php" )
- JS Tracker existiert und ist schreibbar.: Ja ("$abs_path/wp-content/uploads/matomo/matomo.js" )
- Plugin-Verzeichnisse: Yes ([{"pluginsPathAbsolute":"$abs_path/wp-content/plugins/matomo/plugins","webrootDirRelativeToMatomo":"../"}])
- Tmp-Verzeichnis schreibbar: Yes ($abs_path/wp-content/cache/matomo)
- Matomo-Version: 4.14.1
- Matomo Blog idSite: 1
- Installierte Matomo-Version: 4.14.1 (Install date: 2023-04-28 18:15:19)
- 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-Zeit: 2023-04-28 18:18:24
- Blog-Zeit: 2023-04-28 18:18:24 (Die nachfolgenden Daten werden in der Blog-Zeitzone angezeigt)
- Sync users & sites: Next run: 2023-04-29 18:17:56 (23 hours 59 min) ( Last started: 2023-04-28 18:18:02 (-22s). Last ended: 2023-04-28 18:18:02 (-22s). Interval: daily)
- Archive: Next run: 2023-04-28 19:15:23 (56 min 59s) ( Last started: 2023-04-28 18:15:23 (-3 min 1s). Last ended: 2023-04-28 18:15:24 (-3 min 0s). Interval: hourly)
- Update GeoIP DB: Next run: 2023-05-28 18:17:56 (29 days 23 hours) ( Last started: 2023-04-28 18:18:02 (-22s). Last ended: 2023-04-28 18:18:03 (-21s). Interval: matomo_monthly)
Vorgeschriebene Prüfungen
- 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
Optionale Prüfungen
- 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
- Location provider ID: geoip2php
- Location provider available: Yes
- Location provider working: Yes
- Matomo URL: Yes ($site_url/wp-content/plugins/matomo/app/)
Matomo Settings
- Track mode: disabled
- Track codeposition: footer
- Track api endpoint: default
- Track js endpoint: default
- Version history: 4.14.1
- Core version: 4.14.1
- Last tracking settings update: 1682705875
- Last settings update: 1682705875
Logs
- Keine:
WordPress
- Home URL: $site_url
- Site URL: $site_url
- WordPress Version: 6.2
- 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: No
- 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: /%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/2023/04
- Custom upload_path:
- Custom upload_url_path:
- Compatible content directory: Yes
WordPress Plugins
MU Plugins
- 1&1 Managed WordPress: 1.1.0
- 1&1 Product Subdomain: 1.1.0
- IONOS Marketplace: 1.1.5
Plugins
- Customizer Reset - Export & Import: 1.2
- Elementor: 3.12.2
- Elementor Pro: 3.12.3
- ElementsKit Lite: 2.8.7
- ElementsKit Pro: 3.2.1
- Envato Elements: 2.0.12
- Essential Addons for Elementor: 5.7.1
- Essential Addons for Elementor - Pro: 5.4.8
- GetGenie AI: 3.5.2
- IONOS Assistant: 8.5.2
- IONOS Help: 2.2.1
- IONOS Login: 2.2.1
- IONOS Navigation: 1.0.7
- IONOS Performance: 2.0.3
- MailOptin - Lite: 1.2.58.1
- Matomo Analytics - Ethical Stats. Powerful Insights.: 4.14.1
- Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue: 3.1.59
- OTGS Installer: 3.0.3
- Page Builder Framework Premium Addon: 2.9.1
- Popup Trigger URL for Elementor Pro: 1.0.5
- Template Kit Import: 1.0.14
- Templately: 2.1.0
- Active Plugins: 22 (customizer-reset elementor-pro elementor elementskit-lite elementskit envato-elements essential-addons-elementor essential-addons-for-elementor-lite getgenie ionos-assistant ionos-help-center ionos-navigation ionos-performance ionos-sso mailin mailoptin matomo otgs-installer-plugin popup-trigger-url-for-elementor-pro template-kit-import templately wpbf-premium)
- Theme: page-builder-framework (page-builder-framework)
Server
- Server Info: Apache
- Apache AddHandler support: Supported
- PHP OS: Linux
- PHP Version: 7.4.33
- PHP SAPI: cgi-fcgi
- PHP Binary Name: /usr/lib/cgi-bin/php7.4
- PHP Maxmind DB extension: Not loaded
- PHP Error Reporting: After bootstrap: 0
- PHP Found Binary: /usr/lib/cgi-bin/php7.4 -q
- Timezone: UTC
- WP timezone: +00:00
- Locale: de_DE
- User Locale: en_US
- Memory Limit: 1024M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.)
- WP Memory Limit: 40M
- WP Max Memory Limit: 1024M
- Timezone version: 2022.1
- Time: 1682705906
- Max Execution Time: 30
- Max Post Size: 128M
- Max Upload Size: 134217728
- 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
- Error PHP cli Version: (Your PHP cli version is not compatible with the Matomo requirements. Please upgrade your PHP cli version, otherwise, you might have some archiving errors)
- Error 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: 5.5.5
- Mysqli Connect: Yes
- Force MySQL over Mysqli: No
- DB Prefix: c188ubnpwx
- DB CHARSET: utf8
- DB COLLATE:
- SHOW ERRORS: No
- SUPPRESS ERRORS: No
- Uses Socket: No
- Uses IPv6: No
- Matomo tables found: 38
- DB tables exist: Yes
- Matomo users found: 1
- Matomo sites found: 1
- Erforderliche Berechtigungen: OK
Browser
- Browser: (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36)
- Language: de-de,de,en-us,en
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is identified. Start by reproducing activation with WordPress 6.2 and the reported PHP 7.4.33 environment, then review the diagnostic output and plugin activation failure; done means the plugin activates without an internal server error and the PHP CLI checks report accurately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100