Fatal message

Permalink
Hi there
I hope someone can help. I was editing a page when this message popped up ( see screenshot attached ). I can't edit or seem to go back to earlier version.
Many thanks in anticipation.

1 Attachment

tjbphoto
 
JohntheFish replied on at Permalink Reply
JohntheFish
Something like a gallery or document list block is using a file set that has since been deleted and the block's code is not bomb-proofed against such a situation.

There may a bug report on github about it for one of the core blocks.

If you go to the dashboard debug settings and enable the full debug to screen, you will get a backtrace with line numbers you can use to identify the offending block code.

The actual error could be a little earlier, where getFileSetByID is called on the missing file set ID.

Then its a matter of testing if the file set is an object and short circuiting whatever follows so it can fail without breaking the page.
tjbphoto replied on at Permalink Reply
tjbphoto
Many thanks
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
Hi Terry
I have emailed a solution to you, check your emails..
tjbphoto replied on at Permalink Reply
tjbphoto
Diamond !