axelerant / testimonials-widget

Easily add social proofing to your website with Testimonials Widget. List or slide reviews via functions, shortcodes, or widgets.
http://wordpress.org/plugins/testimonials-widget/
GNU General Public License v2.0
10 stars 7 forks source link

Conflict with Gravity View Plug-in #206

Open codezen8 opened 6 years ago

codezen8 commented 6 years ago

Version 3.4.5 of Testimonials and 2.0.x of Gravity View together produce an error on pages where Gravity View is displayed.

Fatal error: Uncaught TypeError: Argument 1 passed to Gamajo_Template_Loader::set_template_data() must be of the type array, object given, called in wp-content\plugins\gravityview\future\includes\class-gv-template.php on line 100 and defined in wp-content\plugins\testimonials-widget\includes\libraries\Gamajo-Template-Loader\class-gamajo-template-loader.php:117

I reported this to GravityView and they indicated that updating to version 1.3 of the file class-gamajo-template-loader.php in the Testimonials widget would fix the problem. They also will account for this error in future versions of their plugin, but I have verified that 1.3 version of the file in place of the 1.2 current one added to the Testimonials Widget plugin library files does resolve the issue and testimonials and gravity view work as expected.

Link to file replaced: https://raw.githubusercontent.com/GaryJones/Gamajo-Template-Loader/develop/class-gamajo-template-loader.php

saurabhsirdixit commented 6 years ago

@codezen8 Thank you for reporting the issue. I am working on the fix and will update you here. Thanks again.