Skip to content
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

[4.3.9]: PHP error in CP when using S3 for assets and transforms in same volume #12678

Closed
thupsi opened this issue Feb 14, 2023 · 5 comments
Closed

Comments

@thupsi
Copy link

thupsi commented Feb 14, 2023

What happened?

Description

Just installed the 4.3.9 update and I get an error when I try to access the control panel.

There is the below error in phperrors.log :

[14-Feb-2023 22:20:44 Europe/Athens] PHP Fatal error: Nesting level too deep - recursive dependency? in /var/www/html/vendor/craftcms/cms/src/helpers/Assets.php on line 137

I presume the error has to do with the fix for #12663

It also probably has to do with the fact that I'm not using a local file system: I use an S3 Bucket via the official plugin.

Steps to reproduce

  1. Update a Craft project with an Amazon S3 filesystem to 4.3.9
  2. Try to access the control panel

Expected behavior

You can actually access the control panel😊

Actual behavior

A php error occurs 😥

Craft CMS version

4.3.9

PHP version

8.2

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Amazon S3 2.0.1

@angrybrad
Copy link
Member

@thupsi I'm not able to reproduce this on a fresh 4.3.9 install with the S3 plugin. Any chance you can send a database dump and your composer.json/lock files over to [email protected] and reference this ticket? We’ll dig into it more from there.

@thupsi
Copy link
Author

thupsi commented Feb 15, 2023

@angrybrad Just sent them over!

@thupsi thupsi changed the title [4.3.9]: Can't access control panel after update to 4.3.9 [4.3.9]: PHP error when using S3 for assets and transforms in same volume Feb 16, 2023
@thupsi thupsi changed the title [4.3.9]: PHP error when using S3 for assets and transforms in same volume [4.3.9]: PHP error in CP when using S3 for assets and transforms in same volume Feb 16, 2023
@thupsi
Copy link
Author

thupsi commented Feb 16, 2023

Still investigating this with the help of @angrybrad. Just updated the title of the issue to clarify and reflect newest findings.

@brandonkelly
Copy link
Member

Thanks for the help, @thupsi! We’ve managed to reproduce and fix this. I’ll get a hotfix release out soon with the fix, but for now you cat test by changing your craftcms/cms requirement in composer.json to "dev-develop as 4.3.9", and run composer update.

@brandonkelly
Copy link
Member

Craft 4.3.10 is out with the fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants