Support » Plugin: YoImages » PHP Fatal error: Cannot use string offset as an array

  • We were getting a 500 from admin-ajax.php. Further digging showed wp_get_attachment_metadata() is returning a serialized value.

    Please replace line 38 with:
    $attachment_metadata = maybe_unserialize(wp_get_attachment_metadata( $req_post ));

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hmcl

    (@charityl)

    File: yoimages/vendor/surilli/yoimages-crop/inc/image-editor.php

    • This reply was modified 3 years, 8 months ago by hmcl.
    Plugin Author sirulli

    (@sirulli)

    Hi @charityl
    we should have just fixed the issue, please upgrade the plugin to the latest version.
    Thanks for reporting!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error: Cannot use string offset as an array’ is closed to new replies.