After upgrade to PHP 7.4, Yoast breaks on pages using Connections plugin
-
I would like to use both Yoast and Connections. They didn’t have any problem when I was on old PHP 7.0, but after upgrading to PHP 7.4, all of my pages showing contact cards from Connections break with a fatal error.
The error seems to be coming from Yoast. When I disable Yoast, the pages work again, but I hope I don’t have to get rid of it permanently.Here is the error. Thank you in advance for any insights!
Fatal error: Uncaught Error: Call to undefined method WPSEO_Utils::get_title_separator() in /home/casedupage/public_html/wp-content/plugins/connections/includes/Integration/SEO/Yoast_SEO.php:329 Stack trace: #0 /home/casedupage/public_html/wp-includes/class-wp-hook.php(308): Connections_Directory\Integration\SEO\Yoast_SEO::transformTitle('Staff Directory...', Object(Yoast\WP\SEO\Presentations\Indexable_Post_Type_Presentation)) #1 /home/casedupage/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('Staff Directory...', Array) #2 /home/casedupage/public_html/wp-content/plugins/wordpress-seo/src/presenters/title-presenter.php(76): apply_filters('wpseo_title', 'Staff Directory...', Object(Yoast\WP\SEO\Presentations\Indexable_Post_Type_Presentation)) #3 /home/casedupage/public_html/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Presenters\Title_Presenter->get_title('') #4 /home/casedupage/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array) #5 /home/casedupage/public_html/wp-includes/genera in /home/casedupage/public_html/wp-content/plugins/connections/includes/Integration/SEO/Yoast_SEO.php on line 329
EDIT: It appears several people are having the same problem, see here: https://wordpress.org/support/topic/fatal-error-after-updating-php-to-7-4-conflict-with-yoast-seo-plugin/#post-16359349
The page I need help with: [log in to see the link]
- The topic ‘After upgrade to PHP 7.4, Yoast breaks on pages using Connections plugin’ is closed to new replies.