Title: PHP Errors (Notices)
Last modified: November 19, 2016

---

# PHP Errors (Notices)

 *  [WPDevHQ](https://wordpress.org/support/users/wpdevhq/)
 * (@wpdevhq)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php-errors-notices/)
 * Good addition to the Elementor community, thank you 🙂
 * Few PHP NOTICE issues that need addressing.
 * In the main file dz-elementor-addon.php the variable `$i` is undefined. If its
   a must use then you can open the foreach loop with `$i = 0;` just before the `
   $widget_file` variable.
 * Files: ProductCategories1Widget.php and Products1Widget.php
    For both files line
   34 is not required + the variable $title is not defined
 * In both the files above + the PostsWidget.php use `wp_reset_postdata()` only 
   instead of `wp_reset_query()`. Do not use a combination of both.

The topic ‘PHP Errors (Notices)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dz-elementor-addon.svg)
 * [DZ Elementor Addon](https://wordpress.org/plugins/dz-elementor-addon/)
 * [Support Threads](https://wordpress.org/support/plugin/dz-elementor-addon/)
 * [Active Topics](https://wordpress.org/support/plugin/dz-elementor-addon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dz-elementor-addon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dz-elementor-addon/reviews/)

## Tags

 * [PHP errors](https://wordpress.org/support/topic-tag/php-errors/)
 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)

 * 0 replies
 * 1 participant
 * Last reply from: [WPDevHQ](https://wordpress.org/support/users/wpdevhq/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/php-errors-notices/)
 * Status: not a support question