{"id":1421,"date":"2012-11-30T21:20:43","date_gmt":"2012-12-01T02:20:43","guid":{"rendered":"http:\/\/www.microdevsys.com\/wp\/?p=1421"},"modified":"2012-11-30T23:55:23","modified_gmt":"2012-12-01T04:55:23","slug":"empty-pages-after-installing-wp-super-cache-and-html-minifi","status":"publish","type":"post","link":"https:\/\/microdevsys.com\/wp\/empty-pages-after-installing-wp-super-cache-and-html-minifi\/","title":{"rendered":"Empty pages after installing WP Super Cache and HTML Minifi"},"content":{"rendered":"<p>\n\tAfter enabling the wordpress WP Super Cache and the HTML Minifi plugin for the WP Super Cache plugin (That&#39;s right, a plugin for a plugin) I get empty pages on \/localhost\/wp\/ (Or http:\/\/www.microdevsys.com\/wp\/) which obviously isn&#39;t so good for the readers.&nbsp; So i download the plugin to my local server LAMP installation and test it there.&nbsp; Thankfully I get the same results.&nbsp; (Thankfully because otherwise I&#39;d have a very difficult time debugging this thing through my web host who has limited access.)\n<\/p>\n<p>\n\t<strong>\/var\/log\/httpd\/error_log<\/strong><br \/>\n\t[Fri Nov 30 20:52:13 2012] [warn] Cannot get media type from &#39;x-mapp-php5&#39;<br \/>\n\t[Fri Nov 30 20:52:13 2012] [error] [client ::1] PHP Warning:&nbsp; require_once(\/var\/www\/html\/wp\/wp-content\/plugins\/wp-super-cache\/plugins\/min\/lib\/Minify\/HTML.php): failed to open stream: No such file or directory in \/var\/www\/html\/wp\/wp-content\/plugins\/wp-super-cache\/plugins\/WPSCMin.php on line 125, referer: http:\/\/localhost\/wp\/wp-admin\/options-general.php?page=wpsupercache&amp;tab=plugins<br \/>\n\t[Fri Nov 30 20:52:13 2012] [error] [client ::1] PHP Fatal error:&nbsp; require_once(): Failed opening required &#39;<span style=\"color:#ff0000;\">\/var\/www\/html\/wp\/wp-content\/plugins\/wp-super-cache\/plugins\/min\/lib\/Minify\/HTML.php<\/span>&#39; (include_path=&#39;.:\/usr\/share\/pear:\/usr\/share\/php&#39;) in \/var\/www\/html\/wp\/wp-content\/plugins\/wp-super-cache\/plugins\/WPSCMin.php on line 125, referer: http:\/\/localhost\/wp\/wp-admin\/options-general.php?page=wpsupercache&amp;tab=plugins<br \/>\n\t[Fri Nov 30 20:52:13 2012] [error] [client ::1] PHP Fatal error:&nbsp; Call to a member function get() on a non-object in \/var\/www\/html\/wp\/wp-includes\/cache.php on line 113, referer: http:\/\/localhost\/wp\/wp-admin\/options-general.php?page=wpsupercache&amp;tab=plugins<br \/>\n\t&nbsp;\n<\/p>\n<p>\n\tAnd in my <strong>\/var\/log\/messages<\/strong>, this one:<br \/>\n\tlocalhost &#8211; &#8211; [30\/Nov\/2012:20:54:48 -0500] &quot;GET \/wp\/ HTTP\/1.1&quot; 500 &#8211; &quot;http:\/\/localhost\/wp\/wp-admin\/options-general.php?page=wpsupercache&amp;tab=plugins&quot; &quot;Mozilla\/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.26) Gecko\/20120216 Red Hat\/3.6.26-1.el6_2 Firefox\/3.6.26 AlexaToolbar\/alxf-2.17&quot;<br \/>\n\t&nbsp;\n<\/p>\n<p>\n\t<!--more-->\n<\/p>\n<p>\n\tThe first thing we check is of course that the file exists:\n<\/p>\n<p>\n\twhich it doesn&#39;t.&nbsp; So we know that the error isn&#39;t anything else however the question now is why is it looking for THAT file when the WPSCMin-0.5.zip doesn&#39;t have that file:\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<span style=\"font-family:courier new,courier,monospace;\"><strong># unzip WPSCMin-0.5.zip<\/strong><br \/>\n\tArchive:&nbsp; WPSCMin-0.5.zip<br \/>\n\t&nbsp;&nbsp; creating: WPSCMin\/<br \/>\n\t&nbsp; inflating: WPSCMin\/WPSCMin-changelog.txt &nbsp;<br \/>\n\t&nbsp; inflating: WPSCMin\/WPSCMin.php&nbsp;&nbsp;&nbsp; &nbsp;<br \/>\n\t<strong>#<\/strong><\/span>\n<\/p>\n<p>\n\tSure enough, no HTML.php as the plugin required unfortunately so the only option I had is to disable WPSCMin for the time being and remove it.\n<\/p>\n<p>\n\tCheers,<br \/>\n\tTK<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>After enabling the wordpress WP Super Cache and the HTML Minifi plugin for the WP Super Cache plugin (That&#39;s right, a plugin for a plugin) I get empty pages on \/localhost\/wp\/ (Or http:\/\/www.microdevsys.com\/wp\/) which obviously isn&#39;t so good for the readers.&nbsp; So i download the plugin to my local server LAMP installation and test it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[3],"tags":[641,1432,1112,865,804,1039,1433,1429,1431,1430],"class_list":["post-1421","post","type-post","status-publish","format-standard","hentry","category-unix-linux-admin-stuff","tag-after","tag-and","tag-cache","tag-empty","tag-html","tag-installing","tag-minifi","tag-pages","tag-super","tag-wp"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts\/1421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/comments?post=1421"}],"version-history":[{"count":0,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts\/1421\/revisions"}],"wp:attachment":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/media?parent=1421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/categories?post=1421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/tags?post=1421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}