php Fatal Error enabling paired mode
-
Running WP 5.1 (your plugin states compatible up to 5.0.3)
When trying to enable the paired mode or native mode I get the following error:
Paired mode activated! However, there was an error when checking the AMP validity for your site. Internal Server ErrorSo I switched back to classic.
When looking at the error.log file:
[27-Feb-2019 06:04:05 UTC] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /home/…/wp-includes/query.php:28
Stack trace:
#0 /home/…/wp-content/plugins/amp/includes/amp-helper-functions.php(264): get_query_var(‘amp’, false)
#1 /home/…/wp-content/plugins/w3-total-cache/Extension_Amp_Plugin.php(31): is_amp_endpoint()
#2 /home/…/wp-content/plugins/w3-total-cache/Extension_Amp_Plugin.php(81): W3TC\Extension_Amp_Plugin->is_amp_endpoint()
#3 /home/…/wp-includes/class-wp-hook.php(286): W3TC\Extension_Amp_Plugin->w3tc_footer_comment(Array)
#4 /home/…/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
#5 /home/…/wp-content/plugins/w3-total-cache/Generic_Plugin.php(512): apply_filters(‘w3tc_footer_com…’, Array)
#6 [internal function]: W3TC\Generic_Plugin->ob_callback(‘<!DOCTYPE html>…’, 9)
#7 /home/…/wp-includes/functions.php(4212): ob_end_flush()
#8 /home/…/wp-includes/class-wp-hook.php(286): wp_ob_end_flush_all(”)
#9 /home/…/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#10 /home/…/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#11 /home/…/wp-includes/load.php(788): do_action(‘shutdown’)
#12 [internal function]: shutdown_action_hook()
#13 {main}
- The topic ‘php Fatal Error enabling paired mode’ is closed to new replies.