Table of Contents not work in last version
-
Same here. Got the following error in the console:
jquery.min.js?ver=3.5.1:2 Uncaught ReferenceError: h_tag is not defined at Object._run (table-of-contents.js?ver=1.20.0:127) at HTMLDocument.<anonymous> ((index):926) at e (jquery.min.js?ver=3.5.1:2) at t (jquery.min.js?ver=3.5.1:2)
WP: 5.6
PHP: 7.4.14
MariaDB: 10.4.17
UAG: 1.20.0Tried disabling all plugins and switched to the theme twentytwentyone with no effect.
Also seeing the same .js error with the Table of Contents.
Hi,
I’m getting this error as well. UAG’s table of content was working fine yesterday and today it’s throwing error:
Error Message:
Uncaught ReferenceError: h_tag is not defined
at Object._run (table-of-contents.js?ver=1.20.0:127)
at HTMLDocument.<anonymous> ((index):4202)
at e (jquery.min.js?ver=3.5.1:2)
at t (jquery.min.js?ver=3.5.1:2)Warning Message:
jQuery.Deferred exception: h_tag is not defined ReferenceError: h_tag is not defined
at Object._run (https://…/wp-content/plugins/ultimate-addons-for-gutenberg/assets/js/table-of-contents.js?ver=1.20.0:127:34)
at HTMLDocument.<anonymous> (https://…/blog/:4202:25)
at e (https://…/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30005)
at t (https://…/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30307) undefined-
This reply was modified 4 years, 2 months ago by
laidbacktony.
Hello @laidbacktony and others,
Sorry for the inconvenience caused to you.
Could you please share the URL of your page so that we can have a look? We have checked at our end and it seems to be working fine.
Looking forward to hearing from you.
I upload backup
but create copy with issue, you can checkjquery.min.js?ver=3.5.1:2 jQuery.Deferred exception: h_tag is not defined ReferenceError: h_tag is not defined
at Object._run (https://dev-kotikmeow.wpbox.top/wp-content/plugins/ultimate-addons-for-gutenberg/assets/js/table-of-contents.js?ver=1.20.0:127:34)
at HTMLDocument.<anonymous> (https://dev-kotikmeow.wpbox.top/will-my-kitten-be-ok-while-im-at-work-covid-19/:1075:25)
at e (https://dev-kotikmeow.wpbox.top/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30005)
at t (https://dev-kotikmeow.wpbox.top/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30307) undefined
S.Deferred.exceptionHook @ jquery.min.js?ver=3.5.1:2
t @ jquery.min.js?ver=3.5.1:2
setTimeout (async)
(anonymous) @ jquery.min.js?ver=3.5.1:2
c @ jquery.min.js?ver=3.5.1:2
add @ jquery.min.js?ver=3.5.1:2
(anonymous) @ jquery.min.js?ver=3.5.1:2
s.Deferred.s.Deferred @ jquery-migrate.min.js?ver=3.3.2:2
then @ jquery.min.js?ver=3.5.1:2
S.fn.ready @ jquery.min.js?ver=3.5.1:2
(anonymous) @ (index):1074
(anonymous) @ (index):1077
jquery.min.js?ver=3.5.1:2 Uncaught ReferenceError: h_tag is not defined
at Object._run (table-of-contents.js?ver=1.20.0:127)
at HTMLDocument.<anonymous> ((index):1075)
at e (jquery.min.js?ver=3.5.1:2)
at t (jquery.min.js?ver=3.5.1:2)
_run @ table-of-contents.js?ver=1.20.0:127
(anonymous) @ (index):1075
e @ jquery.min.js?ver=3.5.1:2
t @ jquery.min.js?ver=3.5.1:2
setTimeout (async)
S.readyException @ jquery.min.js?ver=3.5.1:2
(anonymous) @ jquery.min.js?ver=3.5.1:2
e @ jquery.min.js?ver=3.5.1:2
t @ jquery.min.js?ver=3.5.1:2
setTimeout (async)
(anonymous) @ jquery.min.js?ver=3.5.1:2
c @ jquery.min.js?ver=3.5.1:2
fireWith @ jquery.min.js?ver=3.5.1:2
fire @ jquery.min.js?ver=3.5.1:2
c @ jquery.min.js?ver=3.5.1:2
fireWith @ jquery.min.js?ver=3.5.1:2
t @ jquery.min.js?ver=3.5.1:2
setTimeout (async)
(anonymous) @ jquery.min.js?ver=3.5.1:2
c @ jquery.min.js?ver=3.5.1:2
add @ jquery.min.js?ver=3.5.1:2
(anonymous) @ jquery.min.js?ver=3.5.1:2
s.Deferred.s.Deferred @ jquery-migrate.min.js?ver=3.3.2:2
then @ jquery.min.js?ver=3.5.1:2
S.fn.ready @ jquery.min.js?ver=3.5.1:2
(anonymous) @ (index):1074
(anonymous) @ (index):1077The page is: https://www.spicycommerce.com/blog/starting-an-ecommerce-business/
If I roll back the Plugin to version 1.19.0 and the error is gone. However, the scroll to the top indicator looks different on Chrome – https://snipboard.io/NSwW8F.jpg
Whereas on Firefox, it looks correct the way it should – https://snipboard.io/PBF7Xe.jpg
Now, I’ve applied the latest update to UAG for version 1.20.0 and the error is back there.
The scroll to the top tooltip doesn’t show anymore but if you inspect the page, you’ll see the error:
Error:
Uncaught ReferenceError: h_tag is not defined
at Object._run (table-of-contents.js?ver=1.20.0:127)
at HTMLDocument.<anonymous> ((index):4202)
at e (jquery.min.js?ver=3.5.1:2)
at t (jquery.min.js?ver=3.5.1:2)Warning:
jQuery.Deferred exception: h_tag is not defined ReferenceError: h_tag is not defined
at Object._run (https://www.spicycommerce.com/wp-content/plugins/ultimate-addons-for-gutenberg/assets/js/table-of-contents.js?ver=1.20.0:127:34)
at HTMLDocument.<anonymous> (https://www.spicycommerce.com/blog/starting-an-ecommerce-business/:4202:25)
at e (https://www.spicycommerce.com/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30005)
at t (https://www.spicycommerce.com/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30307) undefinedSame issue for me :
https://212.129.11.244/index.php/ressources/idees-mag/
Uncaught ReferenceError: h_tag is not defined _run https://212.129.11.244/wp-content/plugins/ultimate-addons-for-gutenberg/assets/js/table-of-contents.js?ver=1.20.0:127 <anonymous> https://212.129.11.244/index.php/ressources/idees-mag/#2020-2021:1791 jQuery 9 e t setTimeout handler*l/< c add then Deferred then ready <anonymous> https://212.129.11.244/index.php/ressources/idees-mag/#2020-2021:1790 <anonymous> https://212.129.11.244/index.php/ressources/idees-mag/#2020-2021:1793 EventListener.handleEvent* https://212.129.11.244/index.php/ressources/idees-mag/#2020-2021:1790 table-of-contents.js:127:34 _run https://212.129.11.244/wp-content/plugins/ultimate-addons-for-gutenberg/assets/js/table-of-contents.js?ver=1.20.0:127 <anonyme> https://212.129.11.244/index.php/ressources/idees-mag/#2020-2021:1791 jQuery 9 e t (Asynchrone : setTimeout handler) l c add then Deferred then ready <anonyme> https://212.129.11.244/index.php/ressources/idees-mag/#2020-2021:1790 <anonyme> https://212.129.11.244/index.php/ressources/idees-mag/#2020-2021:1793 (Asynchrone : EventListener.handleEvent) <anonyme> https://212.129.11.244/index.php/ressources/idees-mag/#2020-2021:1790
Hello @pwozniak89 and others,
We’re sorry for the inconvenience caused to you. Also, we are thankful for your patience and readiness to help us fix things that we come across.
I’d like to let you know, we have fixed this issue at our end and soon going to release an update regarding it.
Your patience and co-operation are highly appreciated.
The error and warning are gone after the latest update. Thanks.
However, I’m still having problems with the table of contents scroll to top tool tip.
On Firefox, it looks this https://snipboard.io/kZtARa.jpg
But on Chrome and MS Edge it looks like this https://snipboard.io/zpbyEI.jpg
The page in question is https://www.spicycommerce.com/blog/starting-an-ecommerce-business/
Any ideas on what the issue may be?
Hello @pwozniak89,
I checked the issue you are facing with the Scroll to top icon not displaying on your page.
As I can see the Dashicons CSS file ( https://a.cl.ly/p9u8gpry ) is not loaded on your page, which causes the issue.
Can you please check if there is any third-party plugin or any code in your child-theme that is blocking the loading of the Dashicons CSS file on your page?
Looking forward to hearing from you.
Regards,
Rajkiran.Hello @laidbacktony ,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Thank you!
-
This reply was modified 4 years, 2 months ago by
- The topic ‘Table of Contents not work in last version’ is closed to new replies.