-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.x]: "actionRecentActivity" throws "Nesting level too deep - recursive dependency?" #15915
Comments
Were you running Craft 5.4.8 when this error occurred (2024-10-17 10:26:47)? Because I don’t see how you’d ever get that PHP error from Line 2717 in be2ded2
Normally when we see that error, it’s due to an infinite recursion bug. But there’s no recursive code leading up to this point. |
Hi @brandonkelly. I've checked this again and found a new log entry: [21-Oct-2024 10:50:13 Europe/Berlin] PHP Fatal error: Nesting level too deep - recursive dependency? in /var/www/releases/30/vendor/craftcms/cms/src/services/Elements.php on line 2717 I am on Craft Pro 5.4.8. I also took a the look at the current file and it's indeed "array_splice($activity, array_search($newerRecord, $activity), 1);". Here's some more info from the web log:
|
Not able to reproduce, but it looks like this was due to a PHP bug in |
Thanks a lot! Will keep an eye on it and let you know in a few days! |
What happened?
Description
Looking at my PHP error logs, I sometimes find this:
Looking further in the application log, I have some more details:
Steps to reproduce
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
The text was updated successfully, but these errors were encountered: