Title: Problems after changing server
Last modified: August 22, 2016

---

# Problems after changing server

 *  [lagunas](https://wordpress.org/support/users/lagunas/)
 * (@lagunas)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problems-after-changing-server-1/)
 * Hi!
 * I have recently changed my hosting provider, and now I’m having some issues with
   my galleries.
 * This is what I’ve been able to find so far:
    1) In the admin area, on all the
   galleries edit screen I’m seeing this error message: Warning: call_user_func_array()
   expects parameter 1 to be a valid callback, first array member is not a valid
   class name or object in /—my-path—/wp-includes/plugin.php on line 214
 * This error message is repeated once for each image in the gallery (for a gallery
   with 4 images, it displays 4 times, for a gallery with 40 images it displays 
   40 times).
    And after the error messages, all the image thumbs and metadata displays
   correctly.
 * 2) I use custom templates, stored in a folder named _nggallery_ in my theme folder.
   They were working perfectly on my previous server.
    Now I only get the loading
   icon on my front end, and the gallery doesn’t load. If I delete the template 
   files from the theme folder, the images display with the custom template. Here’s
   the code I’m using: `[nggallery id=1 template=templatename]`
 * I don’t know if these issues are related, but they both showed up once I moved
   servers, and I need to solve them rather fast, so I can get my site back up.
 * Any ideas?
    Thank you very much!!
 * [https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [lagunas](https://wordpress.org/support/users/lagunas/)
 * (@lagunas)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problems-after-changing-server-1/#post-5565633)
 * Fixed!
    I think it had something to do with another plugin that needed to be 
   activated or something. I’ve been fixing other unrelated migration errors, and
   now I don’t see the error message anymore, and the gallery loads ok.

Viewing 1 replies (of 1 total)

The topic ‘Problems after changing server’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextcellent-gallery-nextgen-legacy_9c9087.
   svg)
 * [NextCellent Gallery - NextGEN Legacy](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/)
 * [Active Topics](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/reviews/)

## Tags

 * [custom-template](https://wordpress.org/support/topic-tag/custom-template/)
 * [error message](https://wordpress.org/support/topic-tag/error-message/)
 * [server change](https://wordpress.org/support/topic-tag/server-change/)

 * 1 reply
 * 1 participant
 * Last reply from: [lagunas](https://wordpress.org/support/users/lagunas/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/problems-after-changing-server-1/#post-5565633)
 * Status: not resolved