shirleenkneppers avatar shirleenkneppers 4 years ago edited

Hi Ryan, I am getting this error. Do you have anyway to remedy this?

<br />Script cache:clear returned with error code 255<br />!! <br />!! In ContainerBuilder.php line 1089:<br />!! <br />!! Class "Doctrine\Common\Cache\ArrayCache" does not exist <br />!! <br />!! <br />!! <br />Script @auto-scripts was called via post-update-cmd<br />

| Reply |
shirleenkneppers avatar shirleenkneppers shirleenkneppers 4 years ago edited

Ok so apparently doctrine cache has been deprecated. https://github.com/doctrine/cache/issues/354, So tried installing an older cache library to make it work. You will need to install this version of Doctrine cache using this in your terminal.

`

     composer require doctrine/cache:1.12.1

`

You need to do this before installing the project or you will get the error. I hope this helps someone.

| Reply |

Hey shirleenkneppers

That's weird. How did you get newer cache package? I checked code we do have this package and it's locked on version 1.10.2. I pretend you tried to upgrade project to latest version which we don't recommend to do with downloaded code 'cause you can get issues

Cheers!

| Reply |
shirleenkneppers avatar shirleenkneppers sadikoff 4 years ago

Hi @Vladimir

I normally don't update the files. I started getting errors on Yarn watch at chapter 16 and for some reason it just didn't wanted to show any of the changes on the webpage. I tried fixing the errors but as you can imagine that some of these fixes might have required me to do updates on packages. So after a day of struggling to just be able to use the files I found this and it is working fine. I wouldn't have updated if it wasn't needed. I don't remember the errors but they where hindering my progress.

Regards

| Reply |

Anyways good debugging. I'm curious what is the real issue which forced you to update packages, we will try to investigate it... I hope it is not something serious.

Cheers!

| Reply |