Skip to:
Content
Pages
Categories
Search
Top
Bottom

Deprecated???

  • @hydroweb

    Member

    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:xampphtdocsbbpressbbpressbb-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

Viewing 5 replies - 1 through 5 (of 5 total)
  • @nightgunner5

    Member

    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)

    @hydroweb

    Member

    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?

    @nightgunner5

    Member

    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.

    @teckinno

    Member

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

    @zhivka

    Member

    Thanks …

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar