Warning: Illegal string offset ‘url’ in…

Getting this at the top of category and search pages (not the front page or single item pages)
Warning: Illegal string offset ‘url’ in …/wp-content/plugins/wordpress-seo/frontend/class-opengraph-image.php on line 151

Just happened after updating to 7.4. Tried putting in the opengraph-image.php from 7.3 but that broke the site.