Internal Server Error IONOS

Hi, I tried to install + activate matomo on a IONOS Wordpress Server. I get

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log."

for every site. So matomo “crashes” my whole Wordpress Website. I can just revert it by deleting the matomo plugin folder via sftp.

debug log says:
[21-Mar-2023 15:23:24 UTC] PHP Warning: include(/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/composer/…/…/core/DeviceDetector/DeviceDetectorFactory.php): Failed to open stream: Datei oder Verzeichnis nicht gefunden in /homepages/10/XXXXX/htdocs/wordpress/wp-content/mu-plugins/ionos-marketplace/vendor/composer/ClassLoader.php on line 444
[21-Mar-2023 15:23:24 UTC] PHP Warning: include(/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/composer/…/…/core/Profiler.php): Failed to open stream: Datei oder Verzeichnis nicht gefunden in /homepages/10/XXXXX/htdocs/wordpress/wp-content/mu-plugins/ionos-marketplace/vendor/composer/ClassLoader.php on line 444
[21-Mar-2023 15:23:24 UTC] PHP Warning: include(): Failed opening ‘/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/composer/…/…/core/Profiler.php’ for inclusion (include_path=‘/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/pear_exception:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/console_getopt:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/pear-core-minimal/src:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/archive_tar:.:/usr/lib/php8.0’) in /homepages/10/XXXXX/htdocs/wordpress/wp-content/mu-plugins/ionos-marketplace/vendor/composer/ClassLoader.php on line 444
[21-Mar-2023 15:23:24 UTC] PHP Warning: include(/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/composer/…/…/core/DeviceDetector/DeviceDetectorFactory.php): Failed to open stream: Datei oder Verzeichnis nicht gefunden in /homepages/10/XXXXX/htdocs/wordpress/wp-content/mu-plugins/ionos-marketplace/vendor/composer/ClassLoader.php on line 444
[21-Mar-2023 15:23:24 UTC] PHP Warning: include(): Failed opening ‘/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/composer/…/…/core/DeviceDetector/DeviceDetectorFactory.php’ for inclusion (include_path=‘/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/pear_exception:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/console_getopt:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/pear-core-minimal/src:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/archive_tar:.:/usr/lib/php8.0’) in /homepages/10/XXXXX/htdocs/wordpress/wp-content/mu-plugins/ionos-marketplace/vendor/composer/ClassLoader.php on line 444
[21-Mar-2023 15:23:24 UTC] PHP Warning: include(/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/composer/…/…/core/DeviceDetector/DeviceDetectorFactory.php): Failed to open stream: Datei oder Verzeichnis nicht gefunden in /homepages/10/XXXXX/htdocs/wordpress/wp-content/mu-plugins/ionos-marketplace/vendor/composer/ClassLoader.php on line 444
[21-Mar-2023 15:23:24 UTC] PHP Warning: include(): Failed opening ‘/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/composer/…/…/core/DeviceDetector/DeviceDetectorFactory.php’ for inclusion (include_path=‘/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/pear_exception:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/console_getopt:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/pear-core-minimal/src:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/archive_tar:.:/usr/lib/php8.0’) in /homepages/10/XXXXX/htdocs/wordpress/wp-content/mu-plugins/ionos-marketplace/vendor/composer/ClassLoader.php on line 444
[21-Mar-2023 15:23:24 UTC] PHP Warning: include(/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/composer/…/php-di/php-di/src/NotFoundException.php): Failed to open stream: Datei oder Verzeichnis nicht gefunden in /homepages/10/XXXXX/htdocs/wordpress/wp-content/mu-plugins/ionos-marketplace/vendor/composer/ClassLoader.php on line 444
[21-Mar-2023 15:23:24 UTC] PHP Warning: include(): Failed opening ‘/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/composer/…/php-di/php-di/src/NotFoundException.php’ for inclusion (include_path=‘/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/pear_exception:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/console_getopt:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/pear-core-minimal/src:/homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/pear/archive_tar:.:/usr/lib/php8.0’) in /homepages/10/XXXXX/htdocs/wordpress/wp-content/mu-plugins/ionos-marketplace/vendor/composer/ClassLoader.php on line 444
[21-Mar-2023 15:23:24 UTC] PHP Fatal error: Uncaught Error: Class “DI\NotFoundException” not found in /homepages/10/XXXXX/htdocs/wordpress/wp-content/plugins/matomo/app/vendor/php-di/php-di/src/Container.php:136

php.ini:

safe_mode=false

upload_max_filesize=512M

memory_limit=1024M

zend_extension=opcache.so

opcache.enable=1

opcache.memory_consumption=64

opcache.interned_strings_buffer=8

opcache.max_accelerated_files=5000

opcache.save_comments=1

opcache.revalidate_freq=180

opcache.fast_shutdown=0

opcache.enable_cli=0

opcache.revalidate_path=0

opcache.validate_timestamps=1

opcache.max_file_size=0

I contacted IONOS support for the error log. Do you know this problem? Thanks in advance
Till

Hi, I have exactly the same problem, also with IONOS.

It says:
WordPress-Version 6.1.1

Aktives Theme: OceanWP Child theme of oceanwp (Version 3.4.1) Aktuelles Plugin: Matomo Analytics - Ethical Stats. Powerful Insights. (Version 4.13.5) PHP-Version 8.0.28

Fehler-Details

==============

Ein Fehler vom Typ E_ERROR wurde in der Zeile 136 der Datei /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-content/plugins/matomo/app/vendor/php-di/php-di/src/Container.php verursacht. Fehlermeldung: Uncaught Error: Class “DI\NotFoundException” not found in /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-content/plugins/matomo/app/vendor/php-di/php-di/src/Container.php:136

Stack trace:

#0 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-content/plugins/matomo/app/core/Container/StaticContainer.php(81): DI\Container->get(‘Piwik\DeviceDet…’)

#1 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-content/plugins/matomo/classes/WpMatomo/Admin/SystemReport.php(1346): Piwik\Container\StaticContainer::get(‘Piwik\DeviceDet…’)

#2 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-content/plugins/matomo/classes/WpMatomo/Admin/SystemReport.php(276): WpMatomo\Admin\SystemReport->get_browser_info()

#3 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-content/plugins/matomo/classes/WpMatomo/Admin/SystemReport.php(287): WpMatomo\Admin\SystemReport->get_error_tables()

#4 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-content/plugins/matomo/classes/WpMatomo/Admin/Menu.php(183): WpMatomo\Admin\SystemReport->errors_present()

#5 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-includes/class-wp-hook.php(308): WpMatomo\Admin\Menu->add_menu(‘’)

#6 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)

#7 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

#8 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-admin/includes/menu.php(155): do_action(‘admin_menu’, ‘’)

#9 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-admin/menu.php(428): require_once(‘/homepages/2/d9…’)

#10 /homepages/2/d947690518/htdocs/clickandbuilds/Denkdichgesund/wp-admin/admin.php(158): require(‘/homepages/2/d9…’)

#11 {main}

thrown

What i tried:

  • Installing matomo 4.13.5 (which works good on another Website from us at a different hoster) → same Problem
  • Deactivating the IONOS Cache → Seems to kinda work but wordpress gets really really slow and some links don`t seem to work anymore
  • added max_input_time = 600 / max_execution_time = 600 to php.ini → no changes

Interesting Links:

Interesting:
If I click refresh in my browser for 5 to 10 times the website gets displayed correctly without an error. Matomo seems to make my wordpress really slow. Maybe something runs into a timeout or it’s a caching thing?

atm Im wating on a call from IONOS to get the error log.

Hi @till_mementor, @Susanne
As thiis concerns a bug on WP plugin, I suggest you create a ticket at:

1 Like

Hi, we are now using Matomo cloud and connect it to our WP-Site with an third party plugin from the WP-Store. Not ideal but it works.

1 Like

Dear All,
I ran into similar issues: 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.

I am going to uninstall the Plugin and try the Matomo Cloud. There is a Matomo WP Plugin connecting the Matomo cloud with WP: https://matomo.org/faq/wordpress/why-are-there-two-different-matomo-for-wordpress-plugins-what-is-the-difference-to-wp-matomo-integration-plugin/

@till_mementor Any reason why you are using a 3rd party plugin instead? (If so, which one are you using).

Thank you also for the link to the Strato issues; I found further links that can be related:

(As a new user, I can only add 2 links, please search for “php-8-0-not-ready/49372”)

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.

Any updates / additional information will be highly appreciated.

With best wishes,
Alexander

Thank you for the hint. I did as suggested:

Hi Alexander,

i use this Plugin: https://de.wordpress.org/plugins/wp-piwik/ because all the others I tried lead to the same error.

1 Like

I’m also using WordPress with Ionos and tried to install the WP plugin, as the thread mentions already, I received a 500 Internal Server Error and can’t allow myself to shut down the whole site for this.
So after trying out what they say in the GitHub threads and nothing was working, I decided to try to install it on-premise on my web server.

I thought this way it’d work, I get to the first installation page, then the system checks where everything’s ok, and finally the database connection page.
I fill out the form and click next. It loads for a while and I get the 500 error again :confused:

Here’s the system check:
<details>
<summary>Click to view System Check</summary>

Mandatory checks

PHP version >= 7.2.5:

:heavy_check_mark: 8.1.18

PDO extension:

:heavy_check_mark:

PDO\MYSQL extension:

:heavy_check_mark:

MYSQLI extension:

:heavy_check_mark:

Other required extensions:

:heavy_check_mark: zlib :heavy_check_mark: json :heavy_check_mark: filter :heavy_check_mark: hash :heavy_check_mark: session

Required functions:

:heavy_check_mark: debug_backtrace :heavy_check_mark: eval :heavy_check_mark: hash :heavy_check_mark: gzcompress :heavy_check_mark: gzuncompress :heavy_check_mark: pack

Required PHP configuration (php.ini):

:heavy_check_mark: session.auto_start = 0 :heavy_check_mark: max_execution_time = 0 OR = -1 OR >= 30

Directories with write access:

:heavy_check_mark: $DOC_ROOT/tmp :heavy_check_mark: $DOC_ROOT/tmp/assets :heavy_check_mark: $DOC_ROOT/tmp/cache :heavy_check_mark: $DOC_ROOT/tmp/climulti :heavy_check_mark: $DOC_ROOT/tmp/latest :heavy_check_mark: $DOC_ROOT/tmp/logs :heavy_check_mark: $DOC_ROOT/tmp/sessions :heavy_check_mark: $DOC_ROOT/tmp/tcpdf :heavy_check_mark: $DOC_ROOT/tmp/templates_c :heavy_check_mark: $DOC_ROOT/config

Optional checks

File integrity:

:heavy_check_mark:

64-bit PHP Binary:

:heavy_check_mark:

Tracker status:

:heavy_check_mark:

Memory limit:

:heavy_check_mark: There is no memory limit set

Time zone:

:heavy_check_mark:

Open URL:

:heavy_check_mark: curl

PageSpeed is turned off:

:heavy_check_mark:

GD > 2.x + FreeType (graphics):

:heavy_check_mark:

Other extensions:

:heavy_check_mark: json :heavy_check_mark: libxml :heavy_check_mark: dom :heavy_check_mark: SimpleXML :heavy_check_mark: openssl

Other functions:

:heavy_check_mark: shell_exec :heavy_check_mark: set_time_limit :heavy_check_mark: mail :heavy_check_mark: parse_ini_file :heavy_check_mark: glob :heavy_check_mark: gzopen :heavy_check_mark: md5_file

Filesystem:

:heavy_check_mark:

Set up Cron - Managing processes via CLI:

not supported (optional) (Reasons: Unknown) learn more

Update over HTTPS:

:heavy_check_mark:

Writable JavaScript Tracker (“/matomo.js”):

:heavy_check_mark:

Informational results

Matomo Version:

4.14.2

PHP_OS:

Linux

PHP SAPI:

cgi-fcgi

PHP Timezone:

UTC

PHP Time:

1683647488

PHP Datetime:

2023-05-09 15:51:28

PHP INI max_execution_time:

50000

PHP INI post_max_size:

64M

PHP INI max_input_vars:

5000

PHP INI zlib.output_compression:

0

Curl Version:

7.64.0, OpenSSL/1.1.1n

Suhosin Installed:

0

Server Info:

Apache

User Agent:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36

Browser Language:

en-us,en

</details>