Support » Plugin: Yoast SEO » Version 7.4 Breaks Site

  • Resolved Victor Font

    (@vfontj)


    Version 7.4 is breaks the site when SVG images are used on a page. For every image on the page, I am getting a ton of errors. So, unfortunately, I have to disable the plugin for now:

    Warning: Illegal string offset ‘url’ in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 147

    Warning: Illegal string offset ‘path’ in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 148

    Warning: Illegal string offset ‘size’ in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 159

    Warning: Illegal string offset ‘id’ in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 69

    Warning: Illegal string offset ‘alt’ in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 70

    Warning: Illegal string offset ‘width’ in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71

    Warning: Illegal string offset ‘height’ in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71

    Warning: A non-numeric value encountered in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71

    Warning: Illegal string offset ‘pixels’ in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71

    Warning: Illegal string offset ‘type’ in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 74

    Warning: array_intersect_key(): Argument #1 is not an array in /wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 77

Viewing 15 replies - 1 through 15 (of 19 total)
  • Same issue here:

    PHP Warning: Illegal string offset 'url' in /var/www/html/wp-content/plugins/wordpress-seo/frontend/class-opengraph-image.php on line 151

    Same thing happened to me today after the new upgrade. For me, the problema seems to be in the same php document: class-wpseo-image-utils.php . This message displays publicly in some of my pages. How can we solve this? I´ve tried some things but nothing repeared it. Help please.

    Warning: Illegal string offset ‘url’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 147

    Warning: Illegal string offset ‘path’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 148

    Warning: Illegal string offset ‘size’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 159

    Warning: Illegal string offset ‘id’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 69

    Warning: Illegal string offset ‘alt’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 70

    Warning: Cannot assign an empty string to a string offset in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 70

    Warning: Illegal string offset ‘width’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71

    Warning: Illegal string offset ‘height’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71

    Warning: Illegal string offset ‘pixels’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71

    Warning: Illegal string offset ‘type’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 74

    Warning: array_intersect_key(): Argument #1 is not an array in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 77

    Warning: Illegal string offset ‘url’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 147

    Warning: Illegal string offset ‘path’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 148

    Warning: Illegal string offset ‘size’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 159

    Warning: Illegal string offset ‘id’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 69

    Warning: Illegal string offset ‘alt’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 70

    Warning: Cannot assign an empty string to a string offset in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 70

    Warning: Illegal string offset ‘width’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71

    Warning: Illegal string offset ‘height’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71

    Warning: Illegal string offset ‘pixels’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71

    Warning: Illegal string offset ‘type’ in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 74

    Warning: array_intersect_key(): Argument #1 is not an array in /homepages/15/d602207584/htdocs/clickandbuilds/HIPOPOTESIS/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 77

    • This reply was modified 1 year, 2 months ago by  hipopotesis.

    Version 7.4 also breaks Revolution Slider and the whole site just stays loading. I also had to disable the Yoast Plugin.

    Yoast SEO was only plugin I updated this AM, shortly after there were tons of queries for posts with image attachments that didn’t exist in MySQL process queue, it effectively DDoS’d my MySQL / server for a few hours. Fun stuff.

    Edit: This appears to be linked to their new “image cache” feature and opengraph image size limit from reading your errors + exploring my issue.

    • This reply was modified 1 year, 2 months ago by  ajohnclark.
    • This reply was modified 1 year, 2 months ago by  ajohnclark.

    Thanks, I already reverted back to 7.3 and sent an update to all of my clients not to update to 7.4.

    Thank you, Victor, for the warning. I caught it just in time so you’ve probably saved me a load of hassle.

    Plugin Author Taco Verdonschot

    (@tacoverdo)

    Hi @vfontj,
    Thanks for your bug report. We’ve received multiple reports and started investigating. Did you see the reported errors on your page, or did you find them in your error logs?

    @hipopotesis & @sergc, does this also occur on pages with SVG images for you, or also with other images?

    We’ve opened a bug report on GitHub here: https://github.com/Yoast/wordpress-seo/issues/9609

    Thanks for your help!

    Honestly, I’m not sure what’s causing it yet, it started showing up in my php logs.

    Hi @tacoverdo, thanks for answering. For me, those lines of errors were displayed in my front end, where everyone could see them, they were public. I can´t add images here, but if I could I would send you an actual image of how it looked. It was displayed before the pages, before the main menu, first the lines of warnings, and then, after it, after the scroll, the actual page displayed correctly.

    About your second question, for me, I think it was a Little arbitrary, because in my Home page, where i have svg images and the revolution slider, nothing happened, everything was ok. But in my blog page, where I have thumbnails of the posts, it happened. In the contact page, where I have images and svg, doesn´t happen….I don´t know.

    Look, I have activated the plugin right now just for you to see how it is. Enter here and navigate through the main menu: https://hipopotesis.com/ Let me know when you´re done to deactivate it.

    Thank you.

    All errors are on the front-end of the website.

    The errors are directly relating to image gallery and not the actual product image, and after deactivating yoast seo woo commerece the warnings ceased.

    I don’t use Yoast Seo WooCommerece or image galleries.

    Plugin Support devnihil

    (@devnihil)

    @vfontj @hipopotesis @sergc The ‘Warning: Illegal string offset’ bug has been addressed in the 7.4.1 release as of today. Can you please try updating to 7.4.1 and confirming whether this resolves the issue for you?

    Still broken

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Version 7.4 Breaks Site’ is closed to new replies.