MetaModels / core

MetaModels Core Module
GNU Lesser General Public License v3.0
95 stars 42 forks source link

Problem with symfony/filesystem #1470

Closed Misco closed 1 year ago

Misco commented 1 year ago

Checklist before I submit this issue report

I confirm that:

My environment is:

(Please fill in the actual values from your environment - check Contao Manager or use composer show)

Key Value Comments
PHP version: 7.4
Contao version: 4.9.34
MetaModels version: 2.1
Installed MetaModels packages: starter
DCG version:

Issue description

require symfony/filesystem ^3.3 || ^4.0 should be require symfony/filesystem ^3.3 || ^5.0 to avoid problem like this: https://community.contao.org/de/showthread.php?83789-ClassNotFoundError-unter-C4-9-34

Steps to reproduce

  1. create a new template

Describe the behaviour of the application

Attempted to load class "Path" from namespace "Symfony\Component\Filesystem". Did you forget a "use" statement for e.g. "Webmozart\PathUtil\Path", "ScssPhp\ScssPhp\Util\Path" or "BaconQrCode\Renderer\Path\Path"?

Describe the expected behaviour of the application

template selection

Screenshots

(Add some visual love or even a video if you can)

zonky2 commented 1 year ago

Wait for fix at Contao or use workaround https://github.com/contao/contao/pull/5298