Skip to:
Content
Pages
Categories
Search
Top
Bottom

Warning/Deprecated Error

Viewing 20 replies - 1 through 20 (of 20 total)
  • @zaerl

    Participant

    @zaerl

    Participant

    @angeliclies

    Member

    That didn’t help because I have absolutely NO IDEA what you’re talking about…

    @angeliclies

    Member

    That didn’t help because I have absolutely NO IDEA what you’re talking about…

    @chrishajer

    Participant

    The solution in this post will resolve your problem.

    Tons of Depreciated Errors

    It involves editing a bbPress file called bb-load.php.

    The error is because your host is using a very new version of PHP (5.3.2) and the way bbPress is doing this has been “deprecated” (made obsolete) in the new version of PHP. Everything will still work, but in the future PHP may change and these functions will error out.

    The latest trunk version of bbPress also includes a fix for this.

    If you can specify a PHP version lower than 5.3, like 5.2.something, that will hide the errors as well.

    @chrishajer

    Participant

    The solution in this post will resolve your problem.

    Tons of Depreciated Errors

    It involves editing a bbPress file called bb-load.php.

    The error is because your host is using a very new version of PHP (5.3.2) and the way bbPress is doing this has been “deprecated” (made obsolete) in the new version of PHP. Everything will still work, but in the future PHP may change and these functions will error out.

    The latest trunk version of bbPress also includes a fix for this.

    If you can specify a PHP version lower than 5.3, like 5.2.something, that will hide the errors as well.

    @angeliclies

    Member

    I HAVE the latest version of BBPress…And I don’t understand how to fix the problem. So, none of you have helped so far.

    @angeliclies

    Member

    I HAVE the latest version of BBPress…And I don’t understand how to fix the problem. So, none of you have helped so far.

    @ashfame

    Participant

    what is it that you dont understand?

    Just edit bb-load.php on line 25.

    From

    error_reporting( E_ALL ^ E_NOTICE );

    to

    error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE);

    @ashfame

    Participant

    what is it that you dont understand?

    Just edit bb-load.php on line 25.

    From

    error_reporting( E_ALL ^ E_NOTICE );

    to

    error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE);

    @zaerl

    Participant

    Just edit bb-load.php on line 25.

    It’s a file located in the root folder of your installation. Open it with notepad or similar programs.

    @zaerl

    Participant

    Just edit bb-load.php on line 25.

    It’s a file located in the root folder of your installation. Open it with notepad or similar programs.

    @sontru

    Participant

    Most of the deprecation is to do with =& assignments.

    According to this http://www.php.net/manual/en/language.references.php#93292

    All that need doing is to remove the &

    Is it safe to do so. Has anyone done this? Is there any recursive tree loops in the code?

    @sontru

    Participant

    Most of the deprecation is to do with =& assignments.

    According to this http://www.php.net/manual/en/language.references.php#93292

    All that need doing is to remove the &

    Is it safe to do so. Has anyone done this? Is there any recursive tree loops in the code?

    @nightgunner5

    Member

    https://trac.bbpress.org/browser/trunk/bb-load.php#L25 – here’s an even better solution.

    error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING); allows us to avoid new error messages if PHP adds new error types in the future.

    @nightgunner5

    Member

    https://trac.bbpress.org/browser/trunk/bb-load.php#L25 – here’s an even better solution.

    error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING); allows us to avoid new error messages if PHP adds new error types in the future.

    @mrtonny8

    Member

    great post. thanks.

    @mrtonny8

    Member

    great post. thanks.

    @laneuio

    Member

    tattoo guns tattoo tools, intenze tattoo ink.

    @laneuio

    Member

    tattoo guns tattoo tools, intenze tattoo ink.

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