If you’re looking for some help, it’s important to provide as much context as possible so that people are able to assist you. Try to always mention:
-
What’s your URL? This is the easiest way for others to debug your issue
think.seniorsays.sg -
What version of Ghost are you using?
ghost-cli version 1.9.8
ghost version 2.6.2 -
What configuration?
“mail”: {
“transport”: “SMTP”,
“options”: {
“service”: “Mailgun”,
“auth”: {
“user”: “xxx”,
“pass”: “xxxx”
}
}
}, -
What browser?
Google Chrome -
What errors or information do you see in the console?
By typing ghost log this is what i see.
InternalServerError: The server has encountered an error.
at new GhostError (/var/www/ghost/versions/2.6.2/core/server/lib/common/errors.js:10:26)
at permsPromise.then.catch (/var/www/ghost/versions/2.6.2/core/server/api/v2/utils/permissions.js:48:31)
at tryCatcher (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:690:18)
at _drainQueueStep (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
Error: Undefined binding(s) detected when compiling SELECT query: select roles
.* from roles
where roles
.id
= ? limit ?
at QueryCompiler_MySQL.toSQL (/var/www/ghost/versions/2.6.2/node_modules/knex/lib/query/compiler.js:151:13)
at Builder.toSQL (/var/www/ghost/versions/2.6.2/node_modules/knex/lib/query/builder.js:119:44)
at /var/www/ghost/versions/2.6.2/node_modules/knex/lib/runner.js:52:32
at tryCatcher (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/util.js:16:23)
at /var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/using.js:185:26
at tryCatcher (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:694:18)
at Promise._fulfill (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:638:18)
at PromiseArray._resolve (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise_array.js:144:14)
at Promise._settlePromise (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:574:26)
at Promise._settlePromise0 (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/var/www/ghost/versions/2.6.2/node_modules/bluebird/js/release/promise.js:694:18)