CalderaWP / Caldera-Forms

Drag and drop, responsive WordPress form builder.
https://CalderaForms.com
GNU General Public License v2.0
187 stars 163 forks source link

1.5.0.9 conflicting with PageBuilder #1575

Open SynoUser-NL opened 7 years ago

SynoUser-NL commented 7 years ago

Do You Need Immediate Help?

Is This A Feature Request?

No,

What Version Of Caldera Forms, WordPress and PHP Are You Using?

WordPress Version: 4.7.4PHP Version: 7.0.16MySQL Version: 5.5.54Caldera Forms Version: 1.5.0.9WP_DEBUG:

Does Your Issue Presist When You Disable All Other Plugins and Switch To The Default Theme?

The issue here is that Caldera appears to interfere with other plugins. Disabling Caldera Forms makes all problems disappear whereas before upgrading to the latest version there were no problems.

What Is The Unexpected Beahviour?

As of Caldera Forms 1.5.0.9., when editing a page the PageBuilder tab is missing. All page elements using page builder are displayed as text in de edit window. image

Furthermore, additional plugin foldouts at the bottom of the page are not working anymore (and are displayed incorrectly. Clicking the arrows to fold\unfold does not function anymore. image

What PHP Errors Have You Logged While Reproducing This Bug?

Enabling debugging as described in https://calderaforms.com/2016/05/wordpress-debug-logging/ does not display any errors.

What JavaScript Errors Have You Seen While Reproducing This Bug?

Uncaught TypeError: window.Parsley.on is not a function at HTMLDocument. (parsley.min.js:3) at i (load-scripts.php:2) at Object.fireWith [as resolveWith] (load-scripts.php:2) at Function.ready (load-scripts.php:2) at HTMLDocument.K (load-scripts.php:2) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) load-scripts.php:618 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php:618) at HTMLDocument.dispatch (load-scripts.php:3) at HTMLDocument.r.handle (load-scripts.php:3) at Object.trigger (load-scripts.php:3) at Object.a.event.trigger (load-scripts.php:9) at HTMLDocument. (load-scripts.php:3) at Function.each (load-scripts.php:2) at a.fn.init.each (load-scripts.php:2) at a.fn.init.trigger (load-scripts.php:3) at Object. (load-scripts.php:4) (anonymous) @ load-scripts.php:618 dispatch @ load-scripts.php:3 r.handle @ load-scripts.php:3 trigger @ load-scripts.php:3 a.event.trigger @ load-scripts.php:9 (anonymous) @ load-scripts.php:3 each @ load-scripts.php:2 each @ load-scripts.php:2 trigger @ load-scripts.php:3 (anonymous) @ load-scripts.php:4 i @ load-scripts.php:2 fireWith @ load-scripts.php:2 y @ load-scripts.php:4 c @ load-scripts.php:4

SynoUser-NL commented 7 years ago

After disabling Caldera Forms 1.5.0.9 this is the normal page edit view: image

And no javascript errors..

I have found that disabling SiteOrigin Widget Bundle (for PageBuilder, collection of widget and framework on which other widgets are built) also negates the problem. So there is some conflict. But as said, there were zero issues with Caldera Forms 1.5.0.8.

Thank you! DenW

brunetgarcia commented 7 years ago

Manually including Parsley seems to help for now. Using the caldera CDN option did not help.

In functions.php: wp_enqueue_script('parsley', 'https://cdnjs.cloudflare.com/ajax/libs/parsley.js/2.6.5/parsley.min.js', ['jquery'], null, true);

or before closing </body> tag: <script src="https://cdnjs.cloudflare.com/ajax/libs/parsley.js/2.6.5/parsley.min.js"></script>