When I want to create a new page, I get the following error message:
“Validation error, cannot save page. Value in [products.name] cannot be blank. products.name”
This occurs when I freshly install the 5.94.2 version locally and import the data exported from the 5.94.1 production environment, but the same thing happened on previous versions after the universal import.
The production environment uses mysql8, my local environment uses sqlite3.
In the live environment, I also experience an error after creating a page. The uploaded texts do not appear within the element with single-content class, only a section with a single-cta class with a subscribe button, which I don’t even need. Membering supscription is set to nobody.
The live environment works fine, after i set the page access to public.
In this way, I will actually be fine even if the local environment create page validation error is not resolved. I will create the page in the production environment and export it from there to my local.
I’m using the JS admin client to retrieve my posts and want to restore them into my locally running ghost, but when I try to add a page using data sourced from prod, i get the same error message about [products.name].
I think the error you’re seeing is related to the importer trying to create the post with settings that make it restricted to paid or a specific paid tier. But you don’t have Stripe set up in your local install (I’m guessing), so it throws that error.
I suggest linking your local Ghost to Stripe in test mode, prior to importing content. [Look for the ‘test mode’ slider after clicking to link Stripe.] That should prevent any problems with posts restricted to paid members. (Not sure if you’ve got tier restrictions – but it’s worth a try!)