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 73Suggest 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)
The topic ‘PHP warning: Bool treated as array’ is closed to new replies.