Page Error is:
There has been a critical error on this website.
Learn more about troubleshooting WordPress.
Happens on ANY page that has a podcast attached, we use the HTML5 Player With Album Art.
Adn we have Posts->add New where we have a written post, with then an embedded player of the matching podcast. Been like this for nearly 2 years.
I enabled debugging and noticed errors between Yoast and SSP. Yoast hadn’t been updated for nearly a month, SSP was recently updated and specifically mentioned changes in regards to Yoast compatibility. The previous version of SSP works perfectly.
At this point, we preferred to have working Podcasts, so have disabled the Yoast Plugin to get things working. Disabling either SSP or Yoast fixes the problem.
Relevant Logs here:
[30-Mar-2022 11:37:04 UTC] PHP Notice: Trying to get property 'name' of non-object in /home/tyneesha/public_html/wp-content/plugins/seriously-simple-podcasting/php/classes/integrations/yoast/schema/class-podcast-episode.php on line 49
[30-Mar-2022 11:37:04 UTC] PHP Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/tyneesha/public_html/wp-content/plugins/seriously-simple-podcasting/php/classes/integrations/yoast/schema/class-podcast-episode.php:51
Stack trace:
#0 /home/tyneesha/public_html/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php(128): SeriouslySimplePodcasting\Integrations\Yoast\Schema\PodcastEpisode->generate()
#1 /home/tyneesha/public_html/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php(76): Yoast\WP\SEO\Generators\Schema_Generator->generate_graph(Array, Object(Yoast\WP\SEO\Context\Meta_Tags_Context))
#2 /home/tyneesha/public_html/wp-content/plugins/wordpress-seo/src/presentations/indexable-presentation.php(738): Yoast\WP\SEO\Generators\Schema_Generator->generate(Object(Yoast\WP\SEO\Context\Meta_Tags_Context))
#3 /home/tyneesha/public_html/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php(64): Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_schema() in /home/tyneesha/public_html/wp-content/plugins/seriously-simple-podcasting/php/classes/integrations/yoast/schema/class-podcast-episode.php on line 51