Skip to content

Can't edit blog posts - "uncaughtException: Cannot call method 'toPublicObject' of null" #2

@ViktorNova

Description

@ViktorNova

I am unable to edit blog posts. Posting a blog works, but when I go to edit it and then click publish or save draft, nothing happens, and the changes are not saved.

This error shows up on the browser console when opening a blog post for editing (no node errors in the terminal when the page is loaded):

Uncaught ReferenceError: qq is not defined edit:351
(anonymous function) edit:351
c cache_7c867506c58445d3a6a7bc5e298c2460620ddc8e.js:4
p.fireWith cache_7c867506c58445d3a6a7bc5e298c2460620ddc8e.js:4
b.extend.ready cache_7c867506c58445d3a6a7bc5e298c2460620ddc8e.js:4
H cache_7c867506c58445d3a6a7bc5e298c2460620ddc8e.js:4

When I click publish or save draft, this error pops up in the terminal and crashes node when in development mode (no browser console errors though)

EVALSHA [Lua: ZREVRANGE+MGET] 0 z:dev/Tag:groupIdByType:1-Content 0 -1 dev/Tag [0 ms]
GET dev/Content:7 [0 ms]
GET dev/User:undefined [0 ms]
uncaughtException
uncaughtException: Cannot call method 'toPublicObject' of null

There was of course lots more errors after that, but this is the first one that triggered them all (can post more if this isn't enough info)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions