-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memcache - Elementor Pro #4179
Comments
Hi — Paul here at Dreamhost technical support. As Dentalicious mentioned, we are running Memcache object cache + Varnish here on DreamPress. A possible resolution for all users might be found by calling the These docs may be relevant: If there's anything we can do to assist further in debug, please let us know: Hope that helps! Have a great day. Paul |
We have added a new action hook add_action( 'elementor/css-file/clear_cache', function(){
wp_cache_flush();
}); |
@pdclark from Dreamhost had provided the code for ssh and it worked pretty well, This is what is the end result, from the terminal. The essence of the query/request was to inquire, if I can avoid the ssh terminal process cycle, post the elementor pro plugin update, as that be great, else if that cannot be avoided, then I have the solution as mentioned above. P.S @bainternet : Post updating the plugin to the latest release 2.0.8, the code provided, didn't work (by placing it in the child theme function file - it didn't do anything to clear the cache), however, the code provided by the DreamHost support team worked fine i.e. by using the terminal. Thanks for your time and attention. |
The CLI flash command basically calls as for why it didn't work from a Child theme, I have no idea. |
The solution presented here is incomplete and should be incorporated into WordPress core itself uses Using WordPress core functions like One issue is within
Deleting from At this point the data in the site's DB is different from what is in the site's external object cache. Continuing on from there, all of the generated files from Elementor are then deleted. Requests arrive to the site, the meta values are pulled from that external object cache, which the logic within Elementor uses to enqueue styles for a CSS file that no longer exists. I believe this is at the core of what @pdclark and @Dentalicious were asking about/requesting. While Elementor plugin doesn't itself make direct use of |
Thanks for reporting, next time please open a new issue so we won't miss it. We replaced the "direct" database calls ( should be out in next patch version. |
If you are like me and came here wondering why
|
Hi,
Post upgrading my hosting plan from shared hosting to 'dreampress', with the host 'DreamHost', I have been having issues for a few months now, wherein, post 'elementor pro' plugin updates (not elementor, but elementor pro), the site would look wonky as the cache was not getting cleared, to resolve this, I had to repeatedly raise tickets and seek help from the support team at Dreamhost to manually clear the cache.
This is how the site looks post updating the plugin
https://imgur.com/dvLyHSw
This is what they say about elementor pro.
1)
...The issues here are being caused by the elementor
plugin. It creates special CSS files and these files were missing from
the uploads elementor directory. You can regenerate these files at
https://www.dentalicious.com.au/wp-admin/admin.php?page=elementor-tools.
Make sure after doing this that you also purge the varnish cache by
clicking the "empty cache" link in the admin tool bar. Everything should
be loading normally now. The main problem is that this plugin does it's
own thing with separate CSS files....
However, issues were not resolved even by doing this, on digging deeper, they wrote this,
2)....
It was actually Memcached caching that was causing it to act wonky, not
Varnish. Unfortunately, there isn't a plugin that can be used to clear
Memcached. It needs to be done manually using the command line. If you
are familiar with the command line you can connect via SSH and run
wp cache flush
and that should take care of it.......Just flagging issues faced by me and the issue here is that 'elementor pro' plugin updates are causing memcache caching issues and if anything that can be done from your side that would assist and make life simpler without having to go through the whole command line process cycle, then kindly have a look at it.
Thanks.
The text was updated successfully, but these errors were encountered: