Title: PHP Error on 7.2
Last modified: June 24, 2018

---

# PHP Error on 7.2

 *  [Pramathesh](https://wordpress.org/support/users/paramathesh/)
 * (@paramathesh)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-error-on-7-2/)
 * I am getting the following error on my installation. Not very sure of how to 
   resolve this.
 * `2018/06/24 11:34:02 [error] 2637#2637: *1357 FastCGI sent in stderr: "PHP message:
   PHP Warning: Illegal string offset 'Connection' in /var/www/html/domain.tld/public_html/
   wp-content/plugins/aftership-woocommerce-tracking/api/class-aftership-api-authentication.
   php on line 20`
    `PHP message: PHP Warning: Illegal string offset 'Host' in /
   var/www/html/domain.tld/public_html/wp-content/plugins/aftership-woocommerce-
   tracking/api/class-aftership-api-authentication.php on line 20`
    -  This topic was modified 7 years, 11 months ago by [Pramathesh](https://wordpress.org/support/users/paramathesh/).
    -  This topic was modified 7 years, 11 months ago by [Pramathesh](https://wordpress.org/support/users/paramathesh/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [Pramathesh](https://wordpress.org/support/users/paramathesh/)
 * (@paramathesh)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-error-on-7-2/#post-10429994)
 * Here is the entire error
 * `2018/06/24 14:34:02 [error] 2637#2637: *1572 FastCGI sent in stderr: "PHP message:
   PHP Warning: Illegal string offset 'Connection' in /var/www/html/domain.tld/public_html/
   wp-content/plugins/aftership-woocommerce-tracking/api/class-aftership-api-authentication.
   php on line 20`
    `PHP message: PHP Warning: Illegal string offset 'Host' in /
   var/www/html/domain.tld/public_html/wp-content/plugins/aftership-woocommerce-
   tracking/api/class-aftership-api-authentication.php on line 20` `PHP message:
   PHP Warning: Illegal string offset 'Aftership-Wp-Key' in /var/www/html/domain.
   tld/public_html/wp-content/plugins/aftership-woocommerce-tracking/api/class-aftership-
   api-authentication.php on line 20` `PHP message: PHP Warning: Illegal string 
   offset 'User-Agent' in /var/www/html/domain.tld/public_html/wp-content/plugins/
   aftership-woocommerce-tracking/api/class-aftership-api-authentication.php on 
   line 20" while reading response header from upstream, client: xx.xx.xx.xx, server:
   domain.tld, request: "GET /?aftership-api-route=%2Forders&filter%5Blimit%5D=100&
   page=1&method=1&filter%5Border%5D=ASC&filter%5Borderby%5D=modified&filter%5Bupdated_at_min%
   5D=2018-06-14T11%3A51%3A52&filter%5Bcreated_at_min%5D=2018-04-25T09%3A04%3A02&
   key=ck_c95a28fcf92ca669e4a2c644a67955f7 HTTP/1.1", upstream: "fastcgi://unix:/
   run/php/php7.2-fpm.sock:", host: "domain.tld"`

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/aftership-woocommerce-tracking/assets/icon-256x256.png?rev
   =2856422)
 * [AfterShip Tracking - All-In-One WooCommerce Order Tracking (Free plan available)](https://wordpress.org/plugins/aftership-woocommerce-tracking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/aftership-woocommerce-tracking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/)
 * [Active Topics](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [php-fpm](https://wordpress.org/support/topic-tag/php-fpm/)
 * [php7.2](https://wordpress.org/support/topic-tag/php7-2/)

 * 1 reply
 * 1 participant
 * Last reply from: [Pramathesh](https://wordpress.org/support/users/paramathesh/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/php-error-on-7-2/#post-10429994)
 * Status: not resolved