Title: Uncaught Error in PHP
Last modified: March 5, 2025

---

# Uncaught Error in PHP

 *  Resolved [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-error-in-php/)
 * I’ve just performed an update to the plugin and it cause a fatal error:
 *     ```wp-block-code
       An error of type E_ERROR was caused in line 29 of the file ./wp-content/plugins/leadin/public/class-proxy-mappings.php. Error message: Uncaught Error: Call to undefined method Leadin\data\Filters::add_proxy_cache_ttl_filters() in ./wp-content/plugins/leadin/public/class-proxy-mappings.php:29Stack trace:#0 ./wp-content/plugins/leadin/public/class-leadin.php(27): Leadin\Proxy_Mappings->__construct()#1 ./wp-content/plugins/leadin/leadin.php(86): Leadin\Leadin->__construct()#2 ./wp-settings.php(526): include_once('...')#3 ./wp-config.php(125): require_once('...')#4 ./wp-load.php(50): require_once('...')#5 ./wp-admin/admin-ajax.php(22): require_once('...')#6 {main}  thrown
       ```
   
 * Plugin version is now 11.2.0, but I didn’t catch the previous version – however,
   it would not be more than two month’s old. Using the latest version of WordPress
   on PHP 8.2.

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

 *  Plugin Support [harthur1990](https://wordpress.org/support/users/harthur1990/)
 * (@harthur1990)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-error-in-php/#post-18344176)
 * Thanks for your message, I’ll take a look into this and let you know once a fix
   its available
 * Best regards
 *  Plugin Support [harthur1990](https://wordpress.org/support/users/harthur1990/)
 * (@harthur1990)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-error-in-php/#post-18345666)
 * Hi [@designextreme](https://wordpress.org/support/users/designextreme/) Could
   you trying uninstalling and installing the plugin again, I was not able to replicate
   the issue
 *  Thread Starter [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-error-in-php/#post-18346031)
 * [@harthur1990](https://wordpress.org/support/users/harthur1990/) I only spotted
   this on a Production website after successfully performing a change with a different
   version. I don’t really want to mess with this website, so I had hoped it would
   help inform you of an issue when upgrading the plugin from an earlier iteration
   to its current version.
 * If you’ve introduced new methods (removed them or changed names) recently, this
   could be the cause. Perhaps add a check for the method: _add\_proxy\_cache\_ttl\
   _filters_ prior to calling it?
 *  Plugin Support [harthur1990](https://wordpress.org/support/users/harthur1990/)
 * (@harthur1990)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/uncaught-error-in-php/#post-18403015)
 * This issue has been fixed in our last release as the class have been moved
 * Let me know if you still face the issue

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

The topic ‘Uncaught Error in PHP’ is closed to new replies.

 * ![](https://ps.w.org/leadin/assets/icon-256x256.png?rev=3041936)
 * [HubSpot All-In-One Marketing - Forms, Popups, Live Chat](https://wordpress.org/plugins/leadin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leadin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leadin/)
 * [Active Topics](https://wordpress.org/support/plugin/leadin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leadin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leadin/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [harthur1990](https://wordpress.org/support/users/harthur1990/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/uncaught-error-in-php/#post-18403015)
 * Status: resolved