• Resolved behzadg

    (@behzadg)


    Hi,

    When Elementor plugin is active and I try to reset site and WP_Debug is true, I faced following error

    Fatal error: Uncaught Exception: Invalid post. in /Applications/MAMP/htdocs/wp/wp-content/plugins/elementor/core/settings/page/manager.php:101 Stack trace: #0 /Applications/MAMP/htdocs/wp/wp-content/plugins/elementor/core/base/document.php(1462): Elementor\Core\Settings\Page\Manager->ajax_before_save_settings(Array, NULL) #1 /Applications/MAMP/htdocs/wp/wp-content/plugins/elementor/core/base/document.php(674): Elementor\Core\Base\Document->save_settings(Array) #2 /Applications/MAMP/htdocs/wp/wp-content/plugins/elementor/core/kits/manager.php(236): Elementor\Core\Base\Document->update_settings(Array) #3 /Applications/MAMP/htdocs/wp/wp-content/plugins/elementor/core/kits/manager.php(395): Elementor\Core\Kits\Manager->update_kit_settings_based_on_option('site_name', 'RTL corporate') #4 /Applications/MAMP/htdocs/wp/wp-includes/class-wp-hook.php(305): Elementor\Core\Kits\Manager->Elementor\Core\Kits\{closure}('\xD8\xB3\xD8\xA7\xDB\x8C\xD8\xAA \xD9\x85\xD9\x86', 'RTL corporate') #5 /Applications/MAMP/htdocs/wp/wp-includes/class in /Applications/MAMP/htdocs/wp/wp-content/plugins/elementor/core/settings/page/manager.php on line 101

    Its because Elementor have confirm box for deleting its default template kit.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Yes, that seems like the cause. We try to let the plugins run their uninstall code, which normally should be self-contained and not produce any output/errors. We will see what we can do about that and try to fix it in the next version!

    Thread Starter behzadg

    (@behzadg)

    Thanks for your attention. In Elementor files take a look at “force_delete_kit” $_GET, If you are using AJAX to delete posts, you can send “force_delete_kit” $_GET key via your request and Elementor will skip its confirmation.

    I hope this help you to fix it faster.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Compatibility with Elementor default kit’ is closed to new replies.