[bug] transscripts in episode template


#1

I get a fatal error when creating a new episode, when I have transscripts in my episode template. I’ve added this to the bottom of the template:

    <h2>Transscript</h2>
    <p>Das Transscript wird mit Hilfe eines Web-Services automatisch generiert. Wir sind uns bewust, dass wir hier nicht die beste Qualität erhalten. Unsere Erwartung ist aber, dass unser Podcast damit besser gefunden werden kann.</p>
    <p>[podlove-transcript]</p>

I’d added this after creating my last episode. When editing the episodes to configure the transscripts, everything worked fine.

With this, I get the fatal error when creating a new episode. Without it, it works fine.
AFAIK, I have the current versions installed.

Here is the error:

Fatal error: Uncaught TypeError: Argument 1 passed to Podlove\Template\Episode::__construct() must be an instance of Podlove\Model\Episode, null given, called in /kunden/508631_73547/webseiten/wordpress/wp-content/plugins/podlove-podcasting-plugin-for-wordpress/lib/modules/transcripts/transcripts.php on line 80 and defined in /kunden/508631_73547/webseiten/wordpress/wp-content/plugins/podlove-podcasting-plugin-for-wordpress/lib/template/episode.php:21 Stack trace: #0 /kunden/508631_73547/webseiten/wordpress/wp-content/plugins/podlove-podcasting-plugin-for-wordpress/lib/modules/transcripts/transcripts.php(80): Podlove\Template\Episode->__construct(NULL) #1 /kunden/508631_73547/webseiten/wordpress/wp-includes/shortcodes.php(325): Podlove\Modules\Transcripts\Transcripts->transcript_shortcode(’’, ‘’, ‘podlove-transcr…’) #2 [internal function]: do_shortcode_tag(Array) #3 /kunden/508631_73547/webseiten/wordpress/wp-includes/shortcodes.php(199): preg_replace_callback(’/\[(\[?)(podlov…’, ‘do_shortcode_ta…’, '\n

Episode in /kunden/508631_73547/webseiten/wordpress/wp-content/plugins/podlove-podcasting-plugin-for-wordpress/lib/template/episode.php on line 21

System Report

Website http://kontrollverlust-fm.de
PHP Version 7.0.28
WordPress Version 5.2.2
WordPress Theme Kontrollverlust-FM Child Theme v1.0.0
Active Plugins
- Akismet Anti-Spam v4.1.2
- Menu Image v2.9.1
- Pocket WP v0.4.3
- Podlove Podcast Publisher v2.8.7
- Podlove Subscribe Button v1.3.6
- Podlove Web Player v2.1.0
- Öffentliche Vorschau für Beiträge v2.8.0
- Twitter v2.0.4
- WordPress Version Info v1.1.5
- WP Statistics v12.6.6.1
WordPress Database Charset utf8
WordPress Database Collate
Publisher Version 2.8.7
Web Player Version player_v2
Twig Version 1.38.3
open_basedir ok
curl Version 7.55.1
iconv available
simplexml ok
max_execution_time 300
upload_max_filesize 8M
memory_limit 256M
disable_classes
disable_functions
permalinks ok (/%year%-%monthnum%-%day%_%postname%/)
podlove_permalinks ok
podcast_settings ok
web_player ok
podlove_cache on
assets

0 errors
0 notices
Nice, Everything looks fine!