Title: PHP Function Conflict in Cherry Framework
Last modified: August 30, 2016

---

# PHP Function Conflict in Cherry Framework

 *  Resolved [ty5280](https://wordpress.org/support/users/ty5280/)
 * (@ty5280)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/php-function-conflict-in-cherry-framework/)
 * Using a custom Cherry Framework theme: [http://www.cherryframework.com/](http://www.cherryframework.com/)
 * Error I get when I attempted to activate:
 *     ```
       Fatal error: Cannot redeclare pagination() (previously declared in
       /home/mysite/public_html/wp-content/themes/CherryFramework/includes/theme-
       function.php:596) in /home/mysite/public_html/wp-content/plugins/akw-store-
       locator/storeFunctions.php on line 185
       ```
   
 * [https://wordpress.org/plugins/akw-store-locator/](https://wordpress.org/plugins/akw-store-locator/)

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

 *  Plugin Author [AroundKW](https://wordpress.org/support/users/aroundkw/)
 * (@aroundkw)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/php-function-conflict-in-cherry-framework/#post-6200505)
 * We know the plugin works we are using it on 8 sites of our own with all different
   themes from css igniter, elegant themes, a few free themes and 2 from themeforest.
 * when I did a search “conflicts with cherry framework wordpress” there is an extensive
   list of conflicts with this theme and other plugins.
 * Did you try another theme with the plugin?
 *  Plugin Author [AroundKW](https://wordpress.org/support/users/aroundkw/)
 * (@aroundkw)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/php-function-conflict-in-cherry-framework/#post-6200506)
 * This issue is because of the function pagination() is being used in both the 
   AKW Store Locator and Cherry Framework.
 * To overcome this issue you can change the pagination() function name to akwPagination()
   in two places. Open the files showStores.php and storeFunctions.php. These two
   files are located under the Plugins/akw-store-locator folder.
 * In showStores.php file, in line 185:
    Replace echo pagination with echo akwPagination
 * In storeFunctions.php file, in line 96:
    Replace function pagination with function
   akwPagination
 * This should fix the problem.

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

The topic ‘PHP Function Conflict in Cherry Framework’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/akw-store-locator.svg)
 * [AKW Store Locator](https://wordpress.org/plugins/akw-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/akw-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/akw-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/akw-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/akw-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/akw-store-locator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [AroundKW](https://wordpress.org/support/users/aroundkw/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/php-function-conflict-in-cherry-framework/#post-6200506)
 * Status: resolved