{"action":"opened","issue":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3823","labels_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3823/labels{/name}","comments_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3823/comments","events_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3823/events","html_url":"https://github.com/NodeBB/NodeBB/issues/3823","id":114886994,"number":3823,"title":"Nested Categories not working in Lavendar Theme","user":{"login":"atonb117","id":10147808,"avatar_url":"https://avatars.githubusercontent.com/u/10147808?v=3","gravatar_id":"","url":"https://api.github.com/users/atonb117","html_url":"https://github.com/atonb117","followers_url":"https://api.github.com/users/atonb117/followers","following_url":"https://api.github.com/users/atonb117/following{/other_user}","gists_url":"https://api.github.com/users/atonb117/gists{/gist_id}","starred_url":"https://api.github.com/users/atonb117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atonb117/subscriptions","organizations_url":"https://api.github.com/users/atonb117/orgs","repos_url":"https://api.github.com/users/atonb117/repos","events_url":"https://api.github.com/users/atonb117/events{/privacy}","received_events_url":"https://api.github.com/users/atonb117/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-03T19:07:06Z","updated_at":"2015-11-03T19:07:06Z","closed_at":null,"body":"I was testing the Lavender Theme on a local install after creating a Category called North America with a Sub Category of Georgia which has a sub category of Fulton.\r\n\r\nFrom the home page, one could not enter the North American Category unless ALL it's sub categories where deactivated.\r\n\r\nAfter switching back to default theme, nested categories work fine.\r\n\r\nHere is output of error:\r\n\r\nhome:~/../../NodeBB$ ./nodebb log\r\n\r\nType Ctrl-C to exit\r\n\r\nClustering enabled: Spinning up 1 process(es).\r\n\r\n1/11 17:30 [4813] - info: Time: Sun Nov 01 2015 17:30:57 GMT-0500 (EST)\r\n1/11 17:30 [4813] - info: Initializing NodeBB v0.8.2\r\n\r\n1/11 17:31 [4813] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.\r\n  * nodebb-theme-lavender\r\n\r\n1/11 17:31 [4813] - info: NodeBB Ready\r\n1/11 17:31 [4813] - info: NodeBB is now listening on: 0.0.0.0:4567\r\n[cluster] Restarting...\r\nClustering enabled: Spinning up 1 process(es).\r\n1/11 17:33 [4813] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.\r\n\r\n1/11 17:33 [4813] - info: [app] Database connection closed.\r\n1/11 17:33 [4813] - info: [app] Web server closed to connections.\r\n1/11 17:33 [4813] - info: [app] Shutdown complete.\r\n[cluster] Child Process (4813) has exited (code: 0, signal: null)\r\n1/11 17:33 [4847] - info: Time: Sun Nov 01 2015 17:33:20 GMT-0500 (EST)\r\n1/11 17:33 [4847] - info: Initializing NodeBB v0.8.2\r\n\r\n1/11 17:33 [4847] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.\r\n  * nodebb-theme-lavender\r\n\r\n1/11 17:33 [4847] - info: NodeBB Ready\r\n1/11 17:33 [4847] - info: NodeBB is now listening on: 0.0.0.0:4567\r\n2/11 18:09 [4847] - error: RangeError: Maximum call stack size exceeded\r\n    at String.match (native)\r\n    at checkConditional (/home/NodeBB/node_modules/templates.js/lib/templates.js:221:26)\r\n    at checkConditionals (/home/NodeBB/node_modules/templates.js/lib/templates.js:217:27)\r\n    at parseValue (/home/NodeBB/node_modules/templates.js/lib/templates.js:383:14)\r\n    at parse (/home/NodeBB/node_modules/templates.js/lib/templates.js:402:17)\r\n    at cleanup (/home/NodeBB//node_modules/templates.js/lib/templates.js:473:27)\r\n    at parse (/home/NodeBB/node_modules/templates.js/lib/templates.js:419:15)\r\n    at cleanup (/home/NodeBB/node_modules/templates.js/lib/templates.js:473:27)\r\n    at parse (/home/NodeBB/node_modules/templates.js/lib/templates.js:419:15)\r\n    at cleanup (/home/NodeBB/node_modules/templates.js/lib/templates.js:473:27)\r\nRangeError: Maximum call stack size exceeded\r\n    at String.match (native)\r\n    at checkConditional (/home/NodeBB/node_modules/templates.js/lib/templates.js:221:26)\r\n    at checkConditionals (/home/NodeBB/node_modules/templates.js/lib/templates.js:217:27)\r\n    at parseValue (/home/NodeBB/node_modules/templates.js/lib/templates.js:383:14)\r\n    at parse (/home/NodeBB/node_modules/templates.js/lib/templates.js:402:17)\r\n    at cleanup (/home/NodeBB/node_modules/templates.js/lib/templates.js:473:27)\r\n    at parse (/home/NodeBB/node_modules/templates.js/lib/templates.js:419:15)\r\n    at cleanup (/home/NodeBB/node_modules/templates.js/lib/templates.js:473:27)\r\n    at parse (/home/NodeBB/node_modules/templates.js/lib/templates.js:419:15)\r\n    at cleanup(/home/NodeBB/node_modules/templates.js/lib/templates.js:473:27)\r\n2/11 18:09 [4847] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.\r\n2/11 18:09 [4847] - info: [app] Database connection closed.\r\n2/11 18:09 [4847] - info: [app] Web server closed to connections.\r\n2/11 18:09 [4847] - info: [app] Shutdown complete.\r\n[cluster] Child Process (4847) has exited (code: 1, signal: null)\r\n[cluster] Spinning up another process...\r\n2/11 18:09 [12562] - info: Time: Mon Nov 02 2015 18:09:43 GMT-0500 (EST)\r\n2/11 18:09 [12562] - info: Initializing NodeBB v0.8.2"}}