- changed status to closed
PHP Warning: Undefined array key "fe_users" in Classes/Api/AbstractApi.php line 170
Issue #56
closed
I found a lot of this PHP warnings in my TYPO3 12 log (System → Protokoll):
Core: Error handler (FE): PHP Warning: Undefined array key "fe_users" in /var/www/html/vendor/nng/nnrestapi/Classes/Api/AbstractApi.php line 170
It comes from this code part:
if ($feUser && $endpoint['access']['fe_users'] ?? false) {
This can be prevented, by changing it to:
if ($feUser && ($endpoint['access'] ?? false) && ($endpoint['access']['fe_users'] ?? false)) {
Comments (1)
-
- Log in to comment