Error thrown

Class 'WP_Block_Pattern_Categories_Registry' not found