Title: PHP 7.2 Errors
Last modified: December 31, 2018

---

# PHP 7.2 Errors

 *  Resolved [npeacher](https://wordpress.org/support/users/npeacher/)
 * (@npeacher)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/php-7-2-errors-9/)
 * Not sure if anyone else has seen this error or not when trying to upgrade to 
   PHP 7.2….
 * /plugins/woocommerce-shipstation/includes/api-requests/class-wc-shipstation-api-
   shipnotify.php
 *  122 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 
   5.6 and removed since PHP 7.0; Use php://input instead
    124 | ERROR | Global 
   variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since 
   PHP 7.0; Use php://input instead 125 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’
   is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
   128 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6
   and removed since PHP 7.0; Use php://input instead

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

 *  [Erica K. a11n](https://wordpress.org/support/users/piratepenpen/)
 * (@piratepenpen)
 * Automattic Happiness Engineer
 * [7 years, 5 months ago](https://wordpress.org/support/topic/php-7-2-errors-9/#post-11062132)
 * Hey there!
 * I’m sorry to hear you’re experiencing those errors. Allow me to explain what 
   is going on here.
 * Our developers have looked into this for us previously. The PHP compatibility
   checker doesn’t check which version of PHP the code was written for — `$HTTP_RAW_POST_DATA`
   was kept in the code in order to maintain backward compatibility with older versions
   of PHP, however when the code is run on PHP 7+ it does actually use php://input
   instead. Because of this, it should not cause any errors.
 * This follows the same method that is used in WordPress core as well.
 * If there are any errors caused when the plugin is actually being run, please 
   do come back and let us know and we’ll be happy to take a closer look. Otherwise,
   if they’re only coming from a compatibility checker, please keep in mind they
   won’t affect how the site functions.
 * Cheers!
 *  [Erica K. a11n](https://wordpress.org/support/users/piratepenpen/)
 * (@piratepenpen)
 * Automattic Happiness Engineer
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-2-errors-9/#post-11092989)
 * Hey [@npeacher](https://wordpress.org/support/users/npeacher/),
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, please start a new thread.
 * Thanks!
 *  [Coop920](https://wordpress.org/support/users/coop920/)
 * (@coop920)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-2-errors-9/#post-11154563)
 * So basically you’re saying that this is a false-positive? I’m getting the same
   when I run a php 7.2 compatibility check.
 * Thanks
 *  Thread Starter [npeacher](https://wordpress.org/support/users/npeacher/)
 * (@npeacher)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-2-errors-9/#post-11168546)
 * Hey [@piratepenpen](https://wordpress.org/support/users/piratepenpen/). Thanks
   for the quick response and reassurance!

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

The topic ‘PHP 7.2 Errors’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-shipstation-integration/assets/icon-256x256.
   png?rev=3234406)
 * [ShipStation for WooCommerce](https://wordpress.org/plugins/woocommerce-shipstation-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-shipstation-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-shipstation-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-shipstation-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-shipstation-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-shipstation-integration/reviews/)

## Tags

 * [php-7](https://wordpress.org/support/topic-tag/php-7/)
 * [shipstation](https://wordpress.org/support/topic-tag/shipstation/)

 * 4 replies
 * 3 participants
 * Last reply from: [npeacher](https://wordpress.org/support/users/npeacher/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/php-7-2-errors-9/#post-11168546)
 * Status: resolved