Forums

Join
bbPress Support ForumsInstallationDeprecated???

Info

Deprecated???

  1. XAMPP on local machine, here is one line of several that appear at top of bbpress login page after installation was apparently completed successfully.

    Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\bbpress\bbpress\bb-settings.php on line 186

    and when I try to log in a bunch more error messages. XAMPP works fine with wordpress by the way.

    Thanks, Roger

  2. Somewhere around line 25 of bb-load.php there should be a line that starts with error_reporting(. Change it to error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING);

    (This has been fixed in the development version, but I don't suggest using it on a live site)

  3. Worked great. Thanks for the prompt reply.

    Do you mean that you do not recommend using the "development version" on a live site?

    Is this version OK for a live site with the fix you identified?

  4. I don't suggest using the development version on a live site because it isn't as "tried and true" as the released versions.

    The snippet is fine to use on a live site.

  5. This is the proper fix for PHP 5.3
    In bb-load.php, replace:
    error_reporting( E_ALL ^ E_NOTICE );

    With:
    if (!defined('E_DEPRECATED'))
    {
    define('E_DEPRECATED', 8192);
    }
    error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

  6. Thanks ...

  7. You must log in to post.