How to edit the Poll afterwards? If I click on the poll button in edit window, I get "Invalid Request" error ...
Boris Dragosani
Posts
-
[nodebb-plugin-poll] Poll plugin -
Crashes in Current main BranchThank you for the reply! It has fixed the problem, and it was indeed invalid category, I need also check the database, able somewhere is a invalid reference ...
-
Crashes in Current main BranchSorry if I bother some one to much, I am aware of the problems of the main branch and I know, that I am using the main branch and it can destroy my forum, my computer, create singularity and wipe the universe. I thought I can help , if I see such errors and do not have time to look on it deeply just now, than I write it here. If this is wrong place or no body find it useful, I will not write it here anymore.
-
Crashes in Current main BranchI get now often following error after
git pull
today:@400000005707b689004ed98c 8/4 15:47 [30005] - error: TypeError: Cannot read property 'name' of null @400000005707b689004f086c at /home/ok/ggg/src/controllers/admin/categories.js:27:56 @400000005707b689004f086c at fireFilterHook (/home/ok/ggg/src/plugins/hooks.js:92:11) @400000005707b689004f0c54 at Object.Plugins.fireHook (/home/ok/ggg/src/plugins/hooks.js:76:5) @400000005707b689004f103c at /home/ok/ggg/src/controllers/admin/categories.js:23:11 @400000005707b689004f103c at /home/ok/ggg/node_modules/async/lib/async.js:726:13 @400000005707b6890050d55c at /home/ok/ggg/node_modules/async/lib/async.js:52:16 @400000005707b6890050d944 at done (/home/ok/ggg/node_modules/async/lib/async.js:246:17) @400000005707b6890050d944 at /home/ok/ggg/node_modules/async/lib/async.js:44:16 @400000005707b6890050dd2c at /home/ok/ggg/node_modules/async/lib/async.js:723:17 @400000005707b6890050e114 at /home/ok/ggg/node_modules/async/lib/async.js:167:37 @400000005707b689006612dc TypeError: Cannot read property 'name' of null @400000005707b689006616c4 at /home/ok/ggg/src/controllers/admin/categories.js:27:56 @400000005707b68900661aac at fireFilterHook (/home/ok/ggg/src/plugins/hooks.js:92:11) @400000005707b68900661aac at Object.Plugins.fireHook (/home/ok/ggg/src/plugins/hooks.js:76:5) @400000005707b68900661e94 at /home/ok/ggg/src/controllers/admin/categories.js:23:11 @400000005707b6890066227c at /home/ok/ggg/node_modules/async/lib/async.js:726:13 @400000005707b6890066af1c at /home/ok/ggg/node_modules/async/lib/async.js:52:16 @400000005707b6890066b304 at done (/home/ok/ggg/node_modules/async/lib/async.js:246:17) @400000005707b6890066b6ec at /home/ok/ggg/node_modules/async/lib/async.js:44:16 @400000005707b6890066b6ec at /home/ok/ggg/node_modules/async/lib/async.js:723:17 @400000005707b6890066bad4 at /home/ok/ggg/node_modules/async/lib/async.js:167:37
-
Problems after upgrading NodeBB to 1.0.2Thank you!
-
Problems after upgrading NodeBB to 1.0.2I have upgraded the NodeBB to 1.0.2 with last commit:
commit cb2ea163a05d1311196bb66197f9a1903959f25f Author: barisusakli <[email protected]> Date: Wed Mar 30 18:13:25 2016 +0300
And now if I starting it and try to use, I get this error:
30/3 17:15 [18768] - verbose: * using configuration stored in: /home/ok/ggg/config.json 30/3 17:15 [18768] - info: Time: Wed Mar 30 2016 17:15:59 GMT+0200 (CEST) 30/3 17:15 [18768] - info: Initializing NodeBB v1.0.2 30/3 17:15 [18768] - verbose: * using redis store at 127.0.0.1:61517 30/3 17:15 [18768] - verbose: * using themes stored in: /home/ok/ggg/node_modules 30/3 17:16 [18768] - verbose: Checking dependencies for outdated modules 30/3 17:16 [18768] - verbose: [notifications.init] Registering jobs. 30/3 17:16 [18768] - info: [themes] Using theme nodebb-theme-persona 30/3 17:16 [18768] - verbose: [plugins] Initializing plugins system 30/3 17:16 [18768] - verbose: [plugins] Found 5 js file(s) for plugin nodebb-theme-persona 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-theme-persona 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-dbsearch 30/3 17:16 [18768] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-mentions 30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-mentions 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-mentions 30/3 17:16 [18768] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-essentials 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-widget-essentials 30/3 17:16 [18768] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-markdown 30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-markdown 30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-markdown 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-markdown 30/3 17:16 [18768] - warn: [plugins/nodebb-plugin-sso-twitter] Hook `filter:user.delete` is deprecated, please use `static:user.delete` instead. 30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-twitter 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-twitter 30/3 17:16 [18768] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-emoji-extended 30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-emoji-extended 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-emoji-extended 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundpack-default 30/3 17:16 [18768] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-composer-default 30/3 17:16 [18768] - verbose: [plugins] Found 11 js file(s) for plugin nodebb-plugin-composer-default 30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-composer-default 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-composer-default 30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-facebook 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-facebook 30/3 17:16 [18768] - warn: [plugins/nodebb-plugin-sso-github] Hook `filter:user.delete` is deprecated, please use `static:user.delete` instead. 30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-github 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-github 30/3 17:16 [18768] - warn: [plugins/nodebb-plugin-sso-google] Hook `filter:user.delete` is deprecated, please use `static:user.delete` instead. 30/3 17:16 [18768] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-google 30/3 17:16 [18768] - verbose: [plugins] Loaded plugin: nodebb-plugin-sso-google 30/3 17:16 [18768] - info: [plugins] Plugins OK 30/3 17:16 [18768] - verbose: [meta/css] Minifying LESS/CSS 30/3 17:16 [18768] - verbose: [meta/blacklist] Loading 0 blacklist rules 30/3 17:16 [18768] - verbose: [sounds] Sounds OK 30/3 17:16 [18768] - verbose: [meta/js] acp.min.js minification complete 30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-theme-persona) 30/3 17:16 [18768] - verbose: [meta/js] acp.min.js committed to disk. 30/3 17:16 [18768] - verbose: [meta/js] nodebb.min.js minification complete 30/3 17:16 [18768] - verbose: [meta/css] Running PostCSS Plugins 30/3 17:16 [18768] - verbose: [meta/js] nodebb.min.js committed to disk. 30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-dbsearch) 30/3 17:16 [18768] - verbose: [meta/css] admin.css committed to disk. 30/3 17:16 [18768] - verbose: [meta/css] Running PostCSS Plugins 30/3 17:16 [18768] - verbose: [meta/css] stylesheet.css committed to disk. 30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-widget-essentials) 30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-markdown) 30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-sso-twitter) 30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-emoji-extended) 30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-composer-default) 30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-sso-facebook) 30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-sso-github) 30/3 17:16 [18768] - verbose: [plugins] Loading templates (nodebb-plugin-sso-google) 30/3 17:16 [18768] - verbose: [meta/templates] Compiling templates 30/3 17:16 [18768] - verbose: [meta/templates] Successfully compiled templates. 30/3 17:16 [18768] - info: NodeBB Ready 30/3 17:16 [18768] - info: Enabling 'trust proxy' 30/3 17:16 [18768] - info: NodeBB is now listening on: 0.0.0.0:61516 30/3 17:16 [18768] - verbose: [hotswap] Router with id `plugins` replaced successfully 30/3 17:16 [18768] - verbose: [plugins] All plugins reloaded and rerouted 30/3 17:16 [18768] - verbose: [hotswap] Router with id `auth` replaced successfully 30/3 17:16 [18768] - error: ReferenceError: config is not defined at /home/ok/ggg/public/src/modules/helpers.js:109:42 at Array.forEach (native) at Object.helpers.generateChildrenCategories (/home/ok/ggg/public/src/modules/helpers.js:105:21) at callMethod (/home/ok/ggg/node_modules/templates.js/lib/templates.js:281:17) at parseFunctions (/home/ok/ggg/node_modules/templates.js/lib/templates.js:305:55) at parseArrayBlock (/home/ok/ggg/node_modules/templates.js/lib/templates.js:382:14) at parseArray (/home/ok/ggg/node_modules/templates.js/lib/templates.js:348:13) at parse (/home/ok/ggg/node_modules/templates.js/lib/templates.js:418:16) at parseTemplate (/home/ok/ggg/node_modules/templates.js/lib/templates.js:135:14) at Object.templates.parse (/home/ok/ggg/node_modules/templates.js/lib/templates.js:121:11) ReferenceError: config is not defined at /home/ok/ggg/public/src/modules/helpers.js:109:42 at Array.forEach (native) at Object.helpers.generateChildrenCategories (/home/ok/ggg/public/src/modules/helpers.js:105:21) at callMethod (/home/ok/ggg/node_modules/templates.js/lib/templates.js:281:17) at parseFunctions (/home/ok/ggg/node_modules/templates.js/lib/templates.js:305:55) at parseArrayBlock (/home/ok/ggg/node_modules/templates.js/lib/templates.js:382:14) at parseArray (/home/ok/ggg/node_modules/templates.js/lib/templates.js:348:13) at parse (/home/ok/ggg/node_modules/templates.js/lib/templates.js:418:16) at parseTemplate (/home/ok/ggg/node_modules/templates.js/lib/templates.js:135:14) at Object.templates.parse (/home/ok/ggg/node_modules/templates.js/lib/templates.js:121:11) 30/3 17:16 [18768] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised. 30/3 17:16 [18768] - info: [app] Database connection closed. 30/3 17:16 [18768] - info: [app] Web server closed to connections. 30/3 17:16 [18768] - info: [app] Shutdown complete. [cluster] Child Process (18768) has exited (code: 1, signal: null) [cluster] Spinning up another process...
What is wrong?