PHP 7.4 unparenthesized fatal error

I just installed the TubePress Plugin on Local and it broke the site.
Latest version of wordpress and TubePress

Hi @jesper, thank you for reporting this! This looks like a new bug with PHP 7.4, but here are the steps that should resolve it:

  1. Using your favorite text editor, open up /Users/jesper/.../wp-content/plugins/tubepress_pro_5_1_8/vendor/twig/twig/lib/Twig/Node.php

  2. Change line 42 FROM

@trigger_error(sprintf('Using "%s" for the value of node "%s" of "%s" is deprecated since version 1.25 and will be removed in 2.0.', is_object($node) ? get_class($node) : null === $node ? 'null' : gettype($node), $name, get_class($this)), E_USER_DEPRECATED);

TO

@trigger_error(sprintf('Using "%s" for the value of node "%s" of "%s" is deprecated since version 1.25 and will be removed in 2.0.', (is_object($node) ? get_class($node) : null) === ($node ? 'null' : gettype($node)), $name, get_class($this)), E_USER_DEPRECATED);

  1. Save the file.

The error should go away. Would you let us know? We are prepping TubePress 5.1.9 and will include this fix in its release.

I’m getting the same error after fixing the line 42 one for line 217:

AH01071: Got error ‘PHP message: PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /var/www/vhosts/aktivsolutions.com/staging.aktivsolutions.com/wordpress/wp-content/plugins/tubepress_pro_5_1_8/vendor/twig/twig/lib/Twig/Node.php on line 217’

This is with TubePress Pro 5.1.8 — was there ever a 5.1.9 version for TubePress Pro?

There’s only a 5.1.8 Pro version it seems for download in my account.