Title: PHP Warning: Undefined variable $sz_attribute
Last modified: October 18, 2022

---

# PHP Warning: Undefined variable $sz_attribute

 *  Resolved [bigdrop.gr](https://wordpress.org/support/users/bigdropgr/)
 * (@bigdropgr)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-sz_attribute/)
 * After last update I am getting a ton of PHP warnings.
 * Those are the warnings:
 *     ```
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4547
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4558
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4559
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4560
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4561
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4562
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4565
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4503
       ```
   

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

 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-sz_attribute/#post-16113933)
 * Hi,
 * Thanks for using our plugin and reaching out to us.
 * We have just pushed out a new release of our plugin that should solve the PHP
   warnings. Please download and install it.
 * Hope this helped?
 *  Thread Starter [bigdrop.gr](https://wordpress.org/support/users/bigdropgr/)
 * (@bigdropgr)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-sz_attribute/#post-16130870)
 * Hi! Thank you for your reply and the update.
    With the 11.9.5 version I get those
   warnings:
 *     ```
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4573
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4574
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4515
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4559
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4570
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4571
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4572
       ```
   
 *  Thread Starter [bigdrop.gr](https://wordpress.org/support/users/bigdropgr/)
 * (@bigdropgr)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-sz_attribute/#post-16147895)
 * For some reason you did not see my reply here so I started a new thread here:
   [https://wordpress.org/support/topic/php-warning-undefined-variable-sz_attribute-2/](https://wordpress.org/support/topic/php-warning-undefined-variable-sz_attribute-2/)
 *  Thread Starter [bigdrop.gr](https://wordpress.org/support/users/bigdropgr/)
 * (@bigdropgr)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-sz_attribute/#post-16148413)
 * With the version 11.9.4 I was getting those warnings:
 *     ```
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4547
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4558
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4559
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4560
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4561
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4562
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4565
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4503
       ```
   
 * With the version 11.9.5 I was getting those warnings:
 *     ```
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4573
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4574
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4515
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4559
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4570
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4571
       PHP Warning:  Undefined variable $sz_attribute in /home/domain/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4572
       ```
   
 * And with the version 11.9.6 I am getting this warnings:
 *     ```
       PHP Warning:  Undefined variable $sz_attribute in /home/carit/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4561
       PHP Warning:  Undefined variable $sz_attribute in /home/carit/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4572
       PHP Warning:  Undefined variable $sz_attribute in /home/carit/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4573
       PHP Warning:  Undefined variable $sz_attribute in /home/carit/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4574
       PHP Warning:  Undefined variable $sz_attribute in /home/carit/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4575
       PHP Warning:  Undefined variable $sz_attribute in /home/carit/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4576
       PHP Warning:  Undefined variable $sz_attribute in /home/carit/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4517
       ```
   
 * So the warnigns keep changing lines but they are still there.
    Thank you!!
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-sz_attribute/#post-16148611)
 * Closing this topic as you opened a new one.

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

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

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-variable-sz_attribute/#post-16148611)
 * Status: resolved