dominik-th / matomo-plugin-LoginOIDC

external authentication services for matomo
https://plugins.matomo.org/LoginOIDC/
GNU General Public License v3.0
40 stars 29 forks source link

PHP 8.2 Undefined Array Key in logs #100

Open Entrepreneur-AJ opened 11 months ago

Entrepreneur-AJ commented 11 months ago

New warnings are showing up on system check now that I can successfully login. The warnings are as follows;

`

WARNING LoginOIDC 2023-07-26 16:02:49 UTC 05e55 /home/matomo/public_html/plugins/LoginOIDC/LoginOIDC.php(157): Warning - Undefined array key "login_logout_url" - Matomo 4.15.0
WARNING LoginOIDC 2023-07-26 16:02:49 UTC 05e55 /home/matomo/public_html/plugins/LoginOIDC/Url.php(81): Warning - Undefined array key "port" - Matomo 4.15.0
WARNING LoginOIDC 2023-07-26 16:02:40 UTC 2b001 /home/matomo/public_html/plugins/LoginOIDC/LoginOIDC.php(150): Warning - Undefined array key "loginoidc_auth" - Matomo 4.15.0

`

System Info:

Click to view System Check ### Mandatory checks #### PHP version >= 7.2.5: ✔ 8.2.8 #### PDO extension: ✔ #### PDO\MYSQL extension: ✔ #### MYSQLI extension: ✔ #### Other required extensions: ✔ zlib ✔ json ✔ filter ✔ hash ✔ session #### Required functions: ✔ debug_backtrace ✔ eval ✔ hash ✔ gzcompress ✔ gzuncompress ✔ pack #### Required PHP configuration (php.ini): ✔ session.auto_start = 0 ✔ max_execution_time = 0 OR = -1 OR >= 30 #### Directories with write access: ✔ $DOC_ROOT/tmp ✔ $DOC_ROOT/tmp/assets ✔ $DOC_ROOT/tmp/cache ✔ $DOC_ROOT/tmp/climulti ✔ $DOC_ROOT/tmp/latest ✔ $DOC_ROOT/tmp/logs ✔ $DOC_ROOT/tmp/sessions ✔ $DOC_ROOT/tmp/tcpdf ✔ $DOC_ROOT/tmp/templates_c #### Directories with write access for Tag Manager: ✔ $DOC_ROOT/js ### Optional checks #### Required Private Directories: ✔ All private directories are inaccessible from the internet. #### Recommended Private Directories: ✔ All private directories are inaccessible from the internet. #### File integrity: ✔ #### 64-bit PHP Binary: ✔ #### Tracker status: ✔ #### Memory limit: ✔ 256M #### Time zone: ✔ #### Open URL: ✔ curl #### PageSpeed is turned off: ✔ #### GD > 2.x + FreeType (graphics): ✔ #### Other extensions: ✔ json ✔ libxml ✔ dom ✔ SimpleXML ✔ openssl #### Other functions: ✔ shell_exec ✔ set_time_limit ✔ mail ✔ parse_ini_file ✔ glob ✔ gzopen ✔ md5_file #### Filesystem: ✔ #### Set up Cron - Managing processes via CLI: ✔ Ok #### Last Successful Archiving Completion: ✔ The archiving process completed successfully 00:06:29 ago. #### Database abilities: ✔ UTF8mb4 charset ✔ LOAD DATA INFILE ✔ CREATE TEMPORARY TABLES ✔ Changing transaction isolation level #### Max Packet Size: ✔ #### Forced SSL Connection: ✔ #### Geolocation: ⚠ Warning: Geolocation works, but you are not using one of the recommended providers. If you have to import log files or do something else that requires setting IP addresses, use the PHP GeoIP 2 implementation and install maxminddb extension. #### Update over HTTPS: ✔ #### Writable JavaScript Tracker ("/matomo.js"): ✔ ### Informational results #### Matomo Version: 4.15.0 #### Matomo Update History: 4.15.0, #### Matomo Install Version: 4.15.0 #### Latest Available Version: 4.15.0 #### Is Git Deployment: 0 #### PHP_OS: Linux #### PHP_BINARY: /opt/remi/php82/root/usr/bin/lsphp #### PHP SAPI: litespeed #### Timezone Version: 2023.3 #### PHP Timezone: UTC #### PHP Time: 1690387618 #### PHP Datetime: 2023-07-26 16:06:58 #### PHP INI max_execution_time: 300 #### PHP INI post_max_size: 50M #### PHP INI max_input_vars: 3000 #### PHP INI zlib.output_compression: #### Curl Version: 8.0.1, OpenSSL/3.0.9 #### Suhosin Installed: 0 #### DB Prefix: matomo_ #### DB Charset: utf8mb4 #### DB Adapter: PDO\MYSQL #### MySQL Version: 10.5.20-MariaDB-log #### Num Tables: 60 #### Browser Segment Archiving Enabled: 1 #### Development Mode Enabled: 0 #### Internet Enabled: 1 #### Multi Server Environment: 0 #### Auto Update Enabled: 1 #### Custom User Path: 0 #### Custom Include Path: 0 #### Release Channel: latest_stable #### Plugins Activated: API, Actions, Annotations, Bandwidth 4.0.5, BotTracker 2.08, BraveDetector 0.1.2, BulkTracking, Contents, CoreAdminHome, CoreConsole, CoreHome, CorePluginsAdmin, CoreUpdater, CoreVisualizations, CoreVue, CustomDimensions, CustomJsTracker, Dashboard, DeviceDetectorCache 4.3.1, DeviceFeatureWebGL 4.0.1, DeviceNetworkInformation 4.0.1, DevicePixelRatio 2.0.1, DevicePlugins, DevicesDetection, Diagnostics, DisableTracking 1.2.0, DynamicDeviceDetectorCache 1.0.4, Ecommerce, Events, GeoIp2, Goals, Heartbeat, ImageGraph, Insights, Installation, Intl, IntranetMeasurable, JsTrackerForceAsync 4.0.0, LanguagesManager, Live, LogViewer 4.1.2, Login, LoginOIDC 4.1.2, MarketingCampaignsReporting 4.1.3, Marketplace, MobileMessaging, Modern 1.1.5, Monolog, Morpheus, MultiSites, Overlay, PagePerformance, PasswordVerifier 0.2.3, PrivacyManager, ProtectTrackID 2.7.0, Proxy, QueuedTracking 4.0.7, QuickExcludeVisitorIP 0.1.1, Referrers, ReferrersManager 4.0.4, Resolution, SEO, ScheduledReports, SegmentEditor, SitesManager, TagManager, TrackingSpamPrevention 4.1.7, Transitions, TwilioSMS 0.2.3, TwoFactorAuth, UserCountry, UserCountryMap, UserId, UserLanguage, UsersManager, VipDetector 1.0.0, VisitFrequency, VisitTime, VisitorInterest, VisitsSummary, WebsiteMeasurable, Widgetize #### Plugins Deactivated: DBStats, Feedback, GoogleTheme 1.2.5, HidePasswordReset 4.3.3, MobileAppMeasurable, ProfessionalServices, RssWidget, Tour #### Plugins Invalid: #### Server Info: LiteSpeed #### Had visits in last 1 day: 1 #### Had visits in last 3 days: 1 #### Had visits in last 5 days: 1 #### Archive Time Last Started: 2023-07-26 16:00:18 #### Archive Time Last Finished: 2023-07-26 16:00:29 #### User Agent: Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0 #### Browser Language: en-us,en #### Total Invalidation Count: 0 #### In Progress Invalidation Count: 0 #### Scheduled Invalidation Count: 0 #### Earliest invalidation ts_started: #### Latest invalidation ts_started: #### Earliest invalidation ts_invalidated: #### Latest invalidation ts_invalidated: #### Number of segment invalidations: 0 #### Number of plugin invalidations: 0 #### List of plugins being invalidated: #### Anonymize Referrer: #### Do Not Track enabled: 1