[Resolved] GP Premium + Elementor -> Something Went Wrong

Home Forums Support [Resolved] GP Premium + Elementor -> Something Went Wrong

Home Forums Support GP Premium + Elementor -> Something Went Wrong

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1510567
    Tomas

    Hi there,

    I receive the following error trying to add new/edit using Elementor:
    “The preview could not be loaded
    We’re sorry, but something went wrong…”

    So far I tried:
    1. Disable all plugins apart from Elementor and GP Premium
    2. Disable all plugins apart from Elementor
    3. Reinstall both plugins.
    4. Clear cache
    5. Different browsers
    6. Different pc
    7. Switch to different theme (solves the issue)
    8. Use Elementor debug mode (solves the issue)

    The only thing that helped so far is switching to another theme such as Twenty Twenty or using Elementor debug mode.

    #1510695
    Tomas

    Was able to locate the issue. I hope this solution will help someone in the future:

    Make sure to remove any script you have on the GeneratePress -> functions.php as well as GeneratePress child -> functions.php

    This code in my case was causing the issue:
    function my_jquery_enqueue() {
    wp_deregister_script( ‘jquery’ );
    }

    add_action( ‘wp_enqueue_scripts’, ‘my_jquery_enqueue’ );

    #1510736
    David
    Staff
    Customer Support

    Hi there,

    yes Elementor requires jQuery – so de-registering it will break it.
    Glad to hear you found the issue!

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