{"id":7202,"date":"2014-05-27T09:09:06","date_gmt":"2014-05-27T09:09:06","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/27\/cannot-find-the-indicated-syntax-error-in-my-smarty-template-collection-of-common-programming-errors\/"},"modified":"2014-05-27T09:09:06","modified_gmt":"2014-05-27T09:09:06","slug":"cannot-find-the-indicated-syntax-error-in-my-smarty-template-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/27\/cannot-find-the-indicated-syntax-error-in-my-smarty-template-collection-of-common-programming-errors\/","title":{"rendered":"Cannot find the indicated Syntax Error in my Smarty template-Collection of common programming errors"},"content":{"rendered":"<p>I am getting the following error when I call an ajax function<\/p>\n<pre><code>SmartyCompilerException: Syntax Error in template \"themes\/themename\/ajax-product-sort.tpl\" on line 16 \"l} {s='price: lowest first'}\" - Unexpected \" }\" in D:\\wamp\\www\\sitename\\tools\\smarty\\sysplugins\\smarty_internal_templatecompilerbase.php on line 431 \n<\/code><\/pre>\n<p>and i cand find any syntax mistake on that particular line<\/p>\n<pre><code>{l s='price: lowest first'}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I am getting the following error when I call an ajax function SmartyCompilerException: Syntax Error in template &#8220;themes\/themename\/ajax-product-sort.tpl&#8221; on line 16 &#8220;l} {s=&#8217;price: lowest first&#8217;}&#8221; &#8211; Unexpected &#8221; }&#8221; in D:\\wamp\\www\\sitename\\tools\\smarty\\sysplugins\\smarty_internal_templatecompilerbase.php on line 431 and i cand find any syntax mistake on that particular line {l s=&#8217;price: lowest first&#8217;}<\/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-7202","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7202","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=7202"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7202\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}