{"id":3448,"date":"2014-03-25T11:24:43","date_gmt":"2014-03-25T11:24:43","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/25\/symfony-2-1-uncaught-php-exception-twig_error_runtime-collection-of-common-programming-errors\/"},"modified":"2014-03-25T11:24:43","modified_gmt":"2014-03-25T11:24:43","slug":"symfony-2-1-uncaught-php-exception-twig_error_runtime-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/25\/symfony-2-1-uncaught-php-exception-twig_error_runtime-collection-of-common-programming-errors\/","title":{"rendered":"Symfony 2.1 &#8211; Uncaught PHP Exception Twig_Error_Runtime-Collection of common programming errors"},"content":{"rendered":"<p>This Exception is thrown in the <strong>dev<\/strong> environment if the <strong>profiler<\/strong> is enabled but it&#8217;s routing configuration is missing.<\/p>\n<pre><code>Unable to generate a URL for the named route \"_wdt\" as such route does not exist.\n<\/code><\/pre>\n<p>Please check that your app\/config\/routing_dev.yml contains the following lines:<\/p>\n<pre><code># app\/config\/routing_dev.yml\n\n_wdt:\n    resource: \"@WebProfilerBundle\/Resources\/config\/routing\/wdt.xml\"\n    prefix:   \/_wdt\n\n_profiler:\n    resource: \"@WebProfilerBundle\/Resources\/config\/routing\/profiler.xml\"\n    prefix:   \/_profiler\n<\/code><\/pre>\n<p>This will fix your issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Exception is thrown in the dev environment if the profiler is enabled but it&#8217;s routing configuration is missing. Unable to generate a URL for the named route &#8220;_wdt&#8221; as such route does not exist. Please check that your app\/config\/routing_dev.yml contains the following lines: # app\/config\/routing_dev.yml _wdt: resource: &#8220;@WebProfilerBundle\/Resources\/config\/routing\/wdt.xml&#8221; prefix: \/_wdt _profiler: resource: &#8220;@WebProfilerBundle\/Resources\/config\/routing\/profiler.xml&#8221; prefix: [&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-3448","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3448","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=3448"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3448\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}