WPIntell

Source evidence

Revslider issues

PrestaShop Integration · support · 2020-08-01T01:38:00+00:00

mixedsentiment
highseverity
0.94relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 26 rows with source links

15.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Rick resolved
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 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? 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. Ok thank you, that worked! Although I can’t see any changes on the blog at least it’s not getting all the errors 🙂 Ok thank for your return, so I close the ticket.

Comments

4 shown
Rick 2020-08-01T02:25:00+00:00

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?

aytechnet 2020-08-03T15:38:00+00:00

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.

Rick 2020-08-04T01:35:00+00:00

Ok thank you, that worked! Although I can’t see any changes on the blog at least it’s not getting all the errors 🙂

aytechnet 2020-08-04T08:08:00+00:00

Ok thank for your return, so I close the ticket.