-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error in post-hierarchical-terms.php #29
Comments
AnalysisThis is a problem in
In my example the taxonomy was FixIn
|
I've raised the issue on Gutenberg. Now I'll develop a local workaround and add it to #25 |
Workaround is no longer used - it's commented out. But I haven't deleted the code. Closing anyway. |
Detected while trying to view
https://s.b/wp55/fizzie/category/block-news/
Notice: Trying to get property 'term_id' of non-object in C:\apache\htdocs\wp55\wp-content\plugins\gutenberg\build\block-library\blocks\post-hierarchical-terms.php on line 32
Notice: Trying to get property 'name' of non-object in C:\apache\htdocs\wp55\wp-content\plugins\gutenberg\build\block-library\blocks\post-hierarchical-terms.php on line 33
Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in
C:\apache\htdocs\wp55\wp-content\plugins\gutenberg\build\block-library\blocks\post-hierarchical-terms.php:33
Stack trace:
#0 C:\apache\htdocs\wp55\wp-content\plugins\gutenberg\build\block-library\blocks\post-hierarchical-terms.php(33): sprintf('...', Object(WP_Error), '')
#1 C:\apache\htdocs\wp55\wp-includes\class-wp-block.php(219): gutenberg_render_block_core_post_hierarchical_terms(Array, '', Object(WP_Block))
#2 C:\apache\htdocs\wp55\wp-includes\class-wp-block.php(211): WP_Block->render()
#3 C:\apache\htdocs\wp55\wp-includes\class-wp-block.php(211): WP_Block->render()
#4 C:\apache\htdocs\wordpress\wp-content\themes\fizzie\functions.php(307): WP_Block->render(Array)
#5 C:\apache\htdocs\wordpress\wp-content\themes\fizzie\functions.php(263): fizzie_render_block_core_query_loop_main_query(Array, '', Object(WP_Block))
#6 C:\apache\htdocs\wp55\wp-includes\class-wp-block.php(219): fizzie_render_block_core_query_loop(Array, in C:\apache\htdocs\wp55\wp-content\plugins\gutenberg\build\block-library\blocks\post-hierarchical-terms.php on line 33
The text was updated successfully, but these errors were encountered: