Viewing 30 posts - 1 through 30 (of 32 total)
  • Author
    Posts
  • #1200970

    Hello Support!

    We are having problems with automatic updates for the Enfold theme. It always says no updates are available.

    – Version in some installation are 4.5.4, 4.6.3.1, 4.5.7 or 4.7.1
    – Version PHP >= 7.1 (most of theme 7.2 or 7.3
    – Shared Envato API token for all our installations, theme check says OK (making a separate one does not solve the issue)

    What could be a reason this is not working? Server configuration?

    Can you help us out?

    Cheers,

    Nico

    #1201129

    Hey Nico,

    Sorry for the problem. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1201149

    Hello Rikard,

    Thanks for your reaction. Login details are in the private content section.

    Cheers,

    Nico

    #1201178

    Hi Rikard,

    I have the same problem and its my first update, don´t know where the problem is.

    Could you helk me please?

    Best regards, Philipp

    #1201183

    New Api created und now it works!

    Sorry and thanks, Philipp

    #1201459

    Hi Nico,

    Thanks for that, though I’m getting a 404 error on the login page:

    Not Found
    The requested URL was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Did you move the site maybe?

    Best regards,
    Rikard

    #1201460

    Hi Philipp,

    Great, I’m glad that you got it working and thanks for the update.

    Best regards,
    Rikard

    #1201512

    Hello Rikard,

    Sorry for that, the site has been moved to production by my colleague. New details in private content.

    Thanks!

    Cheers,
    Nico

    #1201766

    Hi Nico,

    Thanks for that. I can’t see the update on my end either, what happens if you disable your caching and security plugins?

    Best regards,
    Rikard

    #1208475

    Hello,
    I guess I have the same problem.
    My visul layer is not working and now I have seen, that the automatic update for enfold is not working. It says that I’m running the latest version, but it’s still stucked at version 4.2.2.
    Is the Api not right?
    Why it is so?
    Thanks
    Sven

    #1208819

    Hi Sven,

    Sorry for the problem. The update to 4.7.x has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541

    You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or use a plugin to upload the theme zip file: https://wordpress.org/plugins/update-theme-and-plugins-from-zip-file/

    If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.

    After you have updated then try to activate the Classic Editor in the main page of the theme options.

    Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/

    Best regards,
    Rikard

    #1233782

    Hi Kriesi team,

    1. Theme update not working
    I am having the same problem. I don’t get the Theme Update under the theme options. It says that there are no updates available. Also checking manually for an update does not solve the problem. When I select that I get a WP dashboard page saying that I have the latest theme version.

    Currently I run 4.7.4 while currently the latest version is 4.7.6.1.

    Please advise on how to get the update function working again.

    Please find attached the credentials

    2. Theme update notifications

    I get notifications from Envato when new theme files are available. However, it looks as if Envato is missing some updates. I have a messages from Envato at 22/07 and 27/03. If I check this against the Enfold change log I notice that I did not get a message for the Version 4.7.5 (May 26th) update.
    My question is: how do I get proper update message about Enfold Theme Updates

    Best regards,

    Jan

    #1234234

    Definitely issues with auto-update.
    Are we safe using FTP?

    #1234447

    Hi Jan,

    Thanks for the login details and sorry for the late reply. I see the same problem on my end unfortunately, but I can’t see any obvious reason as to why the updates don’t show up on the backend. First off, could you double check that the Themeforest account that you are using actually has a purchase of Enfold? Also please try reaching out to your hosting provider to check if they might have something in place which would block the traffic or cron-jobs which would check/receive the updates from the Themeforest/Envato servers.

    Best regards,
    Rikard

    #1234448

    Hi Justin,

    Updating via FTP is always an option, though the automatic update should work of course. If you need help investigating why it’s not working then please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site.

    Best regards,
    Rikard

    #1234824

    Hi Rikard,

    I have bought two Enfold licenses. I have checked my Envato/ThemeForrest account and there are two downloads listed. I hope this is okay or should I do more to link these Enfold products to my Envato token?

    I will also check with my provider. I will let you know the results.

    Best regards,
    Jan

    • This reply was modified 10 months, 3 weeks ago by  Jan_FtFA.
    • This reply was modified 10 months, 3 weeks ago by  Jan_FtFA.
    #1235279

    Hi Jan,

    Thanks for the update. I don’t think you should have to do anything more if your purchases are listed in your account. Please let us know what the hosting provider has to say, as the traffic might be blocked from their end.

    Best regards,
    Rikard

    #1235689

    Hi Rikard,

    Thanks for your answer. Because of the holiday season it will take some time before I get an answer from the hosting provider. So, I don’t have a definitive answer yet, but it is not my impression that the provider is blocking anything.

    I get update notifications from other themes (twenty nineteen & twenty twenty) as well as from plugins. I also have Installatron running which does cron jobs for minor WP updates (I assume this works with cron jobs) and which is working fine too.

    So I think the problem is somehow with the Enfold theme (unless the other the update notification processes work in a different way than the Enfold process)

    Best regards,
    Jan

    • This reply was modified 10 months, 2 weeks ago by  Jan_FtFA.
    #1238901

    Hi Rikard,

    Today I received an answer from my provider. They checked the settings at their server and there is nothing that should block the communication. They pointed me to another thread on the Kriesi forum. I followed the suggestion to create a new token as mentioned there, but to no avail.

    And as I said in my last message: I receive notifications from plugins and also from other themes, which leads me to the conclusion that the cause of this problem is somewhere in the Enfold update process, also because I don’t am the only one who reports this problem.

    So I ask you if you can please trouble shoot this issue at your side.

    Best regards,
    Jan

    #1239059

    Hi Jan_FtFA,

    Please install the Envato Market plugin and see if you can see the theme update.
    https://envato.com/market-plugin/

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1239076

    Hi Victoria,
    I Installed the plugin but it does not change anything. So yes, please, I need your further assistance in this
    Best regards
    Jan

    #1239179

    I’m not sure if it relates to how some sites are configured? The auto-updates work for some websites. For others, it does not. I have to do a manual update. I may have to support Jan’s statement that this may be theme related. Thanks for all your hard work with it.

    • This reply was modified 10 months, 1 week ago by  Justin.
    #1239971

    Hi Rikard and Victoria
    I was wondering, is there any progress in this matter on your side?
    Best regards,
    Jan

    #1240403

    Hi,

    @jan_ftfa: We are not really sure why the auto update doesn’t work on some servers but it might be due to transients or old entries in the database. Have you tried clearing the database transients? Try to login again to the dashboard after deleting the transients.

    // https://www.wpbeginner.com/plugins/how-to-manage-and-delete-transients-in-wordpress/

    Best regards,
    Ismael

    #1240443

    Hi Ismael,

    I cleared the transients entries and that indeed solved the problem. Although I had another problem on one site that the update itself did not work, but again clearing the transients solved also this issue.

    Thanks for your support!

    Best regards,
    Jan

    #1240610

    Hi Jan,

    Great, I’m glad that you got it working and thanks for the update. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #1241984

    Looks like this is a hot topic! :-)

    All options above do not work

    * new Envato API token
    * installing Envato plugin
    * remove transients

    Did a little digging in the code;

    $purchases = avia_auto_updates::get_theme_keys(); >>
    This function is not working? It wants to read all installed themes and if there is a Envato_ID it stores the information in “avia_envato_keys”. Envato_ID is present in style.css and is added in handler_avia_extra_theme_headers() but $id = $theme->get( ‘Envato_ID’ ) in function is always empty. So nothing is stored in “avia_envato_keys”.

    handler_pre_set_site_transient_update_themes() uses $purchases = $api->get_product_infos( $purchases ); after code above in the none cache check for updates. But it never has because it is always empty. That way there wil never be updates.

    If you insert the next query in your database (and modify version to current) it will find updates again (after api cache refreshes).

    INSERT INTO wp_options (option_id, option_name, option_value, autoload)
    VALUES
    (NULL, ‘avia_envato_keys’, ‘a:1:{s:6:\”Enfold\”;a:1:{s:4:\”item\”;a:2:{s:24:\”wordpress_theme_metadata\”;a:3:{s:10:\”theme_name\”;s:6:\”Enfold\”;s:10:\”stylesheet\”;s:6:\”enfold\”;s:7:\”version\”;s:5:\”4.7.4\”;}s:2:\”id\”;s:7:\”4519990\”;}}}’, ‘yes’);

    Solves the issue hopefully also for the next update. But please fix the issue. Maybe comment above can put you guys in the right direction (maybe a check if there is no avia_envato_keys then insert it).

    We now have to do this for all our 65 Enfold websites.

    Cheers,
    Nico

    • This reply was modified 9 months, 3 weeks ago by  vdlpwp.
    • This reply was modified 9 months, 3 weeks ago by  vdlpwp.
    #1242808

    Hi,

    Thank you for the info. We’ll notify our developers and forward it to our channel.

    Best regards,
    Ismael

    #1243069

    Hi Nico,

    @vdlpwp

    Thanks for your research. This sounds like a problem we also had with merged css and js files and this was related to a known but unfixed WP bug:

    https://github.com/pantheon-systems/wp-redis/issues/221
    https://core.trac.wordpress.org/ticket/31245#comment:57

    I added a fix for the next release.

    If you have a staging site and want to test a temp. fix:

    In enfold\framework\php\auto-updates\auto-updates.php line 729:

    
    update_option( 'avia_envato_keys', $theme_keys );
    

    After that line add:

    
    wp_cache_delete( 'alloptions', 'options' );
    

    That should force to save the updated options to database.

    Best regards,
    Günter

    #1243100

    Hello Günter

    Thanks for the follow up and nice to hear it will be fixed in futher update!

    Cheers,
    Nico

Viewing 30 posts - 1 through 30 (of 32 total)

You must be logged in to reply to this topic.