Title: PHP fatal error when submitting with image
Last modified: August 24, 2016

---

# PHP fatal error when submitting with image

 *  Resolved [tnightingale](https://wordpress.org/support/users/tnightingale/)
 * (@tnightingale)
 * [11 years ago](https://wordpress.org/support/topic/php-fatal-error-when-submitting-with-image/)
 * I really like the simplicity of this plugin and the look of the form, but I’m
   getting this error when submitting the form with an uploaded image.
 * Fatal error: Cannot redeclare wp_crop_image() (previously declared in /home/skipper0965/
   public_html/wp-admin/includes/image.php:25) in /home/skipper0965/public_html/
   wp-admin/includes/image.php on line 63
 * Seems odd that the error is coming from a wp core file and not the plugin file,
   but there you go. (It’s not the site because I was testing a different guest 
   submission plugin earlier and the images uploaded fine – I’ve since deactivated
   that plugin)
 * Using a child theme of Twenty-Twelve.
 * Thank you.
 * [https://wordpress.org/plugins/accesspress-anonymous-post/](https://wordpress.org/plugins/accesspress-anonymous-post/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Access Keys](https://wordpress.org/support/users/access-keys/)
 * (@access-keys)
 * [11 years ago](https://wordpress.org/support/topic/php-fatal-error-when-submitting-with-image/#post-6052339)
 * Hi there,
 * It seems there is a small bug in the plugin for the latest version of the wordpress.
   The bug is not for all users but it showing for some so we will try to come with
   the fix withing few days.
 * For now, we can suggest you a quick fix which will include in our next update
   which will be probably on monday.
 * Please open the file inc/cores/save-post.php and just comment or remove the line
   number 71 and the error must be gone.
 * Thanks.
 *  Plugin Author [Access Keys](https://wordpress.org/support/users/access-keys/)
 * (@access-keys)
 * [11 years ago](https://wordpress.org/support/topic/php-fatal-error-when-submitting-with-image/#post-6052394)
 * Hi there,
 * We have just released the new update with the error fix so please update the 
   plugin in your site and the error shall be gone.
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP fatal error when submitting with image’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accesspress-anonymous-post_fbfbfb.
   svg)
 * [Frontend Post WordPress Plugin - AccessPress Anonymous Post](https://wordpress.org/plugins/accesspress-anonymous-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accesspress-anonymous-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accesspress-anonymous-post/)
 * [Active Topics](https://wordpress.org/support/plugin/accesspress-anonymous-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accesspress-anonymous-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accesspress-anonymous-post/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [image error](https://wordpress.org/support/topic-tag/image-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [Access Keys](https://wordpress.org/support/users/access-keys/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/php-fatal-error-when-submitting-with-image/#post-6052394)
 * Status: resolved