Title: PHP Fatal error:  Nesting level too deep &#8211; recursive dependency
Last modified: March 17, 2025

---

# PHP Fatal error:  Nesting level too deep – recursive dependency

 *  [herrschuessler](https://wordpress.org/support/users/herrschuessler/)
 * (@herrschuessler)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-nesting-level-too-deep-recursive-dependency/)
 * Plugin version 2.3.0 causes the following error on every page load:
 * `PHP Fatal error:  Nesting level too deep - recursive dependency? in /wp-content/
   plugins/patchstack/includes/htaccess.php on line 39`

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

 *  Thread Starter [herrschuessler](https://wordpress.org/support/users/herrschuessler/)
 * (@herrschuessler)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-nesting-level-too-deep-recursive-dependency/#post-18369751)
 * The cause for this problem seems to be in not using strict object comparison 
   in:
 * `/wp-content/plugins/patchstack/includes/htaccess.php on line 39` and 
   `/wp-content/
   plugins/patchstack/includes/activation.php on line 868`
 * `if ( $old_value == $value ) {` should probably be replaced with `if ( $old_value
   === $value ) {` to solve this, or, if strict comparison is not possible, some
   other way of comparing referenced objects should be used.
    -  This reply was modified 1 year, 2 months ago by [herrschuessler](https://wordpress.org/support/users/herrschuessler/).
 *  Plugin Author [Patchstack](https://wordpress.org/support/users/patchstack/)
 * (@patchstack)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-nesting-level-too-deep-recursive-dependency/#post-18378767)
 * Hello, we have released a new plugin version that should fix this issue. We have
   swapped the logic around, so the values are only compared if options are updated
   relevant to the Patchstack plugin.

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

The topic ‘PHP Fatal error:  Nesting level too deep – recursive dependency’ is closed
to new replies.

 * ![](https://ps.w.org/patchstack/assets/icon.svg?rev=2622691)
 * [Patchstack - WordPress & Plugins Security](https://wordpress.org/plugins/patchstack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/patchstack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/patchstack/)
 * [Active Topics](https://wordpress.org/support/plugin/patchstack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/patchstack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/patchstack/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Patchstack](https://wordpress.org/support/users/patchstack/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-nesting-level-too-deep-recursive-dependency/#post-18378767)
 * Status: not resolved