Title: PHP Deprecation Warnings and Errors
Last modified: September 15, 2025

---

# PHP Deprecation Warnings and Errors

 *  [Zack Pyle](https://wordpress.org/support/users/zackpyle/)
 * (@zackpyle)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/php-deprecation-warnings-and-errors/)
 * I’m experiencing several PHP deprecation warnings and one undefined variable 
   error when using the Optima Express plugin with PHP 8.3. These issues are generating
   error log entries that are clogging up the logs.
 * **1. Dynamic Property Creation Deprecations**
 * **Files affected:**
    - `optima-express/iHomefinderRewriteRules.php` (Line 30)
    - `optima-express/iHomefinderStateManager.php` (Line 32)
    - `optima-express/iHomefinderShortcodeSelector.php` (Line 37)
 * **Error:** `E_DEPRECATED - Creation of dynamic property [classname]::$[property]
   is deprecated`
   **Issue:** PHP 8.2+ deprecated the creation of dynamic properties
 * **2. Function Parameter Type Deprecations**
 * **File:** `optima-express/iHomefinderStateManager.php` (Line 279) 
   **Error:**`
   E_DEPRECATED - Json_decode(): passing null to parameter #1 ($json) of type string
   is deprecated`
 * **File:** `optima-express/iHomefinderVariableUtility.php` (Line 36) 
   **Error:**`
   E_DEPRECATED - Str_replace(): passing null to parameter #2 ($replace) of type
   array|string is deprecated`
 * **Issue:** PHP 8.1+ requires proper type handling for built-in functions. Null
   values need to be checked before passing to these functions.
 * **3. Undefined Variable Warning**
 * **File:** `optima-express/widget/iHomefinderPropertiesGallery.php` (Line 474)
   **
   Error:** `E_WARNING - Undefined variable $allowed_html`**Issue:** The variable`
   $allowed_html` is being used without being defined
 * **Environment**
    - PHP Version: 8.3.24
    - WordPress Version: 6.8.2
    - Plugin Version: 8.0.5

Viewing 1 replies (of 1 total)

 *  Thread Starter [Zack Pyle](https://wordpress.org/support/users/zackpyle/)
 * (@zackpyle)
 * [7 months, 4 weeks ago](https://wordpress.org/support/topic/php-deprecation-warnings-and-errors/#post-18678060)
 * Just checking in here. It’s been a month since this was reported. Thanks!

Viewing 1 replies (of 1 total)

The topic ‘PHP Deprecation Warnings and Errors’ is closed to new replies.

 * ![](https://ps.w.org/optima-express/assets/icon-256x256.png?rev=2288316)
 * [Optima Express IDX](https://wordpress.org/plugins/optima-express/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/optima-express/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/optima-express/)
 * [Active Topics](https://wordpress.org/support/plugin/optima-express/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/optima-express/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/optima-express/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Zack Pyle](https://wordpress.org/support/users/zackpyle/)
 * Last activity: [7 months, 4 weeks ago](https://wordpress.org/support/topic/php-deprecation-warnings-and-errors/#post-18678060)
 * Status: not resolved