Apologies if this doesn’t solve your problems, however I am unable to add a comment until I reach 50 reputation.
Cause:
What’s causing this issue is what is stated in the notice. There is a theme file/plugin file that is trying to register/enqueue your scripts too soon.
Debugging:
- If you have recently updated your theme or functions I would recommend switching to a default theme and disable plugins temporarily to see if this resolves the notice.
- If yes, then you can start from the bottom up. Test your theme to see if this is causing the issue, if not proceed to plugins.
- Once the notice pops up you will find the cause of the issue.
- After you find the cause of the issue you will need to comb the included files for the command
wp_register_script()
. Then find the location that this function is added to wordpress’ hooks.add_action()
-
Be sure that the function’s
add_action()
argument #1 is something along the lines ofwp_enqueue_scripts
. See example below.add_action('wp_enqueue_script','register_my_scripts'); function register_my_scripts(){ wp_register_script('etcetera'); }
If this does not solve your issue, or if your issue is not related to your theme files/plugin files the next option is to try a clean update (not install) for WordPress.
Unrelated Note:
Furthermore, if your Domain URL is changing, be sure to update that in WordPress’ settings. This is located in Settings -> General. Feel free to ask further questions if I’m in the same atmosphere as your resolution.