• Resolved alishahin

    (@alishahin)


    Hi Volkmar
    Thanks in advance for your plugin

    The plugin is not working with me. It gives js error on console.
    I tried the plugin on Chrome and Firefox with no change.

    After clicking ‘save crop’ it make infinite loading signal. Sometimes it crop images but I have to click close icon to stop the infinite loading.

    The error as shown on chrome console >>>>
    Uncaught ReferenceError: error is not defined
    at Object.<anonymous> (app.js?ver=1.0.2:497)
    at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jcrop,imagesloaded&ver=4.9.1:2)
    at Object.fireWith [as rejectWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jcrop,imagesloaded&ver=4.9.1:2)
    at y (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jcrop,imagesloaded&ver=4.9.1:4)
    at XMLHttpRequest.c (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jcrop,imagesloaded&ver=4.9.1:4)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Hi, thanks for posting the error. I see 2 thinks out of this:

    First, it seems there is an error on the server-side, but we do not see it right now cause -> Second, i’ve used a wrong variable to show the error that come from the server – this will be fixed in the next version. But for now please edit the following file wp-content/plugins/crop-thumbnails/js/app/app.js.
    On line 497 change “console.error(error);” to “console.error(response);“.

    If the same error is display then please edit wp-content/plugins/crop-thumbnails/crop-thumbnails.php.
    On line 29 change “define(‘CROP_THUMBNAILS_VERSION’,’1.0.2′);” to “define(‘CROP_THUMBNAILS_VERSION’,’1.0.2a’);” to force the javascript files to hard reload.

    After the fix, you should see another error in the console – please post the error here. It seems you have some problem on the server-side of the plugin. Do you already run the quick-test on the plugins settings screen?

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Version 1.0.3 will print some more debug informations inside the developer console. It seems your server do not respond correctly – this may caused by the plugin – but do not have to.

    If you want to use an older Version you may have a look on the releases section of the github project (you need 0.10.15). But i recommend we try to fix the problem instead.
    https://github.com/vollyimnetz/crop-thumbnails/releases

    Thread Starter alishahin

    (@alishahin)

    ‘The plugin can not correctly connect to the server’

    this message appeared after updating to 1.0.3
    I am using php5.4

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    OK, as expected.

    • Now open your developer-console in chrome.
    • There should be a red marked line. Copy and paste the line here.

    If it says {status: 500, statusText: "Internal Server Error", ... then message me directly via cropthumbnails[~?t~]totalmedial.de .

    I will need ftp-access and a wordpress account to analyze and fix this.

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    In some rare cases you might see the php-error that the server produces in the developer-console.

    Have a look on this: https://imgur.com/a/Hbz9X

    • Go to “network”-tab
    • filter by “XHR”
    • click the last red entry on the left side
    • click on the “Response”-tab
    • Is there any response-output? What does the error message say?
    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Hi there, version 1.1.0 has arrived. Please try if the update fixes your problem.

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    If version 1.1.0 not fix your problem version 1.1.1 will – it fixes the use of a function i introduced in version 1.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘problem after clicking crop save’ is closed to new replies.