Notice in log

This topic contains 3 replies, has 2 voices, and was last updated by  Olivier Cardoen 2 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6952

    Bill Django
    Participant
    • 19 Posts
    @billdjango

    Hello,

    I have this notice with wordpress. What do you think about it and how to avoid it ?

    Thank you.

    Notice: bp_nav est appelée de la mauvaise manière. Les globales bp_nav and bp_options_nav ne doivent pas être utilisées directement et sont obsolètes. Utilisez les fonctions BuddyPress nav à la place. Veuillez lire Débogage dans WordPress (en) pour plus d’informations. (Ce message a été ajouté à la version 2.6.0.) in /home/atypcbfx/public_html/wp-includes/functions.php on line 4773

    #6963

    Olivier Cardoen
    Participant
    • 338 Posts
    @themosaurusrex

    Hi @billdjango,

    Is that notice coming from your logs or did you find it displayed on your admin panel?
    If you have already error logs to share, maybe you can post the complete description for the notice in your next private reply.

    If logging is not activated on your website yet, just turn WP_DEBUG to true, by pasting the following code lines in your wp-config.php file, just before the line that says ‘That’s all, stop editing! Happy blogging.’:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings 
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    More on this in the following topic: https://codex.wordpress.org/Debugging_in_WordPress

    Finally, if you simply want to dismiss these kind of notices, you can turn your WP_DEBUG constant to false.

    Best,

    #7071

    Bill Django
    Participant
    • 19 Posts
    @billdjango
    This reply has been marked as private.
    #7074

    Olivier Cardoen
    Participant
    • 338 Posts
    @themosaurusrex

    Hi @billdjango,

    We’re sorry but we won’t be very much helpful with this issue. The bp_nav function is not used in our theme or in Grimlock for BuddyPress. It’s a deprecated function that is probably either used in one of your code snippets (added using the Code Snippets plugin) or one of your BuddyPress add-on.

    As this issue is related with the BuddyPress, it’s best if you try to reach the plugin authors. They will be more informed and better suited to help you.

    To go further, we invite you to post your request on their support forums:
    https://buddypress.org/support/

    We remain available for all support requests related with the use of your theme.

    Best,

Hi there,

This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!

Best regards,
The Themosaurus team.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Notice in log’ is closed to new replies.