Warning: Use of undefined constant AMP_QUERY_VAR - assumed 'AMP_QUERY_VAR' (this will throw an Error in a future version of PHP) in /srv/users/poohsiro/apps/poohsiro/public/wp-content/plugins/td-amp/includes/amp-helper-functions.php on line 124

Fatal error: Uncaught Error: Call to a member function get() on null in /srv/users/poohsiro/apps/poohsiro/public/wp-includes/query.php:28 Stack trace: #0 /srv/users/poohsiro/apps/poohsiro/public/wp-content/plugins/td-amp/includes/amp-helper-functions.php(124): get_query_var('AMP_QUERY_VAR', false) #1 /srv/users/poohsiro/apps/poohsiro/public/wp-content/plugins/wp-smushit/core/modules/class-lazy.php(66): is_amp_endpoint() #2 /srv/users/poohsiro/apps/poohsiro/public/wp-content/plugins/wp-smushit/core/modules/class-abstract-module.php(40): Smush\Core\Modules\Lazy->init() #3 /srv/users/poohsiro/apps/poohsiro/public/wp-content/plugins/wp-smushit/core/modules/class-lazy.php(44): Smush\Core\Modules\Abstract_Module->__construct() #4 /srv/users/poohsiro/apps/poohsiro/public/wp-content/plugins/wp-smushit/core/class-modules.php(85): Smush\Core\Modules\Lazy->__construct(Object(Smush\Core\Modules\Helpers\Parser)) #5 /srv/users/poohsiro/apps/poohsiro/public/wp-content/plugins/wp-smushit/core/class-core.php(261): Smush\Core\Modules->__co in /srv/users/poohsiro/apps/poohsiro/public/wp-includes/query.php on line 28