Non-strict comparison of Store objects causing "Nesting level too deep - recursive dependency?" error

Created on 21 March 2024, 8 months ago
Updated 5 April 2024, 8 months ago

Basically what the title says. I'm receiving the following error when users click the add to cart button on one of my stores:
Got error 'PHP message: PHP Fatal error: Nesting level too deep - recursive dependency? in /var/www/web/modules/contrib/commerce_add_to_cart_link/src/Controller/AddToCartController.php on line 238'

Originally figured this was just a dev environment issue as from what I can tell it typically comes up when xdebug is enabled, but I started seeing it in production as well. Patch incoming.

๐Ÿ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada johnjw59@gmail.com

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024