Closed 1stevengrant closed 2 years ago
Hey
Thanks for reporting, the first issue is indeed a bug from ourside. Try out version 5.5.4, it should resolve it.
Regarding NPMHelpers::formatRegion('Home')
, this expects a model instance of a region.
We can accept pull requests that implement getRegionByTemplate.
I'm migrating from Nova 3 and of course updating page manager too.
Currently we have
nova_get_regions()
helper in code.In order to see what I'm dealing with, I'm using Tinkerwell to call
NPMHelpers::getRegions();
which errors with:When I attempt
NPMHelpers::formatRegion('Home')
Although I've migrated, I did take almost a clean approach to configuring this by deleting my old templates and generating new ones via
artisan npm:template Home
etcAny insight as to what's wrong here? I did notice there's no guidance on migrating regions, only pages.