Unused/Empty Script causes jQuery is not defined Error

in Download Manager Free

Viewing 4 posts - 1 through 4 (of 4 total)
Mar 24, 2026 at 2:15 am
#213022
Participant
Jonathan Dwinell
OP

Console JavaScript error on pages prevent other scripts and functionality from working. This code is inserted into all pages with an empty jQuery function and throws a “jQuery is not defined” error.

<script>
                const abmsg = "We noticed an ad blocker. Consider whitelisting us to support the site ❤️";
                const abmsgd = "download";
                const iswpdmpropage = 0;
                jQuery(function($){

                    
                });
            </script>
Mar 24, 2026 at 4:44 am
#213023
Moderator
Nayeem Riddhi
Staff

Hello Jonathan Dwinell,

Hope you are well. And sorry for the inconvenience. Please kindly more elaborate on your issue and please share the related URLs. Please kindly check.

Thank you

Mar 24, 2026 at 1:49 pm
#213036
Participant
Jonathan Dwinell
OP

Your plugin injects the provided <script> code in the footer on all pages of the website even if Downloads exist on that page or not. Why output this code at all?

But, the primary issue is it throws a Console error “Uncaught ReferenceError: jQuery is not defined” which breaks other elements on the page. This happens if jQuery is loaded after your script injection instead of within the head.

Mar 25, 2026 at 5:47 am
#213055
Moderator
Nayeem Riddhi
Staff

Such issue not reporting by other users. Please kindly share the related URLs. if possible, please, give your temporary wp-admin login details in a private reply to check the issue.

Thank you and regards

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.