Title: Revslider issues
Last modified: August 1, 2020

---

# Revslider issues

 *  Resolved [Rick](https://wordpress.org/support/users/murlyn/)
 * (@murlyn)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/revslider-issues/)
 * So it looks like there’s an issue with redeclaration in the prestashop revslider
   module. I think they might have just used the same function names when integrating
   revslider with prestashop and then those that are missing in prestashop and default
   in wordpress, they just added.. is there any workaround for this?
 * [31-Jul-2020 15:28:56 US/Hawaii] PHP Fatal error: Cannot redeclare wp_localize_script()(
   previously declared in /home/old.site.com/public_html/blog/wp-includes/functions.
   wp-scripts.php:193) in /home/public_html/modules/revsliderprestashop/revslider-
   loader.php on line 1467

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

 *  Thread Starter [Rick](https://wordpress.org/support/users/murlyn/)
 * (@murlyn)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/revslider-issues/#post-13197250)
 * Trying to modify the revslider plugin will take a whole lot of renaming dozens
   of function names, so is there a way to tell the WP plugin that when loading 
   all the Prestashop assets that it skips loading the revslider module?
 *  Plugin Author [aytechnet](https://wordpress.org/support/users/aytechnet/)
 * (@aytechnet)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/revslider-issues/#post-13204357)
 * Hi,
 * A simpler solution would be something like :
 * `if ( !class_exists( 'PrestashopIntegration' ) ) {`
 * around revsliderprestashop.php at the very beginning (and do not forget to add
   closing } at the end of file. That way, the module won’t exists at all ? It is
   not tested, make sure to make a backup copy before modifying any files so that
   you can restore in case of any error !
 * Kind regards,
    François.
 *  Thread Starter [Rick](https://wordpress.org/support/users/murlyn/)
 * (@murlyn)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/revslider-issues/#post-13206059)
 * Ok thank you, that worked! Although I can’t see any changes on the blog at least
   it’s not getting all the errors 🙂
 *  Plugin Author [aytechnet](https://wordpress.org/support/users/aytechnet/)
 * (@aytechnet)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/revslider-issues/#post-13206855)
 * Ok thank for your return, so I close the ticket.

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

The topic ‘Revslider issues’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/prestashop-integration.svg)
 * [PrestaShop Integration](https://wordpress.org/plugins/prestashop-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/prestashop-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/prestashop-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/prestashop-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/prestashop-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/prestashop-integration/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [aytechnet](https://wordpress.org/support/users/aytechnet/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/revslider-issues/#post-13206855)
 * Status: resolved