Fatal error: Uncaught Error: Call to undefined function AmpProject\AmpWP\BackgroundTask\wp_doing_cron() in /home/admode/www/wp-content/plugins/amp/src/BackgroundTask/CronBasedBackgroundTask.php:44 Stack trace: #0 /home/admode/www/wp-content/plugins/amp/src/Infrastructure/ServiceBasedPlugin.php(287): AmpProject\AmpWP\BackgroundTask\CronBasedBackgroundTask::is_needed() #1 /home/admode/www/wp-content/plugins/amp/src/Infrastructure/ServiceBasedPlugin.php(213): AmpProject\AmpWP\Infrastructure\ServiceBasedPlugin->register_service('css_transient_c...', 'AmpProject\\AmpW...') #2 /home/admode/www/wp-content/plugins/amp/src/Infrastructure/ServiceBasedPlugin.php(144): AmpProject\AmpWP\Infrastructure\ServiceBasedPlugin->register_services() #3 /home/admode/www/wp-content/plugins/amp/includes/amp-helper-functions.php(73): AmpProject\AmpWP\Infrastructure\ServiceBasedPlugin->register() #4 /home/admode/www/wp-includes/plugin.php(525): amp_bootstrap_plugin('') #5 /home/admode/www/wp-settings.php(276): do_action('plugins_loaded') #6 /home/a in /home/admode/www/wp-content/plugins/amp/src/BackgroundTask/CronBasedBackgroundTask.php on line 44