PHP warning: Bool treated as array
-
Many of these in my log:
PHP Warning: Trying to access array offset on value of type bool in */wp-content/plugins/security-header-generator/work/inc/kcp-cspgen-common.php on line 73
Suggest just replacing
$_opts['apply_child_override']
with (appending a null coalescing operator)$_opts['apply_child_override'] ?? ''
(or any falsey value)PHP 8.2.22
WP 6.6.1 (multisite)
SHG 5.1.29
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.