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_loaded
wp_enqueue_script
on one of the actionswp_enqueue_scripts
,admin_enqueue_scripts
,customize_controls_enqueue_scripts
orlogin_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
- warning: trying to access array offset on value of type bool ACF field image group
- Rewrite standard $errors messages output via function.php
- How to hide WooCommerce product title and short description to non logged in users?
- Create a CUstom Archive by Year, but just for a Single Category
- How to loop while adding data to database?
- Override a Post’s URL with Advanced Custom Fields Function
- ERROR: Cookies are blocked due to unexpected output (no FTP access)
- Change WooCommerce Payment Options From Radio Buttons to Dropdown Menu
- Is it possible to create a shortcode to link to a specific post/page where the tag is just an attribute?
- Login error ” There has been a critical error on this website”
- Fetch URL parameter
- how can I add filter in specfic field in my website?
- Updating custom query var with multiple values
- how can I change all wordpress media file url to custom cdn url?
- WordPress Function Assistance with Loop
- Different image using srcset function
- redirecting a URL if accessed directly
- Save Meta when custom Taxonomy Saves
- Detect Ajax call inside pre_get_posts function
- Show metadata in users.php – wordpress
- Render page with specific id from functions.php
- Add version # to wp_register_style function
- Why should I use get_template_directory() when include files?