Error with administrator options
-
Hello, I am still new to these themes, I have just done the installation of CoD4x WebAdmin, and I have a problem when entering with the default user and trying to access the administrator options, I cannot see them and it shows me only the following:
TypeError: /var/www/html/app/views/admin/home/index.pug:244
242| i.zmdi.zmdi-refresh-alt
243| .card-body244| if (results.appversion.local_version!=results.appversion.github_version)
245| .alert.alert-danger
246| .m-b-20
247| | You are runningCannot read property 'local_version' of null
at eval (eval at wrap (/var/www/html/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1443:25)
at template (eval at wrap (/var/www/html/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1933:72)
at Object.exports.renderFile (/var/www/html/node_modules/pug/lib/index.js:427:38)
at Object.exports.renderFile (/var/www/html/node_modules/pug/lib/index.js:417:21)
at View.exports.__express [as engine] (/var/www/html/node_modules/pug/lib/index.js:464:11)
at View.render (/var/www/html/node_modules/express/lib/view.js:135:8)
at tryRender (/var/www/html/node_modules/express/lib/application.js:640:10)
at Function.render (/var/www/html/node_modules/express/lib/application.js:592:3)
at ServerResponse.render (/var/www/html/node_modules/express/lib/response.js:1012:7)
at /var/www/html/app/controllers/admin/index.js:49:8
at tryCatcher (/var/www/html/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/var/www/html/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/var/www/html/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/var/www/html/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/var/www/html/node_modules/bluebird/js/release/promise.js:729:18)
at Promise._fulfill (/var/www/html/node_modules/bluebird/js/release/promise.js:673:18)
at PropertiesPromiseArray.PromiseArray._resolve (/var/www/html/node_modules/bluebird/js/release/promise_array.js:127:19)
at PropertiesPromiseArray._promiseFulfilled (/var/www/html/node_modules/bluebird/js/release/props.js:78:14)
at Promise._settlePromise (/var/www/html/node_modules/bluebird/js/release/promise.js:609:26)
at Promise._settlePromise0 (/var/www/html/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/var/www/html/node_modules/bluebird/js/release/promise.js:729:18)
at Promise._fulfill (/var/www/html/node_modules/bluebird/js/release/promise.js:673:18)
at /var/www/html/node_modules/bluebird/js/release/nodeback.js:42:21
at /var/www/html/node_modules/mongoose/lib/model.js:4876:16
at /var/www/html/node_modules/mongoose/lib/helpers/promiseOrCallback.js:24:16
at /var/www/html/node_modules/mongoose/lib/model.js:4899:21
at /var/www/html/node_modules/mongoose/lib/query.js:4380:11
at /var/www/html/node_modules/kareem/index.js:135:16
at processTicksAndRejections (internal/process/task_queues.js:79:11)I would greatly appreciate your help
-
Hello, please read this answer, this is the same problem and that should help you to solve this
https://forum.cirkus-serveri.com/topic/118/help-me-with-this-problem/2
-
Thanks buddy, it's fully working now