Title: Undefined variable $clase_de_envio
Last modified: September 10, 2025

---

# Undefined variable $clase_de_envio

 *  Resolved [codepuncher](https://wordpress.org/support/users/krypsin/)
 * (@krypsin)
 * [9 months ago](https://wordpress.org/support/topic/undefined-variable-clase_de_envio/)
 * Hi there,
   Our error log is being spammed with this warning:2025/09/10 09:36:35[
   error] 100355#100355: *669160 FastCGI sent in stderr: “PHP message: PHP Warning:
   Undefined variable $clase_de_envio in /path/to/wp-content/plugins/woocommerce-
   apg-weight-and-postcodestatecountry-shipping/apg-shipping.php on line 969” while
   reading response header from upstream, client: 51.9.28.2, server: [http://www.example.org.uk](http://www.example.org.uk),
   request: “POST /?wc-ajax=add_to_cart HTTP/2.0”, upstream: “fastcgi://unix:/var/
   run/php8.1-fpm-example.sock:”, host: “www.example.org.uk:12345”, referrer: “[https://www.example.org.uk/shop/page/2/?orderby=popularity&#8221](https://www.example.org.uk/shop/page/2/?orderby=popularity&#8221);
 * Please can this be fixed.
 * Thanks

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

 *  Plugin Author [Emilio Calvo](https://wordpress.org/support/users/emiliocalvo/)
 * (@emiliocalvo)
 * [9 months ago](https://wordpress.org/support/topic/undefined-variable-clase_de_envio/#post-18635768)
 * We assume you’re using the latest version of the plugin, right?
 * We’ll release an update as soon as possible.
 * Thank you very much for letting us know.
 * Best regards.
 *  Thread Starter [codepuncher](https://wordpress.org/support/users/krypsin/)
 * (@krypsin)
 * [9 months ago](https://wordpress.org/support/topic/undefined-variable-clase_de_envio/#post-18635810)
 * Yes it’s the latest version.
 * Thanks!
 *  Plugin Author [Emilio Calvo](https://wordpress.org/support/users/emiliocalvo/)
 * (@emiliocalvo)
 * [9 months ago](https://wordpress.org/support/topic/undefined-variable-clase_de_envio/#post-18635848)
 * Fixed in the next update. We’ll release it as soon as possible.
 * Best regards.

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

The topic ‘Undefined variable $clase_de_envio’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Emilio Calvo](https://wordpress.org/support/users/emiliocalvo/)
 * Last activity: [9 months ago](https://wordpress.org/support/topic/undefined-variable-clase_de_envio/#post-18635848)
 * Status: resolved