Archived topic
GP Premium + Elementor -> Something Went Wrong
2 replies · Started by Tomas on October 30, 2020
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.
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' );
Hi there,
yes Elementor requires jQuery - so de-registering it will break it.
Glad to hear you found the issue!