Ciao a tutti - Ho installato il componente tematico custom-category-boxes e, su alcune (ma non tutte) delle mie pagine, ricevo un banner di avviso in alto e vedo quanto segue nella console del mio browser. Sembra che ciò sia dovuto al fatto che la variabile c finisce per essere null - perché ciò accada, non l’ho investigato ulteriormente.
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
All’inizio ho pensato che potesse essere dovuto al fatto che i nomi delle categorie avessero spazi, ma anche rinominare una categoria per non avere spazi continua a generare questo errore.
Sarò lieto di fornire ulteriori informazioni se desiderate/necessitate. Il forum in questione è https://forums.rockylinux.org
Ho anche notato un Uncaught TypeError: Cannot read properties of undefined (reading 'name'). Ma non è correlato alle caselle di categoria personalizzate; si verifica anche in modalità sicura.