{"action":"created","issue":{"url":"https://api.github.com/repos/CouchCMS/Documentation/issues/12","labels_url":"https://api.github.com/repos/CouchCMS/Documentation/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/CouchCMS/Documentation/issues/12/comments","events_url":"https://api.github.com/repos/CouchCMS/Documentation/issues/12/events","html_url":"https://github.com/CouchCMS/Documentation/issues/12","id":124665856,"number":12,"title":"Shortcodes","user":{"login":"llamadillo","id":9631837,"avatar_url":"https://avatars.githubusercontent.com/u/9631837?v=3","gravatar_id":"","url":"https://api.github.com/users/llamadillo","html_url":"https://github.com/llamadillo","followers_url":"https://api.github.com/users/llamadillo/followers","following_url":"https://api.github.com/users/llamadillo/following{/other_user}","gists_url":"https://api.github.com/users/llamadillo/gists{/gist_id}","starred_url":"https://api.github.com/users/llamadillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llamadillo/subscriptions","organizations_url":"https://api.github.com/users/llamadillo/orgs","repos_url":"https://api.github.com/users/llamadillo/repos","events_url":"https://api.github.com/users/llamadillo/events{/privacy}","received_events_url":"https://api.github.com/users/llamadillo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-03T19:09:21Z","updated_at":"2016-01-03T20:27:52Z","closed_at":"2016-01-03T20:27:52Z","body":"**Page:** ` http://docs.couchcms.com/miscellaneous/shortcodes.html `\r\n\r\nThe example kfunctions.php causes couch to crash because the php tag is not closed.\r\n"},"comment":{"url":"https://api.github.com/repos/CouchCMS/Documentation/issues/comments/168538696","html_url":"https://github.com/CouchCMS/Documentation/issues/12#issuecomment-168538696","issue_url":"https://api.github.com/repos/CouchCMS/Documentation/issues/12","id":168538696,"user":{"login":"kksidd","id":11019914,"avatar_url":"https://avatars.githubusercontent.com/u/11019914?v=3","gravatar_id":"","url":"https://api.github.com/users/kksidd","html_url":"https://github.com/kksidd","followers_url":"https://api.github.com/users/kksidd/followers","following_url":"https://api.github.com/users/kksidd/following{/other_user}","gists_url":"https://api.github.com/users/kksidd/gists{/gist_id}","starred_url":"https://api.github.com/users/kksidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kksidd/subscriptions","organizations_url":"https://api.github.com/users/kksidd/orgs","repos_url":"https://api.github.com/users/kksidd/repos","events_url":"https://api.github.com/users/kksidd/events{/privacy}","received_events_url":"https://api.github.com/users/kksidd/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T20:27:51Z","updated_at":"2016-01-03T20:27:51Z","body":"The closing PHP tag is optional (in fact, it is a recommended practice to leave it out) so that is not a problem.\r\n\r\nThat said, I tested the sample kfunctions.php available as a download on that page and also tested creating a new kfunctions,php file and copy/pasting the sample code in that. \r\n\r\nI couldn't duplicate the error you reported in either case.\r\n\r\nPerhaps the issue you mentioned has a different cause?"}}