Patcher shows updates available even after I applied them a hour ago

This topic has 12 replies, 3 voices, and was last updated 9 months ago ago by Rose Tyler

  • Avatar: stefan
    stefan
    Participant
    June 25, 2023 at 20:04

    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.

    11 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    June 26, 2023 at 07:05

    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

    Avatar: stefan
    stefan
    Participant
    June 26, 2023 at 17:58

    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

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 27, 2023 at 07:12

    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

    Please contact administrator
    for this information.
    Avatar: stefan
    stefan
    Participant
    July 30, 2023 at 11:37

    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.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 30, 2023 at 12:55

    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

    Avatar: stefan
    stefan
    Participant
    August 1, 2023 at 09:37

    Hi,

    So i applied the patches yesterday, but today I’m able to apply them again. The patches don’t seems to stick.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 1, 2023 at 09:46

    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

    Please contact administrator
    for this information.
    Avatar: stefan
    stefan
    Participant
    August 1, 2023 at 10:16

    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.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 1, 2023 at 10:33

    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

    Avatar: stefan
    stefan
    Participant
    August 1, 2023 at 10:39

    See below

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 1, 2023 at 12:25

    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

  • Viewing 12 results - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.