Title: ngg2.0 Function not found error
Last modified: August 21, 2016

---

# ngg2.0 Function not found error

 *  [pids](https://wordpress.org/support/users/pids/)
 * (@pids)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/ngg20-function-not-found-error/)
 * I have an image slider in my theme that loads data from a ngg gallery using the
   nggShowGallery. When i updated to 2.0 the whole site failed with a fatal php 
   error of function not found.
 * I am aware that this is a theme problem, rather than a ngg plugin problem, but
   i was wondering if you could give me the new api commands to achieve something
   similar?
 * here is the code of the section in question:
 *     ```
       <div id="mainslideshow">
       <?php
       	$field=get_field('slider_gallery');
       	echo nggShowGallery( $field[0]["ngg_id"], $template = 'mainslideshow');
       ?>
       </div>
       ```
   
 * Thanks
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

Viewing 1 replies (of 1 total)

 *  [carob](https://wordpress.org/support/users/carob/)
 * (@carob)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/ngg20-function-not-found-error/#post-4007999)
 * I have the same problem with nggShowGallery function, it doesn’t work. It’s my
   major problem with the update.

Viewing 1 replies (of 1 total)

The topic ‘ngg2.0 Function not found error’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [carob](https://wordpress.org/support/users/carob/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/ngg20-function-not-found-error/#post-4007999)
 * Status: not resolved