Tagged: x
-
AuthorPosts
-
August 30, 2016 at 3:01 pm #1153926
bgodnikParticipantI’m getting the following error message on my site. Can you help me with this?
Notice: wp_register_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. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/maxconsu/public_html/wp-includes/functions.php on line 3995
Warning: Cannot modify header information – headers already sent by (output started at /home/maxconsu/public_html/wp-includes/functions.php:3995) in /home/maxconsu/public_html/wp-includes/pluggable.php on line 1174
Warning: Cannot modify header information – headers already sent by (output started at /home/maxconsu/public_html/wp-includes/functions.php:3995) in /home/maxconsu/public_html/wp-includes/pluggable.php on line 1174
I will put site url on next post.
August 30, 2016 at 3:01 pm #1153927
bgodnikParticipantThis reply has been marked as private.August 30, 2016 at 4:09 pm #1154015
DarshanaModeratorHi there,
Thanks for writing in! Basically you can ignore PHP notices by changing the following line on wp-config.php in the root of your WordPress installation.
define('WP_DEBUG', true);Change the above code as follows:
define('WP_DEBUG', false);To check the warnings, please provide us with your FTP credentials.
Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1153926 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
