Title: Php errors when used with php 8.2
Last modified: October 17, 2025

---

# Php errors when used with php 8.2

 *  Resolved [Karesz](https://wordpress.org/support/users/karesz/)
 * (@karesz)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/php-errors-when-used-with-php-8-2/)
 * Hi, I like your plugin. It would be nice to get rid of deprecated errors when
   using your plugin with php version 8.2.
 * Opening Custome list (?page=easy_app_customer) there are 4 deprecated errors:
   
   Creation of dynamic property EAAdminPanel::$customers is deprecated in wp-content/
   plugins/easy-appointments/src/admin.php:978Creation of dynamic property EAAdminPanel::
   $search is deprecated in wp-content/plugins/easy-appointments/src/admin.php:979Creation
   of dynamic property EAAdminPanel::$paged is deprecated in wp-content/plugins/
   easy-appointments/src/admin.php:980Creation of dynamic property EAAdminPanel::
   $total_pages is deprecated in wp-content/plugins/easy-appointments/src/admin.
   php:981
 * I have succesfully solve this error by adding these
   public $customers;public 
   $search;public $paged;public $total_pages;
 * to class EAAdminPanel {…} in this file src/admin.php
 * Another php error “strpos(): Passing null to parameter #1 ($haystack) of type
   string is deprecated” is solved by doing this
   // replace thisdefine(‘EA_PLUGIN_URL’,
   plugins_url(null, __FILE__) . ‘/’);// to thisdefine(‘EA_PLUGIN_URL’, trailingslashit(
   plugins_url(”, __FILE__)));
 * in file easy-appointments/main.php line 33
   It would be great if you could fix
   these changes in the next version so that I don’t have to modify it again every
   time I update a plugin.
 * Thank You

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

 *  Plugin Support [Akshay A](https://wordpress.org/support/users/akshaycode1/)
 * (@akshaycode1)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/php-errors-when-used-with-php-8-2/#post-18685123)
 * Hi,
 * Thank you for reaching out to us. We have raised a GitHub ticket regarding this
   concern, and it will be addressed in an upcoming update.
 * Here is the [Ticket.](https://github.com/ahmedkaludi/easy-appointments/issues/200)
 *  Plugin Support [Akshay A](https://wordpress.org/support/users/akshaycode1/)
 * (@akshaycode1)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/php-errors-when-used-with-php-8-2/#post-18788318)
 * Hi,
 * Hope you are doing well. We have released **version ****3.12.19**, in which this
   issue has been addressed.
   Kindly update the plugin to the latest version, clear
   the cache, and give it a try.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-errors-when-used-with-php-8-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/easy-appointments/assets/icon-256x256.png?rev=1472759)
 * [Easy Appointments](https://wordpress.org/plugins/easy-appointments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-appointments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-appointments/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-appointments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-appointments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-appointments/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Akshay A](https://wordpress.org/support/users/akshaycode1/)
 * Last activity: [4 months, 2 weeks ago](https://wordpress.org/support/topic/php-errors-when-used-with-php-8-2/#post-18788318)
 * Status: resolved