wp_register_style was called too soon
-
After an update to TableBerg 22 hours ago, I’ve been seeing this error message in my logs:
[05-May-2026 15:07:59 UTC] PHP Notice: Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the
wp_enqueue_scripts,admin_enqueue_scripts, orlogin_enqueue_scriptshooks. This notice was triggered by thetableberg-toggle-stylehandle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/hub-gvfrs-org/wp-includes/functions.php on line 6131I disabled WP-DEBUG display so I could acess the site, and the styles applied to my tables are no longer working.
Site information:
WordPress version 6.9.4
Theme: Neve
Server_architecture: Linux 6.8.0-111-generic x86_64
httpd_software: Apache/2.4.58 (Ubuntu)
php_version: 8.3.6 64bit
client_version: mysqlnd 8.3.6This entire site is password protected, so let me if you will need access to view the site.
You must be logged in to reply to this topic.