• Resolved Nazrinn

    (@nazrinn)


    When browsing my media library in list view, an Optimole PHP warning appear non-image files (it seems). Examples:

    Under a PDF file:
    Warning: Trying to access array offset on value of type bool in [site]/wp-content/plugins/optimole-wp/inc/media_offload.php on line 408

    Under an mp4 file:
    Warning: Undefined array key "file" in [site]/wp-content/plugins/optimole-wp/inc/media_offload.php on line 408

    These warnings only appear in list views.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Vytis

    (@bvytis)

    Hi @nazrinn,

    Thank you for reporting this, can you also share a screenshot of that section with the warning?

    I’ve tried to check in my test instance with other files uploaded (PDF) and even in the list view, I don’t see warnings next to it (I have debug mode enabled).

    Thread Starter Nazrinn

    (@nazrinn)

    PDF warning.
    mp4 warning.

    Weirdest thing about it is that WP_DEBUG is commented.

    • This reply was modified 2 years, 9 months ago by Nazrinn.
    Plugin Support Vytis

    (@bvytis)

    Hi @nazrinn,

    Thank you for providing more details, I was able to replicate the error when offloading images is enabled and reported the problem to our development team for further investigation.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP warnings in media library on non-image files’ is closed to new replies.