[BUG?] Upload Transcript leads to PHP Parse Error


#1

Hi!

I love the new function for transcripts! I enabled the module “contributor” and “transcript” in the backend.

If i now upload a .vtt (see attachment, generated by auphonic - normally only with file extension .vtt - i needed to change that to .txt so that i could upload the file here…) i get the following PHP Error:

[Mon May 13 15:42:56 2019] [warn] [client X.Y.Z.A] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected ‘exit’ (T_EXIT), expecting identifier (T_STRING) in /var/www/some/thing/on/my/server/wp-content/plugins/podlove-podcasting-plugin-for-wordpress/vendor/podlove/webvtt-parser/src/Podlove/Webvtt/parser.php on line 378, referer: https://my.domain.de/wp-admin/post.php?post=214&action=edit

is my .vtt wrong?bmp007.vtt.txt (49.3 KB)