Hi @steve-from-breathe4u,
Hm, I’m not sure what could cause this.
Would you be able to place 2 lines of code in the block-lab/php/post-types/class-block-post.php
, and let me know what the result is? Otherwise, setting an Xdebug breakpoint there would be great if you could.
1. Above this code:
if ( ! $template ) {
add_meta_box(
'block_template',
__( 'Template', 'block-lab' ),
array( $this, 'render_template_meta_box' ),
$this->slug,
'normal',
'high'
);
}
…could you please add this:
var_dump( $template );
wp_die();
…so all of the code should look like:
var_dump( $template );
wp_die();
if ( ! $template ) {
add_meta_box(
'block_template',
__( 'Template', 'block-lab' ),
array( $this, 'render_template_meta_box' ),
$this->slug,
'normal',
'high'
);
}
2. Then, could you please click ‘Update’ in the block:
https://cldup.com/atxpbcYYxu.png
3. And if you’re comfortable with this, could you post in this support topic what the result is? There should be debugging output. If there happens to be sensitive information, feel free to not post that ??
Thanks, Steve!