There has been an error cropping your image

Issue Summary

Whenever I try and crop an image (or favicon) using the customize options, I get: “There has been an error cropping your image.”

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?

Apparently this is related to a PHP version? I’m not sure how I’d update this through code, although apparently it’s possible. Someone posted a solution here for this error:

https://wordpress.org/support/topic/there-has-been-an-error-cropping-your-image-5/

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

System Details

  • Which version of Local is being used? 5.10.3 + 5332

  • What Operating System (OS) and OS version is being used?

    • Windows 10
  • Attach the Local Log. See this Community Forum post for instructions on how to do so:
    {“thread”:“main”,“class”:“addIpcAsyncListener”,“stringifiedCallback”:“e=>this.push(e)”,“level”:“warn”,“message”:“Duplicate callback appears to be getting added to devkit:push”,“timestamp”:“2021-04-22T15:04:40.995Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%resourcesPath%%\lightning-services\mailhog-1.0.0+3\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.131Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%resourcesPath%%\lightning-services\mailhog-1.0.0+3\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.133Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%resourcesPath%%\lightning-services\mariadb-10.4.10+4\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.134Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%resourcesPath%%\lightning-services\mariadb-10.4.10+4\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.169Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%resourcesPath%%\lightning-services\mysql-8.0.16+5\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.170Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%resourcesPath%%\lightning-services\mysql-8.0.16+5\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.204Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%resourcesPath%%\lightning-services\nginx-1.16.0+5\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.205Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%resourcesPath%%\lightning-services\nginx-1.16.0+5\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.238Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%resourcesPath%%\lightning-services\php-7.3.5+10\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.238Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%resourcesPath%%\lightning-services\php-7.3.5+10\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.269Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%appPath%%\node_modules\@getflywheel\local-addon-broken-link-checker\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.270Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%appPath%%\node_modules\@getflywheel\local-addon-broken-link-checker\lib\main.js”,“timestamp”:“2021-04-22T15:04:41.271Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have “productName” specified in package.json: %%appPath%%\node_modules\@getflywheel\local-browsersync\package.json”,“level”:“info”,“timestamp”:“2021-04-22T15:04:41.272Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have “productName” specified in package.json: %%appPath%%\node_modules\@getflywheel\local-browsersync-client\package.json”,“level”:“info”,“timestamp”:“2021-04-22T15:04:41.273Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have “productName” specified in package.json: %%appPath%%\node_modules\@getflywheel\local-components\package.json”,“level”:“info”,“timestamp”:“2021-04-22T15:04:41.273Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have “productName” specified in package.json: %%appPath%%\node_modules\@getflywheel\localcert\package.json”,“level”:“info”,“timestamp”:“2021-04-22T15:04:41.274Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have “productName” specified in package.json: %%appPath%%\node_modules\@getflywheel\localtunnel\package.json”,“level”:“info”,“timestamp”:“2021-04-22T15:04:41.274Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have “productName” specified in package.json: %%appPath%%\node_modules\@getflywheel\memoize-one-ts\package.json”,“level”:“info”,“timestamp”:“2021-04-22T15:04:41.275Z”}
    {“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have “main” or “renderer” specified in package.json: %%appPath%%\node_modules\@getflywheel\replacestream\package.json”,“level”:“info”,“timestamp”:“2021-04-22T15:04:41.275Z”}
    {“thread”:“main”,“name”:“DeprecationWarning”,“code”:“DEP0005”,“level”:“info”,“message”:“Warning:Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.”,“stack”:“DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\n at showFlaggedDeprecation (buffer.js:174:11)\n at new Buffer (buffer.js:257:3)\n at encoder (%%appPath%%\node_modules\superagent\lib\node\index.js:499:12)\n at RequestBase._auth (%%appPath%%\node_modules\superagent\lib\request-base.js:431:44)\n at Request.auth (%%appPath%%\node_modules\superagent\lib\node\index.js:502:15)\n at Analytics.flush (%%appPath%%\node_modules\analytics-node\lib\index.js:152:6)\n at listOnTimeout (internal/timers.js:531:17)\n at processTimers (internal/timers.js:475:7)”,“timestamp”:“2021-04-22T15:04:51.577Z”}
    {“thread”:“main”,“class”:“SiteProvisionerService”,“message”:“Creating site folders…”,“level”:“info”,“timestamp”:“2021-04-22T15:13:09.437Z”}
    {“thread”:“main”,“class”:“SiteProvisionerService”,“message”:“Copying service config templates…”,“level”:“info”,“timestamp”:“2021-04-22T15:13:09.444Z”}
    {“thread”:“main”,“class”:“ConfigTemplatesService”,“message”:“Compiling service configs…”,“level”:“info”,“timestamp”:“2021-04-22T15:13:09.506Z”}
    {“thread”:“main”,“service”:{},“serviceBinVersion”:{},“dataPath”:“C:/Users/moose/AppData/Roaming/Local/run/PpVHSeQSe/mysql/data”,“level”:“info”,“message”:“Initializing MySQL datadir…”,“timestamp”:“2021-04-22T15:13:09.627Z”}
    {“thread”:“main”,“class”:“ConfigTemplatesService”,“message”:“Compiling service configs…”,“level”:“info”,“timestamp”:“2021-04-22T15:13:15.343Z”}
    {“thread”:“main”,“service”:{},“serviceBinVersion”:{},“message”:“Setting up MySQL user…”,“level”:“info”,“timestamp”:“2021-04-22T15:13:16.422Z”}
    {“thread”:“main”,“class”:“HostsFileService”,“level”:“info”,“message”:“Updating hosts with”,“timestamp”:“2021-04-22T15:13:17.031Z”}
    {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-04-22T15:13:16.313713Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+5\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 6668”,“timestamp”:“2021-04-22T15:13:17.814Z”}
    {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-04-22T15:13:16.316268Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.”,“timestamp”:“2021-04-22T15:13:17.814Z”}
    {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-04-22T15:13:17.784466Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2021-04-22T15:13:17.815Z”}
    {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-04-22T15:13:17.813837Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+5\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10005 MySQL Community Server - GPL.”,“timestamp”:“2021-04-22T15:13:17.815Z”}
    {“thread”:“main”,“service”:{},“serviceBinVersion”:{},“message”:“Creating MySQL database…”,“level”:“info”,“timestamp”:“2021-04-22T15:13:18.310Z”}
    {“thread”:“main”,“class”:“HostsFileService”,“stdout”:“Updating hosts file at C:\WINDOWS\System32\drivers\etc\hosts\nUpdated hosts file at C:\WINDOWS\System32\drivers\etc\hosts\n”,“stderr”:"",“level”:“info”,“message”:“Updated hosts.”,“timestamp”:“2021-04-22T15:13:20.437Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Init WordPressInstaller”,“level”:“info”,“timestamp”:“2021-04-22T15:13:20.438Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Starting standardInstall()”,“level”:“info”,“timestamp”:“2021-04-22T15:13:20.439Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“message”:“maybeGetLatestVersion()”,“level”:“info”,“timestamp”:“2021-04-22T15:13:20.439Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“latestOfflineWpVersion”:null,“level”:“info”,“message”:“Latest offline version info”,“timestamp”:“2021-04-22T15:13:20.439Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“version”:“5.7.1”,“download”:“https://downloads.wordpress.org/release/wordpress-5.7.1.tar.gz",“level”:“info”,“message”:"Latest version info”,“timestamp”:“2021-04-22T15:13:20.770Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“level”:“info”,“message”:“download()”,“timestamp”:“2021-04-22T15:13:20.770Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“level”:“info”,“message”:“Attempting to download WordPress”,“timestamp”:“2021-04-22T15:13:20.771Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Configuring wp-config.php”,“level”:“info”,“timestamp”:“2021-04-22T15:13:55.587Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Installing WordPress”,“level”:“info”,“timestamp”:“2021-04-22T15:13:55.958Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Attempting to delete Akismet and Hello Dolly”,“level”:“info”,“timestamp”:“2021-04-22T15:13:57.747Z”}
    {“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Writing salts to wp-config.php”,“level”:“info”,“timestamp”:“2021-04-22T15:13:59.286Z”}

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.