Title: PHP 8 Compat Issue
Last modified: April 16, 2022

---

# PHP 8 Compat Issue

 *  Resolved [prionkor](https://wordpress.org/support/users/prionkor/)
 * (@prionkor)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-compat-issue/)
 * [From php 8 migration guide](https://www.php.net/manual/en/migration80.incompatible.php):
 * **A number of warnings have been converted into Error exceptions: **
 * `Attempting to access unqualified constants which are undefined. Previously, 
   unqualified constant accesses resulted in a warning and were interpreted as strings.`
 * Now we should be more careful how we try to access our constants in php code.
   With php 8 I am getting this fatal error. Which was a warning prior to php 8.
 *     ```
       Uncaught Error: Undefined constant "Essential_Addons_Elementor\Traits\EAEL_PRO_PLUGIN_PATH"
       in /var/app/current/wp-content/plugins/essential-addons-for-elementor-lite/includes/Traits/Template_Query.php on line 108
       ```
   

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

 *  [Kawshar Ahmed](https://wordpress.org/support/users/onlykawshar/)
 * (@onlykawshar)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-compat-issue/#post-15565007)
 * Hello [@prionkor](https://wordpress.org/support/users/prionkor/),
 * Thanks for pointing this out. We are already aware of this issue and our Dev 
   Team is working on it. Hopefully it will be fixed very soon. I will also let 
   you know the update.
 * Thank you
 *  [Kawshar Ahmed](https://wordpress.org/support/users/onlykawshar/)
 * (@onlykawshar)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-compat-issue/#post-15587145)
 * Hello [@prionkor](https://wordpress.org/support/users/prionkor/),
 * Hope you’re doing well.
 * We have fixed this issue on a Dev Version. I request you to check it from [here](https://github.com/WPDevelopers/essential-addons-for-elementor-lite/tree/2054).
   And hopefully we will merge this fixing with the main version soon. Please let
   me know how it goes.
 * Thank you

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

The topic ‘PHP 8 Compat Issue’ is closed to new replies.

 * ![](https://ps.w.org/essential-addons-for-elementor-lite/assets/icon-256x256.
   gif?rev=3182943)
 * [Essential Addons for Elementor - Popular Elementor Templates & Widgets](https://wordpress.org/plugins/essential-addons-for-elementor-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/essential-addons-for-elementor-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Kawshar Ahmed](https://wordpress.org/support/users/onlykawshar/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/php-8-compat-issue/#post-15587145)
 * Status: resolved