1. If you have a site and looking for specific help, please submit a support ticket through Site Owner Dashboard instead of creating a thread in the support forum
    Dismiss Notice

PHP Deprecated, issue with php 5.6?

Discussion in 'Kunena Discussion' started by audisport_ch, Apr 14, 2016.

Thread Status:
Not open for further replies.
  1. audisport_ch

    audisport_ch New Member

    Joined:
    Oct 9, 2013
    Messages:
    6
    Likes Received:
    0
    Hi guys,

    Sorry, our host has increased php version to 5.6. Since that, we have everything working fine but I have a lot of errors in server logs related to php deprecated in relation to mobiquo.

    Is that possible to assist us?

    PHP message: PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0

    Thanks a lot for your assistance :)
     
  2. Howdy

    Howdy Administrator Staff Member

    Joined:
    May 11, 2015
    Messages:
    1,072
    Likes Received:
    360
    As indicated by the php error, pls. configure php.ini correctly and set the param httpraw in php.ini.


    Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version.

    To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini

    and use the php://input stream instead.


    This is only one time change. In Tapatalk plugin code, the deprecated function has already been removed, is a problem with php 5.6 that is causing the issue as it raises that deprecated issue despite the function appears or not when there is a POST request. More info can be found here: http://stackoverflow.com/questions/26261001/warning-about-http-raw-post-data-being-deprecated and https://fr.reddit.com/r/PHP/comments/2jpzzj/php_56_throws_e_deprecated_by_default_for_no/
     
Thread Status:
Not open for further replies.