• Resolved fh

    (@felipestyle77)


    Version 7.4.1

    PHP message: PHP Warning: Illegal string offset ‘path’ in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 148
    PHP message: PHP Warning: Illegal string offset ‘size’ in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 159
    PHP message: PHP Warning: Illegal string offset ‘id’ in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 69
    PHP message: PHP Warning: Illegal string offset ‘alt’ in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 70
    PHP message: PHP Warning: Cannot assign an empty string to a string offset in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 70
    PHP message: PHP Warning: Illegal string offset ‘width’ in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71
    PHP message: PHP Warning: Illegal string offset ‘height’ in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71
    PHP message: PHP Warning: Illegal string offset ‘pixels’ in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 71
    PHP message: PHP Warning: Illegal string offset ‘type’ in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 74
    PHP message: PHP Warning: array_intersect_key(): Argument #1 is not an array in ../wp-content/p
    2018/05/03 01:22:58 [error] 10847#10847: *295392 FastCGI sent in stderr: “PHP message: PHP Warning: Illegal string offset ‘url’ in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 147

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Version 7.4.1 was released to address the illegal string offset issue.

    * Fixes an unintended backwards-incompatible change which caused “Warning: Illegal string offset ‘url’ in”.

    Can you try and gather as much information for us as possible? Please perform the following:

    1. Make sure the issue doesn’t persist when Yoast SEO is disabled.
    2. Check for conflicts.
    3. Check for JavaScript errors with your console.

    If you perform a conflict check and find that the issue still occurs with all other plugins (except Yoast SEO) deactivated and a default theme like TwentySeventeen, can you confirm that the Illegal String Offset issue still occurs?

    Thread Starter fh

    (@felipestyle77)

    I tried everything you said but nothing worked. I reverted back to version 7.3 right away, and everything is fine again.

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Yoast SEO v7.4.2 has been released. Can you please update the plugin to the latest version to check whether this resolves the issue?

    Thread Starter fh

    (@felipestyle77)

    I already updated to v7.4.2 and still seeing errors/warnings.

    [error] 5836#5836: *67053 FastCGI sent in stderr: “PHP message: PHP Warning: Illegal string offset ‘url’ in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 101

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

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

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

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

    PHP message: PHP Warning: Cannot assign an empty string to a string offset in ../wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 52

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

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

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

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

    PHP message: PHP Warning: array_intersect_key(): Argument #1 is not an array in ../public_html/wp-content/plug

    Hello,

    I have also this problem on sites with png images.
    On sites only with jpg there is no problem.

    I use version 7.4.2 and wp 4.9.5

    Greetings
    Elko

    • This reply was modified 6 years, 6 months ago by Elkok.
    Plugin Support devnihil

    (@devnihil)

    @felipestyle77 @elkok Thanks for confirming that you are still experiencing the error when using version 7.4.2. We have found that the error is still occurring for some users and our developers are working to resolve this and the fix will be included in the 7.5 release of the plugin:
    https://github.com/Yoast/wordpress-seo/issues/9676
    https://github.com/Yoast/wordpress-seo/pull/9667

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Warning: Illegal string offset..’ is closed to new replies.