Description
When pushing code to PRODUCTION this error happens whenever I try to display a Map:
craft\web\View::registerScript(): Argument #1 ($script) must be of type string, null given, called in /home/craft/www.domain.com/vendor/craftcms/cms/src/services/TemplateCaches.php on line 323
The code works as it should in DEV.
If I just switch my environment to "production" in my dev area the same error appears.
Additional info
- Craft version: Craft CMS 5.5.4
- Maps version: 5.0.4
- PHP version: 8.2