• Resolved Michael

    (@migaweb)


    Hi,

    I saw that there is a flush_elementor_cache() method in the restore function and it is working fine in most cases. Today I’ve noticed that I have some widgets with the local URLs when I migrate a backup to my online server. If I click the “new” Elementor Clear files & Data button it’s fixed. Is there anything missing in /includes/new_backup/class-wpvivid-restore2.php (line 1672) that should be cleared? In Elementor it would be core/files/manager.php (line 107). There are more delete_post_meta_by_key methods in the Elementor file. A few versions ago they’ve renamed the old Regenerated style and scripts because it does more things now with the local font cache and widget cache. So my guess is that WPVivid needs to update flush_elementor_cache() to clear everything again.

    My workflow:
    a widget with an URL field where I have http://localhost/~user/folder in my local instance, I do a backup, upload the ZIP to my server, restore it and the URL is still the same. When I click the Elementor Clear files & Cache button it will be the correct server URL.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support nicholas2019

    (@nicholas2019)

    Hello,

    Thank you for your report.

    We are going to investigate the issue and will promptly provide you with an update.

    Kind regards.

    Plugin Support nicholas2019

    (@nicholas2019)

    Hello,

    We’ve created a patched version for your case. Could you please contact us (support(a)wpvivid.com) via email so we can send it to you? Thanks for your cooperation.

    To ensure efficient tracking of your thread, we kindly ask you to include the link to the thread in your email.

    Kind regards.

    Thread Starter Michael

    (@migaweb)

    @nicholas2019 thank you for the quick update and fix. The test version works fine and I’ll close this thread.

    Plugin Support tonyrobins

    (@tonyrobins)

    Hello,

    You are welcome. Let us know if you need any further information.

    All the best,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Elementor clear cache after restore’ is closed to new replies.