Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1153926
    bgodnik
    Participant

    I’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.

    #1153927
    bgodnik
    Participant
    This reply has been marked as private.
    #1154015
    Darshana
    Moderator

    Hi 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!

  • <script> jQuery(function($){ $("#no-reply-1153926 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>