Skip to content

Front end Fatal error rendering tag cloud for unregistered taxonomy #7

@bobbingwide

Description

@bobbingwide

While attempting to check that oik.css wasn't inadvertently affecting the style changes noticed when using Gutenberg-source ( latest trunk) I deactivated oik. This prevented the custom taxonomies from being registered which produced a Fatal error trying to display the tag cloud.

Warning: Attempt to read property "labels" on bool in C:\apache\htdocs\bigram\wp-includes\taxonomy.php on line 582

Fatal error: Uncaught Error: Attempt to assign property "labels" on bool in C:\apache\htdocs\bigram\wp-includes\taxonomy.php:582
Stack trace:

#0 C:\apache\htdocs\wordpress\wp-content\plugins\gutenberg-wordpress-source\build\block-library\blocks\tag-cloud.php(24): get_taxonomy_labels(false) 
#1 C:\apache\htdocs\wordpress\wp-content\plugins\gutenberg-wordpress-source\lib\compat.php(136): gutenberg_render_block_core_tag_cloud(Array, '', Object(WP_Block)) 
#2 C:\apache\htdocs\bigram\wp-includes\class-wp-block.php(221): {closure}(Array, '', Object(WP_Block)) 
#3 C:\apache\htdocs\bigram\wp-includes\class-wp-block.php(211): WP_Block->render() 
#4 C:\apache\htdocs\bigram\wp-includes\class-wp-block.php(211): WP_Block->render() 
#5 C:\apache\htdocs\bigram\wp-includes\class-wp-block.php(211): WP_Block->render() 
#6 C:\apache\htdocs\bigram\wp-includes\blocks.php(799): WP_Block->render() 
#7 C:\apache\htdocs\bigram\wp-includes\blocks.php(837): render_block(Array) 
#8 C:\apache\htdocs\wordpress\wp-content\plugins\gutenberg-wordpress-source\build\block-library\blocks\template-part.php(100): do_blocks('<!-- wp:group {...') 
#9 C:\apache\htdocs\wordpress\wp-content\plugins\gutenberg-wordpress-source\lib\compat.php(136): gutenberg_render_block_core_template_part(Array, '', Object(WP_Block)) 
#10 C:\apache\htdocs\bigram\wp-includes\class-wp-block.php(221): {closure}(Array, '', Object(WP_Block)) 
#11 C:\apache\htdocs\bigram\wp-includes\blocks.php(799): WP_Block->render() 
#12 C:\apache\htdocs\bigram\wp-includes\blocks.php(837): render_block(Array) 
#13 C:\apache\htdocs\wordpress\wp-content\plugins\gutenberg-wordpress-source\lib\full-site-editing\template-loader.php(182): do_blocks('<!-- wp:templat...') 
#14 C:\apache\htdocs\wordpress\wp-content\plugins\gutenberg-wordpress-source\lib\template-canvas.php(12): gutenberg_get_the_template_html() 
#15 C:\apache\htdocs\bigram\wp-includes\template-loader.php(106): include('C:\\apache\\htdoc...') 
#16 C:\apache\htdocs\bigram\wp-blog-header.php(19): require_once('C:\\apache\\htdoc...') 
#17 C:\apache\htdocs\bigram\index.php(17): require('C:\\apache\\htdoc...') 
#18 {main} thrown in C:\apache\htdocs\bigram\wp-includes\taxonomy.php on line 582

Metadata

Metadata

Assignees

Labels

GutenbergA bug / enhancement to GutenbergbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions