Open
Description
openedon Oct 17, 2024
What happened?
Description
Looking at my PHP error logs, I sometimes find this:
2024-10-17 10:26:47 [web.ERROR] [yii\base\ErrorException:1] Nesting level too deep - recursive dependency? {"trace":["#0 [internal function]: yii\\base\\ErrorHandler->handleFatalError()","#1 {main}"],"memory":3935280,"exception":"[object] (yii\\base\\ErrorException(code: 1): Nesting level too deep - recursive dependency? at /var/www/releases/21/vendor/craftcms/cms/src/services/Elements.php:2717)"}
Looking further in the application log, I have some more details:
2024-10-17 10:26:47 [web.WARNING] [application] Request context: {"environment":"production","userId":...,"sessionId":"...","body":"{\"elementType\":\"craft\\\\commerce\\\\elements\\\\Product\",\"elementId\":155830,\"draftId\":null,\"siteId\":12,\"provisional\":false}","vars":{"_GET":{"p":"admin/actions/elements/recent-activity","site":"esEn","dontExtendSession":"1","v":"1729153607180"},"_FILES":[]
Steps to reproduce
- That's the point – I can't reproduce it. It happens, but I cant reproduce it. We have 3 matrix fields, but they have only one level, nothing deeply stacked.
Expected behavior
That we don't get this error.
Actual behavior
That the PHP error appears.
Craft CMS version
Craft Pro 5.4.8
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
- Commerce 5.1.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment