Fatal error: Uncaught Error: Call to undefined function is_amp_endpoint() in /srv/users/serverpilot/apps/gearallnews/public/wp-content/plugins/jnews-amp/class.jnews-amp.php:326 Stack trace: #0 /srv/users/serverpilot/apps/gearallnews/public/wp-includes/class-wp-hook.php(286): JNews_AMP->mobile_truncate(false) #1 /srv/users/serverpilot/apps/gearallnews/public/wp-includes/plugin.php(203): WP_Hook->apply_filters(false, Array) #2 /srv/users/serverpilot/apps/gearallnews/public/wp-includes/theme.php(877): apply_filters('theme_mod_jnews...', false) #3 /srv/users/serverpilot/apps/gearallnews/public/wp-content/themes/jnews/lib/theme-filter.php(674): get_theme_mod('jnews_mobile_tr...', false) #4 /srv/users/serverpilot/apps/gearallnews/public/wp-content/themes/jnews/lib/theme-filter.php(690): jnews_enable_mobile_truncate() #5 /srv/users/serverpilot/apps/gearallnews/public/wp-includes/class-wp-hook.php(286): JNews\Init->{closure}('<p>Google is mo...') #6 /srv/users/serverpilot/apps/gearallnews/public/wp-includes/plugin.php(203): WP_Ho in /srv/users/serverpilot/apps/gearallnews/public/wp-content/plugins/jnews-amp/class.jnews-amp.php on line 326