Support » Plugin: Manual Image Crop » Error in Crop Window

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Tomasz Sita

    (@tomaszsita)

    Hi lsamre,
    please try going to “/settings/manual image crop” and submit the settings form.
    Please let me know if that helped.

    This is the error I get – Fatal error: Cannot use string offset as an array in /home/*****/public_html/wp/wp-content/plugins/manual-image-crop/lib/ManualImageCropSettingsPage.php on line 151

    I get the same error. Is there a solution for this issue?

    [Please don’t bump]

    Here are the errors I get:

    Error under Settings>Manual Image Crop:

    Fatal error: Cannot use string offset as an array in /home4/…/public_html/speciesuniverse.com/wp-content/plugins/manual-image-crop/lib/ManualImageCropSettingsPage.php on line 151

    Error when editing Featured Image under Featured Image Crop:

    Fatal error: Cannot use string offset as an array in /home4/alter4u/public_html/speciesuniverse.com/wp-content/plugins/manual-image-crop/lib/ManualImageCropEditorWindow.php on line 53

    It really would be nice to get this plugin to work. Thanks.

    John

    Plugin Author Tomasz Sita

    (@tomaszsita)

    Hi,

    thanks for your feedback guys.
    Will try to get that fixed asap.

    Hi,

    Thank you for this plugin.

    But, I’ve the same error than Johnz Place…
    Do you know why?

    Thank you

    Hi,

    I having the same issue on the settings page when I use custom labels for thumbnail sizes. Otherwise, submiting changes with default values for labels works as excepted.

    I found that the 151th line error was caused due to a serialized value ($sizesSettings) used as an array but whithout being correctly unserialized (in my case a double nested serial value was given).

    I fix this adding temporaly a second “unserialize()” call after line 133 of “manual-image-crop/lib/ManualImageCropSettingsPage.php” to be able to restore and save my settings:

    $sizesSettings = unserialize($this->options['sizes_settings']);
    if(!is_array($sizesSettings)){
       $sizesSettings = unserialize($sizesSettings);
       }

    By the way, thanks a lot Tomasz for this great addon!

    Rumores!!!! OH Rumores!!!! You saved me. YOU SAVED ME!! Nice work! Thank you.

    BTW, I had to make the change in two files to get everything to work: ManualImageCropSettingsPage.php and ManualImageCropEditorWindow.php

    Plugin Author Tomasz Sita

    (@tomaszsita)

    It should be fixed in v1.07,
    Could you confirm guys?

    In my case, everything’s ok now.
    Thank you very much Tomasz!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error in Crop Window’ is closed to new replies.