Doctrine Annotations 1.2.2 // Bug errorException unlink annotations

Hello,

If you have updated doctrine dependency today 2014-12-19, and since 2014-12-18, you may have faced this error:

[ErrorException]
  unlink(/var/www/xxx/app/cache/dev/annotations/54940ee3e1d910.826327572T4l9C): No such file or directory

The problem is caused for a recent update in Doctrine Annotations, in the fileReader that tries to delete a file that has been removed.
I’ve proposed a fix here:
https://github.com/doctrine/annotations/commit/6355277c8254bfeb9db68fae0d1de53f1cd09388

if you want to fix this issue quickly, just open:

nano /var/www/xxxx/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php

//Then, Comment line 207
//@unlink($tempfile);
Advertisements
Doctrine Annotations 1.2.2 // Bug errorException unlink annotations

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s