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
- Add body class of category parent
- Max file size not updating
- How to override filter in child theme?
- Use Exact Image Size using add_image_size
- Make Categories a Dropdown Menu in Media Library
- If is multiple page templates
- How to properly add function called by action-hooked function to functions.php?
- Get Current User info using wp_localize_script, in functions.php
- How to add new embed handler not supported by oembed?
- How do I add Bootstrap and LESS to my migrated WordPress site?
- Stuck on maintenance mode
- How to display custom option field in woocommerce orders in admin panel?
- Update user meta of author when post content is viewed
- How i can put $_GET codes in function.php?
- Is there a way to direct unregistered user to registration page when click a link?
- how to get the post ID from wp_insert_post
- The Capability to choose post/page template
- How can I remove page titles without removing the link in the navigation bar in twentyeleven?
- wordpress built-in Jalali date convertor
- WordPress Function Assistance with Loop
- Populate acf-field, depending on block name
- Add Change role button for list of user in an event
- I am trying to set post terms to a custom taxonomy
- Classic TinyMCE messing up only Contributor’s HTML
- WordPress Javascript Widget jQuery Dependency Issue
- How to add more than one menu for logged in members?