Tried to add Custom Field in a page and now pages are broken

Hello! So, I was following a tutorial to make a featured product category page, and it required adding a custom field. I clicked on options, clicked on custom fields… and then nothing, so I just closed down the window.

Now I’ve gone to edit or add a new page and I’m getting the “The editor has encountered an unexpected error” message. I’ve disabled all plugins (although they’d been working fine up until now) and I’ve also deleted the page I had gone into the options menu on. And still the error message.

Very much at my wits end and would appreciate some ideas please! Thank you so much.

The error message is;

Error: An error occurred while running ‘mapSelect’: Cannot read property ‘name’ of undefined
The error may be correlated with this previous error:
TypeError: Cannot read property ‘name’ of undefined

Let me know if you need the whole thing.

Source link