Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1022316
    antowp
    Participant

    Hello,

    After updating X to 4.51, all content in articles cannot display anymore.
    Could you please help?

    Thank you.
    Anto

    #1022322
    antowp
    Participant
    This reply has been marked as private.
    #1022640
    Jade
    Moderator

    Hi there,

    I have checked the console and it seems like there is a custom code added to the template that is setting the color of the page content to white. See screenshot below. Have you added this custom code? If so, you can simply remove it or set the color value to something else.

    Or you can try adding this code in the customizer:

    
    p {
        color: #7a7a7a;
    }

    #1022761
    antowp
    Participant

    Hello Jade,

    – I remove those codes and everything seems working now.

    – But I am seeing the following new error message. What does it mean? Could you kindly explain and fix the issue the message talks about, please?

    Many thanks.

    #1022764
    antowp
    Participant
    This reply has been marked as private.
    #1023174
    Jade
    Moderator

    Hi there,

    I have checked your site but I can’t seem to see where the message is displaying although it looks like just a notice which you can get rid off by logging in through FTP and setting the WP_DEBUG option in the wp-config.php file to false.

    #1023509
    antowp
    Participant

    Hello Jade,

    Thank you. I get the error message when opening the Customizer as admin.
    You mean the issue noticed in the error message is harmless, don’t you? Please kindly confirm. Many thanks.

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init().

    #1023769
    Rue Nel
    Moderator

    Hello There,

    Yes this is harmless and just a PHP notice. To get rid of this notice, please disable WP_DEBUG mode. You can do this by opening wp-config.php and adding
    define( 'WP_DEBUG' , false ); just above /* That's all, stop editing! Happy blogging. */ For example:

    define('WP_DEBUG', false);
    
    /* That's all, stop editing! Happy blogging. */

    When you revisit the page, you should no longer see the notices.

    #1023774
    antowp
    Participant

    Hello,

    I already got rid of this notice.

    But how to solve the issue noticed in the error message, please: Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init().

    How to fix that, please?

    Thank you.

    #1024020
    Paul R
    Moderator

    Hi Anto,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1024051
    antowp
    Participant
    This reply has been marked as private.
    #1024898
    Rad
    Moderator

    Hi there,

    Would you mind providing screen recording on how we could see the notice? I checked and I can’t find it in customizer.

    Thanks!

    #1025115
    antowp
    Participant
    This reply has been marked as private.
    #1025455
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! What you are seeing is just a PHP notice. You do not have to worry about this message. This will not affect any of your site’s functionality. You can get rid of this notice by setting again the debug mode to false.

    If there’s anything else, we can help you with, please let us know.

    #1027547
    antowp
    Participant

    Thank you for your confirmation.

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