Parallels / vagrant-parallels

Vagrant Parallels Provider
https://parallels.github.io/vagrant-parallels
MIT License
996 stars 87 forks source link

Broken shared file reading #335

Closed piratadelfuturo closed 4 years ago

piratadelfuturo commented 5 years ago

I am using Laravel Homestead and since I updated to Parallels 14 there has been a frustrating strange behavior in php, the files seems to be corrupted but only while read by php, bash shows the code is correct and the files both in host and guest seem fine, I am getting this error reporting unwanted characters in different files only in the guest:

Warning: Unexpected character in input: ' in /home/vagrant/nazaret.design.sulu/vendor/twig/twig/lib/Twig/ExtensionSet.php on line 486 PHP Warning: Unexpected character in input: ' in /home/vagrant/nazaret.design.sulu/vendor/twig/twig/lib/Twig/ExtensionSet.php on line 486

Warning: Unexpected character in input: ' in /home/vagrant/nazaret.design.sulu/vendor/twig/twig/lib/Twig/ExtensionSet.php on line 486 18:40:26 ERROR [console] Error thrown while running command "sulu:build dev". Message: "syntax error, unexpected ''Twig_' (T_ENCAPSED_ANDWHITESPACE)" ["exception" => ParseError { …},"command" => "sulu:build dev","message" => "syntax error, unexpected ''Twig' (T_ENCAPSED_AND_WHITESPACE)"]

    In Core.php line 1613:

      Parse error: syntax error, unexpected ''Twig_' (T_ENCAPSED_AND_WHITESPACE)

I tried in different machines and reinstalling several times and haven't found a clue, only rolling back to Parallels 13 works, I reported to Parallels support but they have no clue or feedback about how to address this.

Has anyone experienced this?

romankulikov commented 5 years ago

Pretty the same addressed in #330.

legal90 commented 4 years ago

Closing this as duplicate of #330