The diagnostic check when accessing admin settings does not fail.
The diagnostic check when accessing admin settings fails with this errro:
Uncaught exception: Error: Call to undefined function Piwik\piwik_fix_lbrace() in /var/www/matomo/plugins/Diagnostics/Diagnostic/DiagnosticResult.php:74
If you need the stack trace, I can add it.
API, Actions, Annotations, BulkTracking, CoreAdminHome, CoreConsole, CoreHome, CorePluginsAdmin, CoreUpdater, CoreVisualizations, CoreVue, DBStats, DarkTheme 1.1.7, Dashboard, DevicePlugins, DevicesDetection, Diagnostics, Goals, IPReports 4.1.1, ImageGraph, Insights, Installation, Intl, LanguagesManager, Live, LogViewer 4.0.1, Login, Marketplace, Monolog, Morpheus, PagePerformance, PrivacyManager, Proxy, Referrers, Resolution, SEO, SegmentEditor, SitesManager, TrackingSpamPrevention 4.1.0, Transitions, UserLanguage, UsersManager, VisitFrequency, VisitTime, VisitorInterest, VisitsSummary, WebsiteMeasurable
I'm actually not able to reproduce that with PHP 8.1-rc6. For me the diagnostics runs without problems 🤔
Hmm, I face regular segmentation faults of all php-fpm children after accessing that page now (the gear icon, initial page, segfauls temporarily solved by service restart) and an error loading the top right diagnostics, but indeed not the same error anymore. Not sure but there seems to be an issue on a different level which I need to identify first.
Btw, another minor one when accessing that page, from browser console:
[Report Only] Refused to load the image 'https://plugins.matomo.org/IP2Location/images/4.0.2/01_Settings.png?w=600' because it violates the following Content Security Policy directive: "img-src 'self' 'unsafe-inline' 'unsafe-eval' data:".
Since this does not match the webserver wide CSP we set, I guess it is set internally by Matomo and hence needs to have
https://plugins.matomo.org added as image source?
@MichaIng thanks for the update. The CSP issue should already be fixed, but was not yet included in any beta I guess.
Great. Sorry for the spam, seems to be a system issue and not necessarily a bug in Matomo. I'll close this hence for now and try to further investigate first what causes this segfault loops. I observed it once already with PHP8.0, so maybe it's a specific PHP module (those get updates for both PHP versions) or another system library or so 🤔.