{"id":7408,"date":"2014-06-12T03:12:01","date_gmt":"2014-06-12T03:12:01","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/06\/12\/wordpress-display-single-post-collection-of-common-programming-errors\/"},"modified":"2014-06-12T03:12:01","modified_gmt":"2014-06-12T03:12:01","slug":"wordpress-display-single-post-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/06\/12\/wordpress-display-single-post-collection-of-common-programming-errors\/","title":{"rendered":"WordPress: Display Single Post-Collection of common programming errors"},"content":{"rendered":"<p>If this is literally copy &amp; paste out of your file, then you&#8217;ve somehow gotten a curly quote, which I believe would cause that error in PHP. Look closely at:<\/p>\n<pre><code>query_posts(\u2018p=143')\n<\/code><\/pre>\n<p>The character before p is NOT a &#8216; so rewrite it as:<\/p>\n<pre><code>query_posts('p=143') \n<\/code><\/pre>\n<p>and try again.<\/p>\n<p>I think you somehow have curly quotes on both ends of the argument. The only legit quoting characters are &#8216; and &#8221; &#8212; are you using MS word to write your code?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If this is literally copy &amp; paste out of your file, then you&#8217;ve somehow gotten a curly quote, which I believe would cause that error in PHP. Look closely at: query_posts(\u2018p=143&#8242;) The character before p is NOT a &#8216; so rewrite it as: query_posts(&#8216;p=143&#8217;) and try again. I think you somehow have curly quotes on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7408","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7408"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7408\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}