Volto Can not add Content: Page

Click Add Content --> Page, only display a blank page without any setting page.

I can not add new page now, but add file, link, event, news...is ok.
Here's Version Overview:

frontend 1.0.0
Volto 17.11.2
Plone 6.0.9
plone.restapi 9.2.1
CMF 3.2
Zope 5.9
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
PIL 9.5.0 (Pillow)

Add-ons

@plone/volto-slate 17.11.2
@eeacms/volto-accordion-block 10.4.5
@kitconcept/volto-slider-block 6.1.1
@eeacms/volto-matomo 4.2.1
volto-portal 0.1.0

One of the add-ons you added might have caused the issue. Suggest disabling them all, and try to repeat the issue.

Then re-enable each add-on one at a time to reproduce the issue, and retest. Hopefully that isolates the problem to an add-on.

Thanks. I got the same issue after fresh install volto 16.31.0 without other add-ons:
Version Overview

  • frontend 1.0.0
  • Volto 16.31.0
  • Plone 6.0.9
  • plone.restapi 9.2.1
  • CMF 3.2
  • Zope 5.9
  • Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
  • PIL 9.5.0 (Pillow)

Add-ons

  • @plone/volto-slate 16.31.0

Everything works well but add new page. I can add new page in plone backend.

I cannot reproduce this issue. Can you try to reproduce it on the demo?

Does your web browser developer tools console indicate any errors, such as .js not loading?

It's very unusual that only New Page has an issue for you.

Here's the error log that found in backend:

Request URL: http://x.x.x.x:3000/@types/Document

Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 391, in publish_module
  Module ZPublisher.WSGIPublisher, line 285, in publish
  Module ZPublisher.mapply, line 98, in mapply
  Module ZPublisher.WSGIPublisher, line 68, in call_object
  Module plone.rest.service, line 21, in __call__
  Module plone.restapi.services, line 19, in render
  Module plone.restapi.services.types.get, line 123, in reply
  Module plone.restapi.services.types.get, line 145, in reply_for_type
  Module plone.restapi.types.utils, line 327, in get_info_for_type
  Module plone.restapi.types.utils, line 270, in get_jsonschema_for_portal_type
  Module plone.restapi.types.utils, line 234, in get_jsonschema_for_fti
  Module plone.restapi.types.utils, line 178, in get_jsonschema_properties
  Module plone.restapi.types.adapters, line 94, in get_schema
  Module plone.restapi.types.adapters, line 296, in additional
  Module plone.restapi.types.adapters, line 287, in additional
  Module plone.restapi.types.adapters, line 276, in get_items
  Module plone.restapi.types.adapters, line 94, in get_schema
  Module plone.restapi.types.adapters, line 447, in additional
  Module plone.restapi.types.adapters, line 70, in get_schema
  Module plone.restapi.types.adapters, line 98, in get_type
NotImplementedError

Volto work OK if I create a fresh new Plone site in backend.

What do you mean, "create a fresh new Plone site in backend"? That makes no sense. What steps did you take to do that, whatever it actually is?

Finally, are you trying to Create a project or Develop Volto core or something eles? They each have different install paths. If something else, it probably is an obscure or unsupported method.

I mean remove the site in the plone6 backend, like x.x.x.x:8080/Plone. Recreate a new site and run volto: RAZZLE_DEV_PROXY_API_PATH=http://x.x.x.x:8080/newplone yarn start:prod.

My install follow: Create a project

Maybe you added a field to the NewsItem, using the Control Panel > Content types, that's not compatible with the plone.restapi serializers.

So is Control Panel > Content types: Collection not compatible?
I just get the same error when add @types/Collection. :rofl:

@om1221 Maybe something obvious, but did you create that Plone site in thePlone backend as a normal site, which is the default profile for a Volto frontend. And NOT as a Classic-UI site?

You should for example not have or see a Collection content type available in your frontend, as Volto has the Listing block for this, that can be put on any Page.

So this indicates you either created a Classic-UI site in the backend, or have other customisations/changes in the content-backend setup that cause your issue.

Yes, it's default site for volto frontend.

I don't remember changed any settings, but it works after remove and recreate the site.