-
AuthorPosts
-
April 5, 2020 at 3:07 pm #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
April 6, 2020 at 5:29 am #1201129Hey 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,
RikardApril 6, 2020 at 7:54 am #1201149Hello Rikard,
Thanks for your reaction. Login details are in the private content section.
Cheers,
Nico
April 6, 2020 at 10:38 am #1201178Hi 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
April 6, 2020 at 11:00 am #1201183New Api created und now it works!
Sorry and thanks, Philipp
April 7, 2020 at 4:45 am #1201459Hi 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,
RikardApril 7, 2020 at 4:46 am #1201460Hi Philipp,
Great, I’m glad that you got it working and thanks for the update.
Best regards,
RikardApril 7, 2020 at 8:55 am #1201512Hello Rikard,
Sorry for that, the site has been moved to production by my colleague. New details in private content.
Thanks!
Cheers,
NicoApril 8, 2020 at 5:38 am #1201766Hi 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,
RikardApril 30, 2020 at 10:58 am #1208475Hello,
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
SvenMay 1, 2020 at 12:22 pm #1208819Hi 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,
RikardJuly 28, 2020 at 6:41 pm #1233782Hi 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 UpdatesBest regards,
Jan
July 30, 2020 at 9:34 pm #1234234Definitely issues with auto-update.
Are we safe using FTP?August 1, 2020 at 5:20 am #1234447Hi 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,
RikardAugust 1, 2020 at 5:22 am #1234448Hi 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,
RikardAugust 3, 2020 at 1:08 pm #1234824Hi 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 4 years, 4 months ago by Jan_FtFA.
August 5, 2020 at 4:30 am #1235279Hi 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,
RikardAugust 6, 2020 at 12:58 pm #1235689Hi 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 4 years, 4 months ago by Jan_FtFA.
August 18, 2020 at 8:55 pm #1238901Hi 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,
JanAugust 19, 2020 at 9:12 am #1239059Hi 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,
VictoriaAugust 19, 2020 at 9:30 am #1239076Hi Victoria,
I Installed the plugin but it does not change anything. So yes, please, I need your further assistance in this
Best regards
JanAugust 19, 2020 at 2:10 pm #1239179I’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 4 years, 4 months ago by Justin.
August 22, 2020 at 2:24 pm #1239971Hi Rikard and Victoria
I was wondering, is there any progress in this matter on your side?
Best regards,
JanAugust 24, 2020 at 4:36 pm #1240403Hi,
@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,
IsmaelAugust 24, 2020 at 5:44 pm #1240443Hi 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,
JanAugust 25, 2020 at 9:01 am #1240610Hi 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,
RikardAugust 30, 2020 at 5:21 pm #1241984Looks like this is a hot topic! :-)
All options above do not work
* new Envato API token
* installing Envato plugin
* remove transientsDid 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 4 years, 3 months ago by vdlpwp.
September 2, 2020 at 2:12 pm #1242808Hi,
Thank you for the info. We’ll notify our developers and forward it to our channel.
Best regards,
IsmaelSeptember 3, 2020 at 12:26 pm #1243069Hi Nico,
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:57I 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ünterSeptember 3, 2020 at 2:20 pm #1243100Hello Günter
Thanks for the follow up and nice to hear it will be fixed in futher update!
Cheers,
Nico -
AuthorPosts
- You must be logged in to reply to this topic.