$this->variations = call_user_func( $this->variation_callback );
}
}
/**
* Filters the registered variations for a block type.
*
* @since 6.5.0
*
* @param array $variations Array of registered variations for a block type.
* @param WP_Block_Type $block_type The full block type object.
*/
return apply_filters( 'get_block_type_variations', $this->variations, $this );
}
/**
* Get block uses context.
*
* @since 6.5.0
*
* @return string[]
*/
public function get_uses_context() {
/**
* Filters the registered uses context for a block type.
*
* @since 6.5.0
*
* @param string[] $uses_context Array of registered uses context for a block type.
* @param WP_Block_Type $block_type The full block type object.
*/
return apply_filters( 'get_block_type_uses_context', $this->uses_context, $this );
}
}
Fatal error: Uncaught Error: Failed opening required '/home/sweetcod/domains/icosteopathy.pl/public_html/wp-includes/class-wp-block-pattern-categories-registry.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/sweetcod/domains/icosteopathy.pl/public_html/wp-settings.php:353
Stack trace:
#0 /home/sweetcod/domains/icosteopathy.pl/public_html/wp-config.php(103): require_once()
#1 /home/sweetcod/domains/icosteopathy.pl/public_html/wp-load.php(50): require_once('/home/sweetcod/...')
#2 /home/sweetcod/domains/icosteopathy.pl/public_html/wp-blog-header.php(13): require_once('/home/sweetcod/...')
#3 /home/sweetcod/domains/icosteopathy.pl/public_html/index.php(17): require('/home/sweetcod/...')
#4 {main}
thrown in /home/sweetcod/domains/icosteopathy.pl/public_html/wp-settings.php on line 353
Fatal error: Uncaught Error: Call to a member function set() on null in /home/sweetcod/domains/icosteopathy.pl/public_html/wp-includes/l10n.php:857
Stack trace:
#0 /home/sweetcod/domains/icosteopathy.pl/public_html/wp-includes/l10n.php(960): load_textdomain()
#1 /home/sweetcod/domains/icosteopathy.pl/public_html/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain()
#2 [internal function]: WP_Fatal_Error_Handler->handle()
#3 {main}
thrown in /home/sweetcod/domains/icosteopathy.pl/public_html/wp-includes/l10n.php on line 857