-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
I hope this is the right place to report a PHP Notice with p2-breathe
I am getting the following PHP Notice with Revision 57498.
Trying to access array offset on value of type bool in inc/customizer.php line 61, 62, 64 & 65
The reason for this is this code. The get_theme_mod()
is returning false
by default when no settings have been saved and isset()
is checking if the variable is null.
$options = get_theme_mod( 'breathe_theme_options', null );
if ( ! isset( $options ) )
return;
A possible solution would be
$options = get_theme_mod( 'breathe_theme_options', null );
if ( ! $options )
return;
Metadata
Metadata
Assignees
Labels
No labels