I just upgrade the blog to PHP 8.0 . Once upgraded, I received this error message. After disabling all plugins one-by-one, the message only disappeared after disabling jQuery Hover Footnotes.
This is the error message I received:
Notice: Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the footenote_js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /nas/content/live/xxx/wp-includes/functions.php on line 5831
Notice: Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the footenote_css handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /nas/content/live/xxx/wp-includes/functions.php on line 5831
Any suggestions?
]]>Hi,
Earlier the popup worked perfectly but it stopped working suddenly. Is there any way to fix it?
In the browser console, I can see an error. Please check this screenshot. Is this related to the issue?
Thanks.
]]>when WP_DEBUG is enabled from wp-config.php, i see 2 errors:
1) https://i.imgur.com/4jLDtgR.png
solution needs this:
==jFootnotes.php , 185 line, put the wp_enqueu functions inside action named "wp_enqueue_scripts" :
add_action( 'wp_enqueue_scripts', 'myf_444444',98,3 );
function myf_444444() {
wp_enqueue_s.......
}
2) https://i.imgur.com/Jy86fGw.png
solution:
on 43 line, need ‘manage_options’, instead of number 9:
add_options_page(‘jQuery Hover Footnotes’, ‘jQ Footnotes’, ‘manage_options,
On my pages I have notes marked like *, ** and then numbers 1,2,3… etc.
Footnote shows * as 1, ** as 2, 1 as 3, 2 as 4… but I need: * should jump to *, ** to **, 1 to 1 etc. Any idea how to do it?
Thank you!
https://www.ads-software.com/plugins/jquery-hover-footnotes/
]]>Would be great if it could do automatic numbering. So if you need to edit and insert a footnote later in the middle of the post you don’t need to manually renumber everything.
https://www.ads-software.com/extend/plugins/jquery-hover-footnotes/
]]>When I display the references at the bottom of the page, instead of getting numbers, I’m getting letters (ie. instead of 1, 2, etc, I’m getting A, B, etc). The reference mark at the place in the text is correct (ie. it’s a number). Is there a way to control this behavior?
https://www.ads-software.com/extend/plugins/jquery-hover-footnotes/
]]>When wp debug is enabled I see this notice:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks.
I don’t know how to correct this. I find only this plugin for footnote that works as I need.
https://www.ads-software.com/extend/plugins/jquery-hover-footnotes/
]]>You have conflicting instructions on your website and this one – on yours you say to use single brackets, on this one, double.
Either way, it doesn’t work for me. At one point, I got the hover box to come up, but it displayed the entire page instead of just the footnote info. Other times I couldn’t get it to work at all.
Nor did it display the number in superscript.
Really wish it worked. Maybe it’s a conflict with my theme, but whatever, I’m sad that I couldn’t get it to go.
https://www.ads-software.com/extend/plugins/jquery-hover-footnotes/
]]>