Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Conflict with ACF Image Crop #203

Closed
JessBoctor opened this issue Feb 21, 2018 · 2 comments
Closed

Plugin Conflict with ACF Image Crop #203

JessBoctor opened this issue Feb 21, 2018 · 2 comments

Comments

@JessBoctor
Copy link

Hey everyone!

I have an interesting problem, after a recent update, whenever I run ACF Image Crop together with WP Stateless, it triggers a fatal error when an image is cropped. Here is the error:

PHP Fatal error: Call to undefined method WP_Error::set_quality() in /home/montere7/staging/dashboard/wp-content/plugins/acf-image-crop-add-on/acf-image-crop-v5.php on line 528

I found this Issue on the ACF Image Crop repo which said the issue was because the GD or Imagick library wasn't loading. I checked with my hosting company to make sure both were installed and loading, but I was still getting the same error. Interestingly enough, I don't have this issue on my local version of the site which is built using Desktop Server, only on the staging site on my actual server. Also, when I deactivate WP Stateless on the staging site, ACF Image Crop works without a problem.

Any ideas/tips on how to resolve this?

Thanks again for a great plugin.

@JessBoctor
Copy link
Author

Never mind!! Apparently I need to pay more attention to the change logs.

I found the compatibility settings in the backend and activated the ACF Image Crop setting. Everything is working fine now.

Thanks again, you guys rock!

@ewsopp
Copy link
Member

ewsopp commented Feb 21, 2018

@JessBoctor glad it resolved your issue. Thanks for the support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants