Describe the bug
Terrastories Theme has the ability to add a custom Mapbox map and token per community. As soon as you modify any of the other fields in the Theme (like adding a custom logo), but leave the two map fields alone, it causes the map to not work.
To Reproduce
Steps to reproduce the behavior:
Go to the map with an out of the box Terrastories install. Confirm that it's working.
As an Admin user log in and go to the Theme menu.
Add a custom sponsor logo.
Don't do anything to the two map fields. And click Update Theme.
Now to go to the map. It will load blank and throw the errors in the screenshot below.
Expected behavior
If nothing is added to the Mapbox fields in Theme, it will just stick with the default map and key.
Describe the bug Terrastories Theme has the ability to add a custom Mapbox map and token per community. As soon as you modify any of the other fields in the Theme (like adding a custom logo), but leave the two map fields alone, it causes the map to not work.
To Reproduce Steps to reproduce the behavior:
Expected behavior If nothing is added to the Mapbox fields in Theme, it will just stick with the default map and key.
Screenshots