• Get a console error when first installing and going to the tool page:

    Notice: Trying to access array offset on value of type bool in /var/www/html/wp-content/plugins/find-my-blocks/inc/register-route.php on line 67

    Which is reference the block here:

    			if ( $settings[ 'include_drafts' ] == "true" ) {
    				array_push( $valid_statuses, 'draft' );
    			}

    Seems like there’s not a case to detect if the settings for the plugin haven’t been saved yet. Remove the block fixes the issue, and then I can save the settings, and readd it back in.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error when loading- no setting option detected’ is closed to new replies.