Bug: Get a fatal error when adding a new category
-
When adding a new pattern category get a fatal error: Fatal error: Cannot use empty array elements in arrays.
The register_block_pattern_category() function was created with error like this (extra comma):
register_block_pattern_category( ‘landing-page’, [ ‘label’ => ‘Landing Page’, , ‘pm_custom’ => true ] );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug: Get a fatal error when adding a new category’ is closed to new replies.