Comments (6)
Getting the same error:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 136 der Datei wp-content/plugins/matomo/app/vendor/php-di/php-di/src/Container.php verursacht. Fehlermeldung: Uncaught Error: Class "DI\NotFoundException" not found in wp-content/plugins/matomo/app/vendor/php-di/php-di/src/Container.php:136 Stack trace:
#0 /wp-content/plugins/matomo/app/core/Container/StaticContainer.php(81): DI\Container->get()
#1 /wp-content/plugins/matomo/classes/WpMatomo/Admin/SystemReport.php(1351): Piwik\Container\StaticContainer::get()
#2 /wp-content/plugins/matomo/classes/WpMatomo/Admin/SystemReport.php(277): WpMatomo\Admin\SystemReport->get_browser_info()
#3 /wp-content/plugins/matomo/classes/WpMatomo/Admin/SystemReport.php(288): WpMatomo\Admin\SystemReport->get_error_tables()
#4 /wp-content/plugins/matomo/classes/WpMatomo/Admin/Menu.php(183): WpMatomo\Admin\SystemReport->errors_present()
#5 /wp-includes/class-wp-hook.php(308): WpMatomo\Admin\Menu->add_menu()
#6 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-admin/includes/menu.php(155): do_action()
#9 /wp-admin/menu.php(420): require_once('/homepages/40/d...')
#10 /wp-admin/admin.php(158): require('/homepages/40/d...')
#11 {main}
thrown
Wordpress 6.22
PHP 8.0
Matomo: 4.14.2
from matomo-for-wordpress.
Hi @enual and @ChonPaSa, apologies for the late reply. Are you still experiencing this issue with the latest Matomo for Wordpress version?
from matomo-for-wordpress.
Hi @diosmosis yes, still same issue
from matomo-for-wordpress.
@ChonPaSa would you be able to provide the list of plugins you're using wordpress with? And can you check if any of those plugins have a vendor/php-di
folder in them?
from matomo-for-wordpress.
@diosmosis Here is the list of active plugins:
Plugin | Version |
---|---|
301 Redirects | Version 2.73 von WebFactory Ltd |
Advanced Custom Fields PRO | Version 6.2.0 von WP Engine |
Block Manager | Version 1.2.5 von Darren Cooney |
Complianz Privacy Suite (GDPR/CCPA) premium | Version 6.5.3 von Really Simple Plugins (Aktuelle Version: 6.5.4) |
Duplicate Page | Version 4.5.2 von mndpsingh287 |
Easy WP SMTP | Version 2.1.2 von Easy WP SMTP |
Error Log Viewer by BestWebSoft | Version 1.1.2 von BestWebSoft |
Geometric Graphic Generator | Version 1.0.0 von Lucas Garbe |
Polylang Pro | Version 3.4.5 von WP SYNTEX |
Post Types Order | Version 2.1 von Nsp Code |
Query Monitor | Version 3.13.1 von John Blackbourn |
Simple Custom Post Order | Version 2.5.6 von Colorlib |
UpdraftPlus - Backup/Restore | Version 2.23.9.26 von UpdraftPlus.Com, DavidAnderson (Aktuelle Version: 2.23.10.26) |
User Role Editor | Version 4.64 von Vladimir Garagulya |
wp-Typography | Version 5.9.1 von Peter Putzer |
WP Rocket | Version 3.14.3 von WP Media (Aktuelle Version: 3.15) |
Yoast SEO | Version 20.13 von Team Yoast (Aktuelle Version: 21.1) |
None of them hast php-di. This was only found in mamoto/app/vendor
Thanks for looking into this
from matomo-for-wordpress.
@ChonPaSa I don't know if this is the exact cause of the problem, but at least one of your plugins isn't compatible with Matomo for Wordpress: #642
It's possible some of the other ones are as well, as the error message you're getting seems a bit different than what I'd expect. If you're willing to try see if our plugin works when some or all of the other plugins are deactivated, that would be very helpful in case there's another plugin that causes problems for ours.
As for WP Rocket, we are actively working towards fixing those compatibility issues in the near future.
from matomo-for-wordpress.
Related Issues (20)
- Instead of a custom Logger just use Monolog w/ an ErrorLogHandler
- Clicking "Archive Reports" can return HTML response as a download HOT 1
- Add patching core to release process HOT 1
- Create list of popular hosting providers to manually test
- Create list of most popular plugins (free/paid) to make sure Matomo for Wordpress well with
- e2e test system that can point to any empty install of matomo for wordpress
- force archiving all sites if SharedSiteIds is not supported
- Allow setting config.ini.php values through the UI
- Clearer error message and link to FAQ for "Your PHP cli version is not compatible with the " error
- Simple mechanism to show persistent but dismissable notifications HOT 2
- Clarify how matomo user roles displayed during wordpress user creation should be used
- Matomo for WordPress is not showing any statistics / reports HOT 15
- System report should detect whether php CLI version matches currently loaded php version (at least major/minor)
- Plugin incompatibility: W3 Total Cache HOT 1
- don't run unit tests against wordpress trunk HOT 1
- Replace references to "WP-Matomo" by its new name "Connect Matomo"
- System report should not execute for every matomo for wordpress admin page view
- Put the matomo-scoper repository through code review
- Cannot activate WooCommerce HPOS because Matomo appears to be incompatible HOT 1
- compatibility with consent managers when doing server side tracking HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matomo-for-wordpress.