Error with latest release
-
Hi All,
I have the latest release installed but the hidden categories are showing, I applied a change to line 43 that Andy suggested, and it fixed it but now I’m seeing an error, details below.
Thanks!
-Scott> Can you change line 43 in src/Category_Colors/views/legend.php from
>
> <?php if ( isset( $options[‘show_ignored_cats_legend’] ) ) : ?>
>
> to
>
> <?php if ( ! empty( $options[‘show_ignored_cats_legend’] ) ) : ?>
jQuery.Deferred exception: Cannot read properties of null (reading 'length') TypeError: Cannot read properties of null (reading 'length')
??? at HTMLLIElement.convertLegendEntries (https://neonet.org/wp-content/plugins/the-events-calendar-category-colors/src/resources/legend-superpowers.js?ver=7.3.1:129:18)
??? at Function.each (https://neonet.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:3129)
??? at e.<computed>.each (https://neonet.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:1594)
??? at SuperPowers.activate (https://neonet.org/wp-content/plugins/the-events-calendar-category-colors/src/resources/legend-superpowers.js?ver=7.3.1:101:25)
??? at HTMLDocument.onContainerUpdate (https://neonet.org/wp-content/plugins/the-events-calendar-category-colors/src/resources/legend-superpowers.js?ver=7.3.1:50:19)
??? at HTMLDocument.dispatch (https://neonet.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:40035)
??? at v.handle (https://neonet.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:38006)
??? at Object.trigger (https://neonet.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:70124)
??? at HTMLDivElement.<anonymous> (https://neonet.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:70726)
??? at Function.each (https://neonet.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:3129) undefined ce.Deferred.exceptionHook @ jquery.min.js?ver=3.7.1:2 setTimeout (async)
(anonymous) @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
fire @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
ready @ jquery.min.js?ver=3.7.1:2
P @ jquery.min.js?ver=3.7.1:2
jquery.min.js?ver=3.7.1:2 Uncaught TypeError: Cannot read properties of null (reading 'length')
??? at HTMLLIElement.convertLegendEntries (legend-superpowers.js?ver=7.3.1:129:18)
??? at Function.each (jquery.min.js?ver=3.7.1:2:3129)
??? at e.<computed>.each (jquery.min.js?ver=3.7.1:2:1594)
??? at SuperPowers.activate (legend-superpowers.js?ver=7.3.1:101:25)
??? at HTMLDocument.onContainerUpdate (legend-superpowers.js?ver=7.3.1:50:19)
??? at HTMLDocument.dispatch (jquery.min.js?ver=3.7.1:2:40035)
??? at v.handle (jquery.min.js?ver=3.7.1:2:38006)
??? at Object.trigger (jquery.min.js?ver=3.7.1:2:70124)
??? at HTMLDivElement.<anonymous> (jquery.min.js?ver=3.7.1:2:70726)
??? at Function.each (jquery.min.js?ver=3.7.1:2:3129) convertLegendEntries @ legend-superpowers.js?ver=7.3.1:129
each @ jquery.min.js?ver=3.7.1:2
each @ jquery.min.js?ver=3.7.1:2
activate @ legend-superpowers.js?ver=7.3.1:101
onContainerUpdate @ legend-superpowers.js?ver=7.3.1:50
dispatch @ jquery.min.js?ver=3.7.1:2
v.handle @ jquery.min.js?ver=3.7.1:2
trigger @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
each @ jquery.min.js?ver=3.7.1:2
each @ jquery.min.js?ver=3.7.1:2
trigger @ jquery.min.js?ver=3.7.1:2
obj.setup @ manager.min.js?ver=6.5.1.6:11 each @ jquery.min.js?ver=3.7.1:2 each @ jquery.min.js?ver=3.7.1:2 obj.ready @ manager.min.js?ver=6.5.1.6:11 e @ jquery.min.js?ver=3.7.1:2 t @ jquery.min.js?ver=3.7.1:2 setTimeout (async) ce.readyException @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
e @ jquery.min.js?ver=3.7.1:2
t @ jquery.min.js?ver=3.7.1:2
setTimeout (async)
(anonymous) @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
fire @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
t @ jquery.min.js?ver=3.7.1:2
setTimeout (async)
(anonymous) @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
fire @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
ready @ jquery.min.js?ver=3.7.1:2
P @ jquery.min.js?ver=3.7.1:2
has context menuThe page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.