• trying to access array offset on value of type null class-wp-block-supports.php on line 98. Here is the code starting at line 96 and ending at line 99

    96.  public function apply_block_supports() {
    97.  $block_type = WP_Block_Type_Registry::get_instance()->get_registered(
    98.  self::$block_to_render[‘blockName’]

    99.  );

    • This topic was modified 9 months, 1 week ago by Joshua.
Viewing 1 replies (of 1 total)
  • In what context is the error caused? Presumably a component in your project is passing an incorrect value.

    I would recommend deactivating all plugins as a test. Does it then no longer occur? Then one of the plugins was to blame.

    If that doesn’t work, you can also try changing the theme to rule it out as the cause.

Viewing 1 replies (of 1 total)
  • The topic ‘Code error’ is closed to new replies.