Title: PHP Warning: Undefined variable $type
Last modified: June 28, 2024

---

# PHP Warning: Undefined variable $type

 *  Resolved [awbildner](https://wordpress.org/support/users/awbildner/)
 * (@awbildner)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-type/)
 * Hello, for a few days now our debug logfile has been flooded with the following
   warning:
 * **Undefined variable $type in /var/www/wp-content/plugins/product-pre-orders-
   for-woo/frontend/archive_page.php on line 44**
 * ![](https://i0.wp.com/bildner-shop.de/wp-content/uploads/2024/06/warning-pre-
   orders-for-woo.jpg?ssl=1)
 * Can someone tell us what this means and how to solve this?
 * Thanks and best regards!

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

 *  [villasupport](https://wordpress.org/support/users/villasupport/)
 * (@villasupport)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-type/#post-17855651)
 * Hi,
 * We are aware of this issue and the fix will be included in the next update.
 * Thank you for your patience.
 * Best regards.
 *  [lavendervu2510](https://wordpress.org/support/users/lavendervu2510/)
 * (@lavendervu2510)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-type/#post-17855672)
 * Hi,
 * We are aware of this issue and the fix will be included in the next update.
 * Thank you for your patience.
 * Best regards.
 *  [lavendervu2510](https://wordpress.org/support/users/lavendervu2510/)
 * (@lavendervu2510)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-type/#post-17862489)
 * Hi,
 * We managed this issue in the latest version. You can now update the plugin and
   verify the fix. If you require any additional help, don’t hesitate to contact
   us.
 * Best regards.
 *  Thread Starter [awbildner](https://wordpress.org/support/users/awbildner/)
 * (@awbildner)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-type/#post-17865664)
 * Hi,
 * we have made an update and the problem seems to have been solved.
 * Thank you very much for the quick solution!
 * Best regards

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

The topic ‘PHP Warning: Undefined variable $type’ is closed to new replies.

 * ![](https://ps.w.org/product-pre-orders-for-woo/assets/icon-256x256.gif?rev=3081766)
 * [PRENA - Product Pre-Orders for WooCommerce](https://wordpress.org/plugins/product-pre-orders-for-woo/)
 * [Support Threads](https://wordpress.org/support/plugin/product-pre-orders-for-woo/)
 * [Active Topics](https://wordpress.org/support/plugin/product-pre-orders-for-woo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/product-pre-orders-for-woo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/product-pre-orders-for-woo/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [awbildner](https://wordpress.org/support/users/awbildner/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-type/#post-17865664)
 * Status: resolved