The following message is spammed 11 times on the diagnostics page and has something to do with the DiagnosticsExtended Plugin.
WARNING: /plugins/DiagnosticsExtended/Diagnostic/OpcacheCheck.php(52): Notice - Trying to access array offset on value of type null - Matomo 4.11.0 - Please report this message in the Matomo forums: https://forum.matomo.org/ (please do a search first as it might have been reported already) (Module: Installation, Action: getSystemCheck, In CLI mode: false)
The expected behavior is to not show the error message and fix the underlying error, if there is one.
The error message is spammed 11 times.
I think the message could mean that opcache is disabled and a warning message can be displayed in this case. But I’m not sure. I think the
if case can be used for this: https://github.com/Findus23/matomo-DiagnosticsExtended/blob/main/Diagnostic/OpcacheCheck.php#L44
I guess this has to do with the Opcache installation of my hosting provider.
I created this error based on a suggestion on this forum post:
|This information is in the diagnostics section and I guess it is interesting:||PHP Disabled functions||opcache_reset, opcache_get_status|
API, Actions, Annotations, Bandwidth 4.0.2, BotTracker 2.07, BulkTracking, Contents, CoreAdminHome, CoreConsole, CoreHome, CorePluginsAdmin, CoreUpdater, CoreVisualizations, CoreVue, CustomDimensions, CustomJsTracker, CustomVariables 4.1.1, Dashboard, DevicePixelRatio 2.0.0, DevicePlugins, DevicesDetection, Diagnostics, DiagnosticsExtended 0.1.9, Ecommerce, Events, Feedback, GeoIp2, Goals, Heartbeat, ImageGraph, Insights, Installation, Intl, IntranetMeasurable, KPIWidgets 1.1.1, LanguagesManager, Live, Login, MarketingCampaignsReporting 4.1.3, Marketplace, MobileMessaging, Modern 1.0.9, Monolog, Morpheus, MultiSites, Overlay, PagePerformance, PrivacyManager, ProfessionalServices, Provider 4.0.4, Proxy, Referrers, Resolution, RssWidget, SEO, ScheduledReports, SecurityInfo 4.0.2, SegmentEditor, SitesManager, Tour, TrackingSpamPrevention 4.1.3, Transitions, TwoFactorAuth, UserCountry, UserCountryMap, UserId, UserLanguage, UsersManager, VisitFrequency, VisitTime, VisitorInterest, VisitsSummary, WebsiteMeasurable, Widgetize
That error is totally independent of Matomo, but instead as the error message mentions in my experimental DiagnosticsExtended plugin (https://plugins.matomo.org/DiagnosticsExtended).
So I'll be moving the issue there
It turns out one can't move issues between organisations/users, so I'll have to close this and I'd suggest either continuing the discussion in
or creating a new github issue in the repository of the plugin