Error 500 after click New Page or New Post in admin

czorny813 - 1 week ago

This is error from logs: Next exception 'Twig_Error_Runtime' with message 'An exception has been thrown during the rendering of a template ("file_get_contents(/home/bartosz/www/pyro/test3/public/pyro/test3/public/app/default/assets/anomaly/streams-platform/resources/js/modal/filter.js): failed to open stream: No such file or directory") in "streams::modals/filter" at line 2.' in /home/bartosz/www/pyro/test3/vendor/twig/twig/lib/Twig/Template.php:447

ryanthompson - 1 week ago

Does that file for the file_get_contents indeed not exist?

czorny813 - 1 week ago

Not exist. He exist in /home/bartosz/www/pyro/test3/public/app/default/assets/anomaly/streams-platform/resources/js/modal/filter.js but there in link is twice pyro/test3/public/pyro/test3/public, I dont know why. You have idea why?

czorny813 - 1 week ago

??

ryanthompson - 5 days ago

Try clearing twig / assets:

php artisan asset:clear && php artisan twig:clean

ryanthompson - 5 days ago

Then make sure your public/app directory is writable

czorny813 - 2 days ago

When try php artisan twig:clean -> Twig cache failed to be cleaned. public/app directory is writable