Support » Plugin: Manual Image Crop » Undefined index ManualImageCropEditorWindow.php on line 49

Viewing 10 replies - 1 through 10 (of 10 total)
  • Same issue here. And the plugin stopped working also: when I click the Crop it button nothing happens anymore.

    Here’s a screenshot of the error messages: https://www.dropbox.com/s/riye99zrs8dq6sl/Screenshot%202014-08-18%2015.17.14.png

    Thanks!

    Plugin Author Tomasz Sita

    (@tomaszsita)

    Can you try to go to the plugin’s settings page and re-save the settings?

    Hi!

    Thanks for the response 🙂

    I did what you asked and many of the error messages disappeared, but unfortunately two of them still remain (screenshot). The two error messages are for image sizes that I didn’t set (medium and large), I’m not so sure where those image sizes are coming from?

    Also the plugin still doesn’t work. When I click the Crop It button nothing happens.

    Thanks again for your response!

    Regards,
    Sebastian

    @tomasz Sita can you build in a check if the index is set? I think that fix the problem 🙂

    Hey… any updates on this? Thanks!

    Re-up

    I got the same problem even if i update the plugin settings.

    Plugin Author Tomasz Sita

    (@tomaszsita)

    Hi,

    the fix is on the way:)

    Hi Tomasz,

    Still on the way ? O:)

    Hi Tomasz,

    We had this issue too (please note: it only occurs when error reporting is enabled, if you set wp_debug to log only, the issue goes (or becomes invisible)).

    It’s a simple fix though, it just needs 3 isset() statements adding to:

    lib/ManualImageCrop.php

    242: if(isset($_POST['make2x']) && $_POST['make2x'] === 'true') {
    272: if(isset($_POST['make2x']) && $_POST['make2x']...

    lib/ManualImageCropEditorWindow.php

    48: if (!  isset($sizesSettings[$s]) ) {

    This should prevent all errors. The ajax after cropping returns an error, so although cropping still works, it never says complete because the error is being returned insead of the JSON.

    Plugin Author Tomasz Sita

    (@tomaszsita)

    fixed in 1.08

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Undefined index ManualImageCropEditorWindow.php on line 49’ is closed to new replies.