Validation error, cannot edit setting. Please enter a valid email address

Hello, everyone. Perhaps someone can help me. When I want in GHOST 5.5.0 to change or add some link in the navigation menu, I get this message “Validation error, cannot edit setting. Please enter a valid email address.” I have searched for online help, but have not found anything suitable. I have not had this problem before. Thanks

1 Like

Hi @dgrom are you able to provide the full error from your ghost logs?

1 Like

I am also facing this same issue while making any edits to settings - Example - Update code injections

Ghost version - 5.8.0
Node Version - v16.16.0
MYSQL Version - 8.0.30

Error log

$ ghost log
NAME: ValidationError
MESSAGE: Please enter a valid email address.

level: normal

ValidationError: Please enter a valid email address.
    at /var/www/example.com/versions/5.8.0/core/server/api/endpoints/utils/validators/input/settings.js:56:39
    at arrayEach (/var/www/example.com/versions/5.8.0/node_modules/lodash/lodash.js:530:11)
    at Function.forEach (/var/www/example.com/versions/5.8.0/node_modules/lodash/lodash.js:9410:14)
    at Object.edit (/var/www/example.com/versions/5.8.0/core/server/api/endpoints/utils/validators/input/settings.js:17:11)
    at docNameMethod (/var/www/example.com/versions/5.8.0/core/server/api/shared/validators/handle.js:61:74)
    at /var/www/example.com/versions/5.8.0/node_modules/@tryghost/promise/lib/sequence.js:10:31
    at tryCatcher (/var/www/example.com/versions/5.8.0/node_modules/bluebird/js/release/util.js:16:23)
    at Object.gotValue (/var/www/example.com/versions/5.8.0/node_modules/bluebird/js/release/reduce.js:168:18)
    at Object.gotAccum (/var/www/example.com/versions/5.8.0/node_modules/bluebird/js/release/reduce.js:155:25)
    at Object.tryCatcher (/var/www/example.com/versions/5.8.0/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/var/www/example.com/versions/5.8.0/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/var/www/example.com/versions/5.8.0/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/var/www/example.com/versions/5.8.0/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/var/www/example.com/versions/5.8.0/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/var/www/example.com/versions/5.8.0/node_modules/bluebird/js/release/async.js:93
  • Restart Ghost - No fix
  • Force Update - No fix
  • Restart MySQL and Server Reboot - No fix
  • Adding dummy staff with full privilege - No fix

This issue occurs only on the Site Settings page
rest things on the Dashboard work well

  • website settings
  • Members
  • Advanced

Test My Production site locally on my system
Facing this same issue on localhost too
error log same as above I posted

seems Issue on bluebird Promise()

There was a solution discussed here:

All you need to do is set and confirm your support email address inside Settings / Membership / Customize Portal / Portal Settings. Help it works!