My code was working until now, but now when I have a Less error the try{}catch{} isn't working. When I do echo $parser->getCss(); inside try, it prints
Error compiling LESS files: variable @tablet is undefined in file ......
So catch(Exception e){ } seems that isn't working.
I don't know if it can has some relation, but I updated to PHP 7 recently.
My code was working until now, but now when I have a Less error the
try{}catch{}
isn't working. When I doecho $parser->getCss();
insidetry
, it printsSo
catch(Exception e){ }
seems that isn't working.I don't know if it can has some relation, but I updated to PHP 7 recently.