Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error in WP-File


  • Whiskyharry
    Participant

    @whiskyharry

    Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home/content/p3pnexwpnas09_data02/13/2711613/html/wp-includes/functions.php on line 3560

    trigger_error( sprintf( __( ‘%1$s was called incorrectly. %2$s %3$s’ ), $function, $message, $version ) );

    Can anybody tell me how I can fix that error?

Viewing 2 replies - 1 through 2 (of 2 total)

  • djsteveb
    Participant

    @djsteveb

    @whiskyharry – what theme are you using? Have you tried disabling your other plugins and then see if it is one of them that is the cause?

    I would manually delete everything in the wp-includes folder and re-upload a clean wp-includes folder from a fresh d/l of wp. (of course you may want to wipe and re-upload your wp-admin folder as well.

    make a backup of your whole site files just in case – but you should be able to wipe and reinstall those files without any issue.


    SherieySron
    Participant

    @sherieysron

    Debugging PHP code is part of any project, but WordPress comes with specific debug systems designed to simplify the process as well as standardize code across the core, plugins and themes. This page describes the various debugging tools in WordPress and how to be more productive in your coding as well as increasing the overall quality and interoperativity of your code.

    The following code, inserted in your wp-config.php file, will log all errors, notices, and warnings to a file called debug.log in the wp-content directory. It will also hide the errors so they do not interrupt page generation.

    // 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);

    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define(‘SCRIPT_DEBUG’, true);

    Thank !!
    SherieySron@Ufindthem

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in WP-File’ is closed to new replies.
Skip to toolbar