Title: Fatal error: Call to undefined method WP_Error::resize()
Last modified: August 22, 2016

---

# Fatal error: Call to undefined method WP_Error::resize()

 *  [fiterix](https://wordpress.org/support/users/fiterix/)
 * (@fiterix)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/)
 * After update to v2.6 all previous galleries works fine, but when i create new
   gallery or after add new picture to old gallery i have this error:
    `Fatal error:
   Call to undefined method WP_Error::resize() in .../wp-content/plugins/maxgalleria/
   maxgalleria-image-gallery.php on line 597`
 * [https://wordpress.org/plugins/maxgalleria/](https://wordpress.org/plugins/maxgalleria/)

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/page/2/?output_format=md)

 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5548924)
 * Did you try deactivating and reactivating the plugin? Also, which version of 
   WordPress are you running. Any other plugins change since the 2.6 update? I was
   unable to duplicate the error, but if you provide additional information we’ll
   have a better shot at narrowing down the issue.
 *  [emrdesignstudio](https://wordpress.org/support/users/emrdesignstudio/)
 * (@emrdesignstudio)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549016)
 * I’m getting the same error after I updated the plugin to v2.6:
    I’m using the
   Genesis Framework v2.1.2 WordPress v4.0.1 I deactivated/reactivated the plugin
   still same issue no other plugin changes since the upgrade
 * `Fatal error: Call to undefined method WP_Error::resize() in ..../wp-content/
   plugins/maxgalleria/maxgalleria-image-gallery.php on line 597`
 * Thanks
 *  [jfromjersy](https://wordpress.org/support/users/jfromjersy/)
 * (@jfromjersy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549019)
 * Yep – exact same issue here. Karma Theme.
 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549021)
 * What are the sizes of images you are trying to upload?
 *  [jfromjersy](https://wordpress.org/support/users/jfromjersy/)
 * (@jfromjersy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549027)
 * I added one image 390×800 to an existing gallery of same size images and it broke.
   I have another gallery of same size images and it still works fine.
 *  Thread Starter [fiterix](https://wordpress.org/support/users/fiterix/)
 * (@fiterix)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549042)
 * i’m using WordPress v4.0.1
    Disable/Enable plugin doesn’t resolve probem. Other
   plugins are ok after update to v2.6 Example image size: 960×720
 *  [Jerommeke](https://wordpress.org/support/users/jerommeke/)
 * (@jerommeke)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549078)
 * I’ve got the same error after upgrading to v 2.6 in wordpress 4.0.1
 *  [petergb87](https://wordpress.org/support/users/petergb87/)
 * (@petergb87)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549079)
 * Same issue for me as well. Old galleries work fine, but any gallery I add an 
   image to breaks that gallery. v2.6 of plugin and 4.0.1 wordpress.
 *  [Leads Koala](https://wordpress.org/support/users/btimsah/)
 * (@btimsah)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549101)
 * After the update can’t get new gallery to show as it throws the error above. 
   I’m using wp multi site. It does show dupes in file manager. The gallery shows
   66 instead of 33 images. I tried going into next gen. and the gallery works fine
   in there. Then I imported that gallery into max and this time it did show 33 
   images but it still throws the fatal error so as of right now new galleries just
   don’t work.
 * 🙁
 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549102)
 * Just to see if this is definitely 2.6 specific, can you all try downloading 2.5
   here: [https://wordpress.org/plugins/maxgalleria/developers/](https://wordpress.org/plugins/maxgalleria/developers/)
 * By determining that 2.5 was, in fact, a still stable version we can pinpoint 
   the problem. Thanks for the continued patience as we work through this.
 *  Thread Starter [fiterix](https://wordpress.org/support/users/fiterix/)
 * (@fiterix)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549104)
 * 2.5 was my previous version (before update) on server and everything was ok
 *  [emrdesignstudio](https://wordpress.org/support/users/emrdesignstudio/)
 * (@emrdesignstudio)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549110)
 * I’m currently running 2.5 on another site and there’s no issues there.
 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549112)
 * We’ve just released 2.6.1 which should contain a patch that fixes this. Please
   update and let us know.
 *  [Leads Koala](https://wordpress.org/support/users/btimsah/)
 * (@btimsah)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549114)
 * Well, it partially worked.
 * If I import a gallery from NextGen Gallery it displays perfectly.
 * However, if I add multiple images into a new gallery it’s doubling each image
   and inserting them into the gallery. So if it’s 33 images, then it shows 66 images.
 * At least it’s not throwing an error now… I call that progress.
 * 🙂
 *  Thread Starter [fiterix](https://wordpress.org/support/users/fiterix/)
 * (@fiterix)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/#post-5549115)
 * i have the same situation

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/page/2/?output_format=md)

The topic ‘Fatal error: Call to undefined method WP_Error::resize()’ is closed to
new replies.

 * ![](https://ps.w.org/maxgalleria/assets/icon-128x128.jpg?rev=1225417)
 * [MaxGalleria](https://wordpress.org/plugins/maxgalleria/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maxgalleria/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maxgalleria/)
 * [Active Topics](https://wordpress.org/support/plugin/maxgalleria/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxgalleria/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxgalleria/reviews/)

 * 21 replies
 * 7 participants
 * Last reply from: [jfromjersy](https://wordpress.org/support/users/jfromjersy/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorresize/page/2/#post-5549154)
 * Status: not resolved