I’m running Ghost 2.18.1. And when I visit a blog post page I’m seeing this error occur (heroku logs):
2019-03-18T12:54:05.272824+00:00 heroku[router]: at=info method=GET path= "/assets/images/favicon-32x32.png?v=c0aa2f6b26" host=matrix.ai request_id=6c4e3da2-67a9-441d-826c-8a37dc63d41a fwd="124.19.3.250,162.158.7.32" dyno=web.1 connect=1ms service=9ms status=200 bytes=1691 protocol=http
2019-03-18T12:54:21.599709+00:00 heroku[router]: at=info method=GET path="/blog/service-abstraction-and-communication-flows/" host=matrix.ai request_id=315279e1-0be9-49fe-90fc-13d23a3bd121 fwd="124.19.3.250,162.158.6.49" dyno=web.1 connect=0ms service=57ms status=200 bytes=4258 protocol=http
2019-03-18T12:54:21.596453+00:00 app[web.1]: [2019-03-18 12:54:21] ERROR
2019-03-18T12:54:21.596465+00:00 app[web.1]:
2019-03-18T12:54:21.596467+00:00 app[web.1]: Validation (matches) failed for page
2019-03-18T12:54:21.596470+00:00 app[web.1]:
2019-03-18T12:54:21.596471+00:00 app[web.1]: Error ID:
2019-03-18T12:54:21.596473+00:00 app[web.1]: f32a9fa0-497c-11e9-af76-8bc24190f1e2
2019-03-18T12:54:21.596475+00:00 app[web.1]:
2019-03-18T12:54:21.596476+00:00 app[web.1]: ----------------------------------------
2019-03-18T12:54:21.596478+00:00 app[web.1]:
2019-03-18T12:54:21.596480+00:00 app[web.1]: ValidationError: Validation (matches) failed for page
2019-03-18T12:54:21.596482+00:00 app[web.1]: at new ValidationError (/app/node_modules/ghost-ignition/lib/errors/index.js:121:23)
2019-03-18T12:54:21.596483+00:00 app[web.1]: at each (/app/node_modules/ghost/core/server/data/validation/index.js:348:35)
2019-03-18T12:54:21.596485+00:00 app[web.1]: at /app/node_modules/ghost/node_modules/lodash/lodash.js:4911:15
2019-03-18T12:54:21.596487+00:00 app[web.1]: at baseForOwn (/app/node_modules/ghost/node_modules/lodash/lodash.js:2996:24)
2019-03-18T12:54:21.596489+00:00 app[web.1]: at /app/node_modules/ghost/node_modules/lodash/lodash.js:4880:18
2019-03-18T12:54:21.596490+00:00 app[web.1]: at Function.forEach (/app/node_modules/ghost/node_modules/lodash/lodash.js:9344:14)
2019-03-18T12:54:21.596491+00:00 app[web.1]: at Object.validate (/app/node_modules/ghost/core/server/data/validation/index.js:320:7)
2019-03-18T12:54:21.596493+00:00 app[web.1]: at _.each (/app/node_modules/ghost/core/server/api/shared/validators/input/all.js:46:47)
2019-03-18T12:54:21.596495+00:00 app[web.1]: at /app/node_modules/ghost/node_modules/lodash/lodash.js:4911:15
2019-03-18T12:54:21.596497+00:00 app[web.1]: at baseForOwn (/app/node_modules/ghost/node_modules/lodash/lodash.js:2996:24)
2019-03-18T12:54:21.596498+00:00 app[web.1]: at /app/node_modules/ghost/node_modules/lodash/lodash.js:4880:18
2019-03-18T12:54:21.596500+00:00 app[web.1]: at Function.forEach (/app/node_modules/ghost/node_modules/lodash/lodash.js:9344:14)
2019-03-18T12:54:21.596502+00:00 app[web.1]: at validate (/app/node_modules/ghost/core/server/api/shared/validators/input/all.js:41:7)
2019-03-18T12:54:21.596503+00:00 app[web.1]: at Object.all (/app/node_modules/ghost/core/server/api/shared/validators/input/all.js:90:32)
2019-03-18T12:54:21.596505+00:00 app[web.1]: at allShared (/app/node_modules/ghost/core/server/api/shared/validators/handle.js:29:37)
2019-03-18T12:54:21.596506+00:00 app[web.1]: at /app/node_modules/ghost/core/server/lib/promise/sequence.js:10:31
2019-03-18T12:54:21.596508+00:00 app[web.1]: at tryCatcher (/app/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)
2019-03-18T12:54:21.596510+00:00 app[web.1]: at Object.gotValue (/app/node_modules/ghost/node_modules/bluebird/js/release/reduce.js:157:18)
2019-03-18T12:54:21.596511+00:00 app[web.1]: at Object.gotAccum (/app/node_modules/ghost/node_modules/bluebird/js/release/reduce.js:144:25)
2019-03-18T12:54:21.596513+00:00 app[web.1]: at Object.tryCatcher (/app/node_modules/ghost/node_modules/bluebird/js/release/util.js:16:23)
2019-03-18T12:54:21.596514+00:00 app[web.1]: at Promise._settlePromiseFromHandler (/app/node_modules/ghost/node_modu
les/bluebird/js/release/promise.js:512:31)
2019-03-18T12:54:21.596516+00:00 app[web.1]: at Promise._settlePromise (/app/node_modules/ghost/node_modules/bluebird/js/release/promise.js:569:18)
2019-03-18T12:54:21.596517+00:00 app[web.1]: at Promise._settlePromiseCtx (/app/node_modules/ghost/node_modules/bluebird/js/release/promise.js:606:10)
2019-03-18T12:54:21.596519+00:00 app[web.1]: at _drainQueueStep (/app/node_modules/ghost/node_modules/bluebird/js/release/async.js:142:12)
2019-03-18T12:54:21.596521+00:00 app[web.1]: at _drainQueue (/app/node_modules/ghost/node_modules/bluebird/js/release/async.js:131:9)
2019-03-18T12:54:21.596522+00:00 app[web.1]: at Async._drainQueues (/app/node_modules/ghost/node_modules/bluebird/js/release/async.js:147:5)
2019-03-18T12:54:21.596524+00:00 app[web.1]: at Immediate.Async.drainQueues [as _onImmediate] (/app/node_modules/ghost/node_modules/bluebird/js/release/async.js:17:14)
2019-03-18T12:54:21.596526+00:00 app[web.1]: at runCallback (timers.js:705:18)
2019-03-18T12:54:21.596528+00:00 app[web.1]: at tryOnImmediate (timers.js:676:5)
2019-03-18T12:54:21.596530+00:00 app[web.1]: at processImmediate (timers.js:658:5)
2019-03-18T12:54:21.596531+00:00 app[web.1]: at process.topLevelDomainCallback (domain.js:120:23)
This error doesn’t occur when I run ghost locally, the blog post appears normally. Only when it is pushed onto heroku. I don’t see any documentation as to what this error means or why it can occur.