Some PHP Notice is Showing when the WP Debug is Enabled
-
Hello Developer!
Please take a note that some PHP notices are showing when the plugin is installed, active, and the wp_debug is on. I updated the plugin to the new version, but still the notices are showing. Although, if I turn the wp_debug off, the notices are going away, but still I was wondering why they are showing up.
These are some of notices I shared below, please check:
Notice: Function wp_enqueue_style 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 tc-caf-common-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wordpress/wp-includes/functions.php on line 6121
Notice: Function wp_enqueue_style 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 tc-caf-post-layout3 handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wordpress/wp-includes/functions.php on line 6121
Notice: Function wp_enqueue_style 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 tc-caf-filter-layout1 handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wordpress/wp-includes/functions.php on line 6121
Notice: Function wp_enqueue_style 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 tc-caf-dynamic-style-filter-layout1 handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wordpress/wp-includes/functions.php on line 6121
Notice: Function wp_add_inline_style 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 tc-caf-dynamic-style-filter-layout1 handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wordpress/wp-includes/functions.php on line 6121
Notice: Function wp_add_inline_style 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 tc-caf-dynamic-style-filter-layout1 handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wordpress/wp-includes/functions.php on line 6121
Notice: Function wp_enqueue_style 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 tc-caf-font-awesome-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wordpress/wp-includes/functions.php on line 6121
Notice: Function wp_enqueue_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 jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wordpress/wp-includes/functions.php on line 6121
Notice: Function wp_enqueue_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 tc-caf-frontend-scripts handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /var/www/wordpress/wp-includes/functions.php on line 6121
Please check and share your feedback if you can.
The topic ‘Some PHP Notice is Showing when the WP Debug is Enabled’ is closed to new replies.