Scratching my head with this. I am working with a custom block and have added an image field. However the Upload destination radios are not present and this results in a file storage error. ' Illegal choice public in Upload destination element'

Two screenshots attached. The first indicates what I am seeing, the second (from a different site) is how it should look.

I am only seeing this problem with custom blocks and find that regular content types are okay. Not just with image storage; files too.

enter image description here enter image description here

  • Looks like your schemas aren't Visible, readable and writeable., per StreamWrapperInterface:: WRITE_VISIBLE . Only schemas that satisfy those conditions are added to the array of radios – Clive Jul 17 '18 at 15:24
  • Thank you @Clive I think I have tracked this down to a custom module – MrPaulDriver Jul 17 '18 at 15:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.