Hi all - I installed the custom-category-boxes theme component, and on some (but not all) of my pages, I receive a warning banner at the top and see the following in my browser console. It appears that this is because the c variable ends up being null–why that is, I did not investigate further.
client-error-handler.js:125 [THEME 2 'Custom Category Boxes']
TypeError: Cannot read properties of undefined (reading 'name')
at category-banner.js:31:24
at plugin-api.js:127:26
at AppEvents.<anonymous> (plugin-api.js:736:50)
at m (index.js:200:1)
at AppEvents.trigger (evented.js:27:1)
at page-tracker.js:41:17
at invoke (backburner.js.js:282:1)
at h.flush (backburner.js.js:197:1)
at p.flush (backburner.js.js:358:1)
at B._end (backburner.js.js:798:1)
at B.end (backburner.js.js:589:1)
at B._runExpiredTimers (backburner.js.js:905:1)
reportToConsole @ client-error-handler.js:125
At first I thought this may be due to the category names having spaces in them, but even renaming one category to have no spaces continues to throw this error.
I also noticed an Uncaught TypeError: Cannot read properties of undefined (reading 'name'). But it isn’t related to custom category boxes; it even happens in safe mode.