ilab-media-tools icon indicating copy to clipboard operation
ilab-media-tools copied to clipboard

Plugin Causes Undefined Offset Error in wp-includes/media.php

Open mattcdavis1 opened this issue 4 years ago • 2 comments

Describe the bug Activating the plugin generates PHP errors in the wp-includes/media.php file

To Reproduce Steps to reproduce the behavior: Activate plugin

Expected behavior No new PHP errors

Screenshots https://www.screencast.com/t/KngS4bkyP

Server (please complete the following information)

  • Operating System: linux
  • PHP Version: 7.4
  • Web Server: Apache
  • Using PHP-FPM? Yes
  • Using WordPress Cron? No

How did you install the plugin? Did you install via composer, a git checkout, wordpress.org, freemius? wordpress console

Additional context Errors go away as soon as plugin is deactivated so the plugin is definitely the issue. It looks like incorrect parameters are being passed to image_get_intermediate_size and other media functions.

mattcdavis1 avatar Dec 25 '20 02:12 mattcdavis1

What other plugins do you have activated at the same time? If Media Cloud is the only plugin activated do you receive that error?

Also which WordPress version and which version of Media Cloud

jawngee avatar Dec 25 '20 02:12 jawngee

Here's a screenshot of the plugins. I had to enable advanced custom fields for the page to work but i disabled all the others.

Wordpress version is 5.6 and Media Cloud is 4.1.14

mattcdavis1 avatar Dec 25 '20 02:12 mattcdavis1