I get this error when I have custom taxonomy fields, using CMB2, on /wp-admin/edit-tags.php?taxonomy=category but not on /wp-admin/term.php?taxonomy=category&tag_ID=8022&post_type=post&wp_http_referer=%2Fwp-admin%2Fedit-tags.php%3Ftaxonomy%3Dcategory for example.
Full error:
[Fri Jul 21 10:22:50.138808 2017] [:error] [pid 7116] [client 127.0.0.1:62550] PHP Notice: Undefined variable: term_meta in /wp-content/themes/largo/inc/taxonomy-archive-sidebars.php on line 45, referer: https://minnpost-wordpress.dev/wp-admin/
I get this error when I have custom taxonomy fields, using CMB2, on
/wp-admin/edit-tags.php?taxonomy=category
but not on/wp-admin/term.php?taxonomy=category&tag_ID=8022&post_type=post&wp_http_referer=%2Fwp-admin%2Fedit-tags.php%3Ftaxonomy%3Dcategory
for example.Full error:
Here's how my category is set up:
I did try
'new_term_section' => true, // will display in add category section
with both true and false, and the error still appeared both ways.