-
AuthorPosts
-
August 5, 2020 at 3:54 pm #1235447
I started building a homepage for a site that needs to use the WP Crowdfunding Plugin – https://www.themeum.com/product/wp-crowdfunding-plugin/ – and so far it’s messing with:
– Setting sections to % heights
– Parallax backgrounds
– Masonry Gallery
– Section load animationsSo here is the home page with all the issues: https://dev.curlyhost.com/home/
And here is the home page for the client to see where I took all of those elements away: https://dev.curlyhost.com/home-2/Is there some jQuery library or something that is conflicting here? What can I do to continue to be able to use this plugin and have Enfold as the theme? These were the issues I found with just the homepage and I’m not sure if there might be other things that might be affected.
Thanks!
August 5, 2020 at 4:07 pm #1235451Here’s a login to help you troubleshoot in the Private Content section.
August 7, 2020 at 4:43 am #1235905Hi,
Thanks for the login details. I’m seeing this jQuery error message in the browser console:
Uncaught TypeError: Cannot read property 'editor' of undefined at wpcf_upload_image (crowdfunding-front.js?ver=2.0.5:122) at HTMLDocument.<anonymous> (crowdfunding-front.js?ver=2.0.5:140) at i (jquery.js?ver=1.12.4-wp:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2) at Function.ready (jquery.js?ver=1.12.4-wp:2) at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
Coming from the file in private. Does the same thing happen if you activate one of the default WordPress themes?
Best regards,
RikardAugust 7, 2020 at 7:38 pm #1236115I just changed it to Twenty Twenty and don’t see the error:
Do you think there’s something in the header I could add to make them both use the same jQuery library?
August 10, 2020 at 5:51 pm #1236473Hey guys – thoughts on how to fix this error?
August 12, 2020 at 2:07 pm #1236979Hi,
Sorry for the delay. The theme by default conditionally loads the wp_mediaelement element script, so this generates the error because the plugin requires the script for its image upload function. To fix the issue, we added this filter in the functions.php file.
add_filter( 'avf_enqueue_wp_mediaelement', 'avia_always_load_mediaelement', 10, 2); function avia_always_load_mediaelement($condition, $options) { return true; }
This will just allow wp_mediaelement script to load normally regardless.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.