Disable all plugins and switch to the default theme. It should be gone now.
Then enable each addon step by step, until the problem comes back. You know the source now, let’s say a plugin.
The plugin calls probably wp_enqueue_script too early. Find all occurrences of that function, then make sure they are bound to specific actions:
wp_register_script()should be called for the actionwp_loadedwp_enqueue_scripton one of the actionswp_enqueue_scripts,admin_enqueue_scripts,customize_controls_enqueue_scriptsorlogin_enqueue_scripts(see this thread for the latter).
Related Posts:
- Show errormessages on wrong username/password on custom loginform?
- Remove type attribute from script and style tags added by WordPress
- Masking logout URL
- How can I tell if I’m on a login page? [duplicate]
- Is it possible to use a forgot password url filter?
- How to display error messages using WP_Error class?
- redirect wp-login.php to another page
- Login using the password from protected pages
- Remove Menu Page Giving Error
- How do I redirect upon login a specific user based on role?
- Logging in redirects to correct page but shows logged out content until forced refresh
- Functions.php reverted to new one
- Remove default user registration, login and subscriber profiles
- Why is my Gutenberg block returning an error after initial save?
- is_user_logged_in not working to redirect only logged out users
- Debugging with functions.php
- Members only site – still need the lost password page accessible
- How to change login labels
- How can I get my Script to work on the Login page?
- Login Redirect if Logged in from Specific Page
- Unable to login using username
- Warning: : DOMDocument::loadHTML(): Empty string supplied as input in functions.php when adding classes to post images
- Parse error after modifying the template menu [closed]
- When a user logs in, how can they view the website instead of the admin menu?
- WordPress PHP Conflicting User Sessions
- Get User Login Data (date, time… )
- Registration Hooks don’t appear to be working
- help I changed one currency in woocommerce and everything is ruined [closed]
- Need help getting a function to function
- Connecting to a 2nd DB gives me no results when querying
- debugging errors.. how to remedy?
- If user is logged-in display/hide something
- Functions Error: Impacting Galleries
- Secondary Menu and Logged In Users
- Prevent WordPress Automatic Logout
- error at login page in wordpress
- Add Login/Logout Menu Item to Primary Nav “My Account” Submenu [Woocommerce] [closed]
- Logout Redirect and also WP-login.php Redirect
- Strange error from functions.php files (wp_register_script)
- loginout function customization
- Add Login and logout buttons to top menu bar
- Problems with functions.php! Error! [closed]
- Looking for Functions File that doesn’t Exist
- WordPress login set cookie that survive browser exit (wp_signon function)
- This code is supposed to only allow user to be authenticated if accountVerified is equal to 1, but it still allows user to be authenticated otherwise
- Prevent wp_signon redirect on failed login for ajax login
- How to redirect Subscribers on login to specific page, when logging in from a Page
- Can’t log in to WordPress wp-admin after adding code to functions.php
- functions.php pharse error on complete new install
- How to replace ACTION url from original wordpress login form?
- Unable to login after registration
- Allow logged in user to view a Page, else send to login screen and then redirect back to Page
- “Conditional query tags do not work before the query is run. Before > then, they always return false. “
- MCAPI.class.php showing some error
- I’m getting invalid taxonomy in init action
- Redirect after login to current URL
- Translation Function missing text-domain [closed]
- Login functions
- WordPress permanently logging users out
- What is wrong with functions.php? Fills error log with same error
- Random text changing to weird icons in both admin & front end
- jQuery HoverIntent is not a function
- create submenu page – error function not found or invalid function name
- How to request login for user but not for bots
- Why does modifying my functions.php file always result in a server error
- is_user_logged_in() isn’t working
- update_user_option not working as expected
- “Headers already sent” while trying to add a CSS file to my login page?
- Notice: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ in ….functions.php on line 73
- Woocommerce – Checkout error message
- How to fix enqueue_styles error for a twenty-seventeen childtheme
- Comment turned Invisible
- Logout redirect via page template without confirmation?
- Convert Image to Webp on upload without plugin
- Simple way to make most of my site private
- wp_login_form display no styled form
- Redirecting after login except for a specific page
- Rewrite standard $errors messages output via function.php
- What is the correct MIME type for PSD (Photoshop)
- Remove Comments Metabox but still allow comments
- WP_Cron doesn’t do the job: Multisite stats
- wp_insert_posts keeps adding multiple pages
- Best practice when altering a parent theme function inside a child theme?
- Breadcrumbs – Exclude Child Categories
- Why won’t my scripts load?
- Some questions about how proper add 2 CSS file in a WordPress theme?
- Test if a post exists by category and date
- Where to call my pagination function?
- How do I pull excerpts from pages?
- Check if a value exists in database table
- Add element to widgetpage
- Are innerHTML elements visible to jQuery functions?
- how to display a page before the home page
- Get webpack to work on child theme
- Hide ‘add to cart’ when certain value in dropdown is selected
- Test CDN link from function.php or wp_enqueue_script/style?
- Help with with my function for wordpress
- Can site visitors view functions.php file?
- install Segment on WordPress
- WP backend, Show only own comments (give to users who wrote/published/assigned) posts