You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases the @ unlink php function breaks the execution of the code instead of returning false.
I am using php 7.2
When was trying to use the console, suddendly I start getting errors about the imposibily to @ unlink a certain file under the cache folder because it does not exists.
So what I did was to modify these lines of code in order to use the console
Kernel.php
instead of @Unlink(dirname($dir.$file).'.legacy');
line: 703
if (file_exists(dirname($dir.$file).'.legacy')) @Unlink(dirname($dir.$file).'.legacy');