FriendsOfREDAXO / accessdenied

Access Denied: Artikel oder Kategoriezugriff im Frontend sperren (offline + kein Zugriff)
MIT License
38 stars 3 forks source link

Scalar expected for $needle in arrayKeyCast(), got NULL! #37

Closed alxndr-w closed 2 years ago

alxndr-w commented 2 years ago

InvalidArgumentException: Scalar expected for $needle in arrayKeyCast(), got NULL! File: src/core/lib/request.php Line: 207

Stacktrace | Function | File | Line | | ---------------------------- | ------------------------------------------- | -------- | | rex_request::arrayKeyCast | src/core/lib/request.php | 55 | | rex_request::request | src/core/functions/function_rex_globals.php | 66 | | rex_request | src/addons/accessdenied/boot.php | 28 | | rex_package->{closure} | src/core/lib/extension.php | 52 | | rex_extension::{closure} | src/core/lib/util/timer.php | 57 | | rex_timer::measure | src/core/lib/extension.php | 63 | | rex_extension::registerPoint | src/core/packages.php | 33 | | include_once | src/core/frontend.php | 16 | | require | src/core/boot.php | 143 | | require | public/index.php | 12 |
System report (REDAXO 5.13.3, PHP 7.4.28, MariaDB 10.3.31) | REDAXO | | | ------------: | :--------- | | Version | 5.13.3 | | PHP | | | ------------: | :--------- | | Version | 7.4.28 | | OPcache | yes | | Xdebug | no | | Database | | | ------------: | :-------------- | | Version | MariaDB 10.3.31 | | Character set | utf8mb4 | | Server | | | ------------: | :----------- | | OS | Linux | | SAPI | fpm-fcgi | | Webserver | nginx/1.18.0 | | Request | | | ------------: | :------------------- | | Browser | Chrome/102.0.5005.63 | | Protocol | HTTP/2.0 | | HTTPS | yes | | Packages | | | -----------------------: | :---------- | | accessdenied | 2.0.0 | | adminer | 1.9.2 | | auto_delete | 1.0-dev | | backup | 2.8.1 | | be_password | 2.0.0 | | be_style | 3.0.2 | | be_style/customizer | 3.0.2 | | be_style/redaxo | 3.0.2 | | be_style_fluent | 3.1.2 | | bloecks | 3.1.1 | | bloecks/cutncopy | 3.1.1 | | bloecks/status | 3.1.1 | | consent_manager | 3.0.7 | | cronjob | 2.8.2 | | cronjob/article_status | 2.8.1 | | cronjob/optimize_tables | 2.8.1 | | debug | 1.2.1 | | developer | 3.9.0 | | epcqrcode | 1.0.3 | | events | 3.0.0-dev4 | | feeds | 3.3.0-beta1 | | focuspoint | 4.0.1 | | global_settings | 2.8.1 | | install | 2.9.3 | | mailer_profile | 1.0.1 | | maintenance | 2.7.7 | | media_manager | 2.12.3 | | media_manager_responsive | 0.5.1-dev | | mediapool | 2.11.3 | | metainfo | 2.8.5 | | mform | 7.0.2.beta | | mform/docs | 1.1 | | msg | dev | | phpmailer | 2.11.2 | | plus_bs5 | 0.0.5 | | project | dev | | project_manager | 1.4.0 | | project_manager/client | 1.1.0 | | qanda | 2.0.9 | | quick_navigation | 5.3.1 | | redactor | 2.3.0 | | search_it | 6.9.0 | | search_it/documentation | 6.9.0 | | speed_up | 1.1.5 | | sprog | 1.3.0 | | structure | 2.13.3 | | structure/content | 2.13.3 | | structure/history | 2.13.3 | | url | 2.0.1 | | users | 2.8.2 | | ydeploy | 1.1.0 | | yform | 4.0.2 | | yform/email | 4.0.2 | | yform/manager | 4.0.2 | | yform_field | 2.0 | | yform_geo_osm | 1.2.6 | | yform_spam_protection | 2.0.0-beta | | yform_usability | 2.0.5-dev | | yrewrite | 2.8.3 | | yrewrite_metainfo | 1.0.2 | | zip_install | 1.2 |
alxndr-w commented 2 years ago

Liegt daran, dass beim Deployment kein Config-Wert vorliegen kann und der Linkparameter damit NULL ist.

alxndr-w commented 2 years ago

closed in https://github.com/FriendsOfREDAXO/accessdenied/commit/ee86b35aa18ece419e97a4652b936c3878b0bb80