Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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 animations

    So 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!

    #1235451

    Here’s a login to help you troubleshoot in the Private Content section.

    #1235905

    Hi,

    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,
    Rikard

    #1236115

    I just changed it to Twenty Twenty and don’t see the error:

    https://dev.curlyhost.com/

    Do you think there’s something in the header I could add to make them both use the same jQuery library?

    #1236473

    Hey guys – thoughts on how to fix this error?

    #1236979

    Hi,

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.