wp_register_style was called incorrectly
-
Hi!
I have noticed when running my wordpress site in Debug Mode, that I get following error messages generated by the “Login with vipps” plugin:
================= Error message in debug mode ====================
Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the login-with-vipps-button-block-editor handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/1/o/oslokiteklubb/www/wp-includes/functions.php on line 5229Warning: Cannot modify header information – headers already sent by (output started at /home/1/o/oslokiteklubb/www/wp-includes/functions.php:5229) in /home/1/o/oslokiteklubb/www/wp-includes/functions.php on line 6274
Notice: WP_Block_Type_Registry::register ble kalt feil. Blokktypen “login-with-vipps/login-with-vipps-button” er allerede registrert. Vennligst se Feils?king i WordPress for mer informasjon. (Denne meldingen ble lagt i versjon 5.0.0.) in /home/1/o/oslokiteklubb/www/wp-includes/functions.php on line 5229
================= STOP ====================If I disable the plugin, the error goes away.
I have upgraded WooCommerce to version 4.8 from 4.7.1.
I was already running these versions of vipps plugin, before upgrading WooCommerce:
– Checkout with Vipps v1.6.7
– Logg inn med Vipps v1.1.0Can we try to fix this?
Thanks for your kind support!
Best Regards
Horgster
- The topic ‘wp_register_style was called incorrectly’ is closed to new replies.