Viewing 2 replies - 1 through 2 (of 2 total)
  • Apparently WPEC is not handling the information returned from wp_generate_attachment_metadata well, which is an issue.

    Your problem should only happen if WordPress can;t do what it wants with the attachment. Can you share the image? If you turn on debug logging are there any messages about the image processing?

    A temporary for the error would be replacing
    if ( empty( $generated ) )
    with
    if ( empty( $generated ) || ! is_array( $generated ) )

    But your image still will not show.

    Thread Starter JohnnyDu

    (@johnnydu)

    GD library was not enabled on Server. So now everything is showing and working.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image not uploading’ is closed to new replies.