Open LukaVerhoeven opened 2 years ago
Running into the same issue here
Same here, log file is reporting:
[2021-10-13 17:44:57] local.ERROR: syntax error, unexpected '|', expecting ';' or '{' {"userId":"97dff0d7-f47e-4f45-91e8-9942d2e03096","exception":"[object] (ParseError(code: 0): syntax error, unexpected '|', expecting ';' or '{' at /*******/vendor/jezzdk/statamic-wp-import/src/Helpers/Migrator.php:252)
@vibrains @LukaVerhoeven temp fix, change this line to:
private function downloadAsset(string $url = null, string $collection, string $slug)
The other solution would be to run this via PHP 8
I am trying to import a single entry and a newly generated statamic website. Always returns a Internal Server Error (500).