This topic has 16 replies, 4 voices, and was last updated 1 months ago ago by Rose Tyler
Hi.
So I applied 3 patch updates a hour ago, but now the patcher shows that the updates are available again. I also hit multiple times the ‘refresh patches’ button. It seems as that the patches where reset somehow.
Hello @stefan,
We recommend that you ensure you are using the most up-to-date version of the Theme and Core plugin. If not, please try updating the theme and core plugin and then recheck the patches.
We hope this will resolve your issue. If not, please provide your site’s WP Admin URL and credentials in the private content area of this topic so that we can further investigate and assist you.
Best Regards,
8Theme’s Team
Hi,
Everything is up to date, because it was a new install.
In the private content area you can find a url to login.
Best regards,
Stefan
Hello @stefan,
We have made a deep check of the XStore Patcher functionality on our local websites. After different types of testing, we finally found that Patches that were successfully applied becomes available for activations again after any of plugins/theme was updated.
In case you are interested in more details from the code side we found that WordPress triggers ‘pre_set_site_transient_update_themes’ filter (that should start only on any theme update) even when there is an update action for any plugin. This filter was used in the XStore Patcher code for removing the applied patches list after the theme update – to minimize patcher data in the customer’s database after the theme was successfully updated as all patches were included in the theme update automatically. So in such cases (as we described before) WordPress triggers ‘pre_set_site_transient_update_themes’ filter on update of any plugin and it “meant” for Patcher code that the theme was updated and we could remove the patches cache and remove all applied patches list.
After we found the main issue we created a possible fix to prevent such an issue for our customers. We would like to ask you to test it and give us feedback about the results.
Please download patcher.php file by a link in the Private Content area and re-upload it into xstore/framework folder via FTP.
P.S. According to the fact you had “removed applied patches” issue each X hours we think that you have autocheck plugins version or autoupdate them so such filter was automatically triggered and that caused the Patcher cache removing.
We are sorry that it took some time for both of us to understand each one’s thoughts but we are thankful that you bring such an issue to our attention and we can make a fix for all our customers in the next theme update.
Best Regards,
8Theme’s Team
Hi,
Sorry for my late response. I thought I had read that you guys would fix this with a new update, but hadn’t seen that I needed to do some testing first. Since I was dealing with it again today, I wanted to respond, but so saw that I should have uploaded something. Unfortunately I the link is no longer valid, can you send it again? Thanks in advance.
Hello @stefan,
Thank you for your response.
The fix should work fine in the latest theme version – 9.1.11. Please update the theme > go to XStore Patcher > click on Refresh patches > apply “FIXED: Minor CSS issues” patch.
Best Regards,
8Theme’s Team
Hi,
So i applied the patches yesterday, but today I’m able to apply them again. The patches don’t seems to stick.
Hello @stefan,
Thank you for your response.
Please provide URL, temporary wp-admin, and FTP access.
Did you update any plugins during this period? Do you have CDN or server cache?
Best Regards,
8Theme’s Team
I don’t use CDN (not that i know), but I use server cache (flyingpress plugin).
If it is not to much to ask, can you check why my footer is also not displaying in full width? All the settings seems to be right. Thank you in advance.
Hello @stefan,
Thank you for your response.
Please provide FTP access also.
Submit new topics for new questions, please – https://www.8theme.com/forums/xstore-wordpress-support-forum/
Best Regards,
8Theme’s Team
See below
Hello @stefan,
Thank you for your response.
We’ve made changes in patcher.php https://prnt.sc/Qd2nURKP-2P5 and added the next code in child-theme/functions.php ->
add_filter('xstore_patches_done_reset_on_update_themes', '__return_false');
Please let us know after a while if it solves the problem.
Best Regards,
8Theme’s Team
Can you verify if it is correct as we did?
Hello, Nicola,
Thank you for contacting us and for using XStore.
Please open up a new topic for your question – https://www.8theme.com/forums/xstore-wordpress-support-forum/ Provide the URL of your site and temporary access via the Private Content area.
Best Regards,
8Theme’s Team
Can you verify if it is correct as we did?
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1001 );
function theme_enqueue_styles() {
if (function_exists('theme_enqueue_styles')){
etheme_child_styles();
}
}
add_filter('xstore_patches_done_reset_on_update_themes', '__return_false');
Hello, Nicola,
Yes, it is correct.
Best Regards,
8Theme’s Team
Tagged: patcher, persuasive, templates, updates, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up