Archived topic
Impossible to upgrade to beta on a live site
3 replies · Started by George on March 13, 2018
Hi, I have my site in maintenace mode on a Siteground server with PHP 7.2 and I was trying to install the beta 3 as usual but even though I have added the code in my snippets:
add_action( 'after_setup_theme','tu_beta_tester' );
function tu_beta_tester() {
add_filter( 'generate_premium_beta_tester','__return_true' );
}
I don't seem to get any notification in the plugin area to update. I have tried deactivate/activate the GP Premium plugin and snippet PHP code but nothing. I have also tried different PHP versions, no change. My GPremium is activated. Nothing in the debug logs as well.
Is there currently anything wrong with the GeneratePress servers?
Nothing wrong on our end.
How long have you been waiting? Sometimes going to "Dashboard > Updates" can release the cache.
If not, your site being in maintenance mode might be preventing the communication between servers.
Very strange. I copied the code to my child theme's functions.php, deactivated the snippet and it worked. Then, I deleted the code from functions.php, reactivated the snippet and the update seems to be available now.
It seems to be working so I will close the ticket now.
Thanks Tom.
No problem :)