noonanbobby
Forum Replies Created
-
Yup! I answered my own question! I recently upgraded my php to 7.4, and GD wasnt switched on. It works now.
Thank you so very much for your help on this. seriously incredible support. Hopefully you continue to update this plugin for many years to come ??
Here is the error in the log viewer:
[14-Oct-2020 15:22:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::get_size() in /home/xxxx/public_html/admin/wp-content/plugins/acf-image-aspect-ratio-crop/acf-image-aspect-ratio-crop.php:234 Stack trace: #0 /home/xxxx/public_html/admin/wp-includes/class-wp-hook.php(287): npx_acf_plugin_image_aspect_ratio_crop->{closure}('') #1 /home/xxxx/public_html/admin/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /home/xxxx/public_html/admin/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/xxxx/public_html/admin/wp-admin/admin-ajax.php(176): do_action('wp_ajax_acf_ima...') #4 {main} thrown in /home/xxx/public_html/admin/wp-content/plugins/acf-image-aspect-ratio-crop/acf-image-aspect-ratio-crop.php on line 234 [14-Oct-2020 15:23:58 UTC] WP_Error Object ( [errors] => Array ( [image_no_editor] => Array ( [0] => No editor could be selected. ) ) [error_data] => Array ( )
)
- This reply was modified 4 years, 5 months ago by noonanbobby.
Unfortunately, I am still receiving the error “Failed to crop image”.
I’d also like to add that if I open up a record, and click the crop button on an exiting image (to change the crop), nothing happens.
Where I see the error “Failed to crop image” is when I remove the existing image, and select a new image from the media gallery. The crop box popup opens, allowing me to change crop. but when I click “Crop”, it shows me an error in the bottom right of the window.
Thank you so much for your help with this, by the way…terrific support.
i see 2 versions of each image:
1 – xxxxxxxx-scaled_1920x1080_acf_cropped.jpg
2 – xxxxxxxx-scaled.jpgyes. i see the “….-scaled.jpg” version”. but it is still giving me an error “Failed to crop image”.
I’m also seeing a 500 error with wp-admin/admin-ajax.php in chrome dev tools.
Cool. so I did everything, but now im getting an error “Failed to crop image”. It actually seemed like it was working for little bit…so im not sure what happened.
Edit:
I just checked my debug log, and I’m seeing this:
PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::get_size() in /home/xyz/public_html/admin/wp-content/plugins/acf-image-aspect-ratio-crop/acf-image-aspect-ratio-crop.php:226
- This reply was modified 4 years, 5 months ago by noonanbobby.
- This reply was modified 4 years, 5 months ago by noonanbobby.
- This reply was modified 4 years, 5 months ago by noonanbobby.
thanks for responding. sorry for asking dumb questions…i just dont want to screw anything up. What is the first step to doing this migration?
-Manually record all of the field information (cropping specs, conditional logic, etc)
-Delete Old fields
-Delete Old Plugin
-Active Your plugin
-Recreate all new cropping Fields with the same information as the old pluginIs this the only method? I have around 30 fields that would need to be recreated.
- This reply was modified 4 years, 5 months ago by noonanbobby.