Skip to:
Content
Pages
Categories
Search
Top
Bottom

Warning/Deprecated Error

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

  • zaerl
    Participant

    @zaerl


    zaerl
    Participant

    @zaerl


    AngelicLies
    Member

    @angeliclies

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


    AngelicLies
    Member

    @angeliclies

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


    chrishajer
    Participant

    @chrishajer

    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

    @chrishajer

    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

    @angeliclies

    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

    @angeliclies

    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

    @ashfame

    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

    @ashfame

    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

    @zaerl

    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

    @zaerl

    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

    @sontru

    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

    @sontru

    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?


    Ben L.
    Member

    @nightgunner5

    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.


    Ben L.
    Member

    @nightgunner5

    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

    @mrtonny8

    great post. thanks.


    mrtonny8
    Member

    @mrtonny8

    great post. thanks.


    laneuio
    Member

    @laneuio

    tattoo guns tattoo tools, intenze tattoo ink.


    laneuio
    Member

    @laneuio

    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