Title: Slideshow : Division by zero in adapter.nextgen_basic_slideshow_controller.php
Last modified: August 21, 2016

---

# Slideshow : Division by zero in adapter.nextgen_basic_slideshow_controller.php

 *  Resolved [osify](https://wordpress.org/support/users/osify/)
 * (@osify)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/slideshow-division-by-zero-in-adapternextgen_basic_slideshow_controllerphp/)
 * When we enable a cache plugin: W3 Total Cache, clear cache or anything,
    the 
   slideshow of NextGen gallery has an error:
 *     ```
       Warning: Division by zero in plugins\nextgen-gallery\products\photocrati_nextgen\modules
   
       \nextgen_basic_gallery\adapter.nextgen_basic_slideshow_controller.php on line 30
       ```
   
 * In the website is using thirteenth theme with some simple plugins.
 * The error occurs only when we enable the cache plugin above.
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/slideshow-division-by-zero-in-adapternextgen_basic_slideshow_controllerphp/#post-4897253)
 * [@osify](https://wordpress.org/support/users/osify/) – Some of the settings you
   are using for your specific installation may cause various issues for NextGEN
   Gallery. If at all possible, try a default installation of W3 Total Cache and
   then as you adjust it to suit your site check NextGEN Gallery after each setting
   change … this is usually the easiest way to find the conflict as caching plugins
   tend to be unique with the advanced settings used on individual sites.
 * – Cais.
 *  [drumkeyjw](https://wordpress.org/support/users/drumkeyjw/)
 * (@drumkeyjw)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/slideshow-division-by-zero-in-adapternextgen_basic_slideshow_controllerphp/#post-4897390)
 * I removed WordPress SEO plugin by Yoast and that seemed to fix the issue. Is 
   their an update for the plugin to make this work with WordPress SEO coming out
   soon?
 * Thank you!!!
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/slideshow-division-by-zero-in-adapternextgen_basic_slideshow_controllerphp/#post-4897391)
 * [@drumkeyjw](https://wordpress.org/support/users/drumkeyjw/) – thanks for letting
   us know. You could try re-activating the plugin with default settings and go 
   from there, it could be a bad advanced setting.
 * Thanks,
 * -Drew

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

The topic ‘Slideshow : Division by zero in adapter.nextgen_basic_slideshow_controller.
php’ 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/slideshow-division-by-zero-in-adapternextgen_basic_slideshow_controllerphp/#post-4897391)
 * Status: resolved