Title: PHP error
Last modified: December 3, 2019

---

# PHP error

 *  Resolved [artyus](https://wordpress.org/support/users/artyus/)
 * (@artyus)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/php-error-355/)
 * Hello!
 * I started testing your plugin, and immediately came across several problems with
   php that Query Monitor shows:
 *     ```
       Undefined offset:
       wp-content/plugins/woocommerce-apg-weight-and-postcodestatecountry-shipping/apg-shipping.php:674
   
       Предупреждения (скрытые)
       getimagesize(.../wp-content/plugins/woocommerce-apg-weight-and-postcodestatecountry-shipping/assets/images/apg.jpg): failed to open stream: No route to host
   
       wp-content/plugins/woocommerce-apg-weight-and-postcodestatecountry-shipping/apg-shipping.php:677
       ```
   
 * I did not make any changes to your plugin after after installation.

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

 *  Thread Starter [artyus](https://wordpress.org/support/users/artyus/)
 * (@artyus)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/php-error-355/#post-12202314)
 * Apparently, this is a conflict that occurs while testing your plugin together
   with Flexible Shipping for WooCommerce by WP Desk.
 * PS:
    Thanks for plugin!
 *  Plugin Author [Art Project Group](https://wordpress.org/support/users/artprojectgroup/)
 * (@artprojectgroup)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/php-error-355/#post-12203130)
 * Probably that plugin modify the `woocommerce_cart_shipping_method_full_label`
   filter. Both plugins are very similar and it doesn’t make sense to use them at
   the same time so we’re not going to make any kind of adjustment in the code.
 * The first line gets the shipping method options from database, the second one
   check the options to see if you want to show an icon or not.
 * Thank you for your review.
 * Kind regards.

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

The topic ‘PHP error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-apg-weight-and-postcodestatecountry-shipping/
   assets/icon-256x256.png?rev=2865713)
 * [WC - APG Weight Shipping](https://wordpress.org/plugins/woocommerce-apg-weight-and-postcodestatecountry-shipping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-apg-weight-and-postcodestatecountry-shipping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-apg-weight-and-postcodestatecountry-shipping/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-apg-weight-and-postcodestatecountry-shipping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-apg-weight-and-postcodestatecountry-shipping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-apg-weight-and-postcodestatecountry-shipping/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Art Project Group](https://wordpress.org/support/users/artprojectgroup/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/php-error-355/#post-12203130)
 * Status: resolved