1- I created multiple contentypes (pages).
2- I went to the overview of the contenttype pages and chose select all.
3- I clicked the button publish and nothing happend (the ct's kept their status 'draft' )
4- I tried to change the status of a single page via the same overview.
Both times nothing happened.
I looked inside the console and found this
VM872:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at Object.error (bolt.js:9)
at l (lib.js:1)
at Object.fireWith [as rejectWith] (lib.js:1)
at r (lib.js:1)
at XMLHttpRequest.<anonymous> (lib.js:1)
I can however publish a page when i'm in /bolt/editcontent/pages/
# The locales the site should be available in
locales:
nl_NL:
label: Nederlands
slug: nl
de_DE:
label: Deutsch
slug: de
# Enable/disable automatic routing override.
# Enabling this will prefix all routes with {_locale} which leads to links like
# /en/pages/yourpageslug It is recommended that you leave this on unless you
# want to build your own routing.
routing_override: true
# Enable/disable showing of flag icons next to language names.
show_flags: true
# Enable/disable the menubuilder override.
# Enabling this will make the menu output links in the format of the automatic
# routing. It is recommended that you leave this on unless you want to build
# your own localized menus.
menu_override: true
# Enable/disable the url_generator override.
# Enabling this will override the url generator to make sure that we don't
# generate links without a locale. This is highlig recommended to keep unless
# you also build your own override since it can cause WSOD on 404's otherwise.
url_generator_override: true
# Enable/disable translated slugs.
# Enabling this will use translated slugs instead of using the same slug for
# all languages. Only set to false if you also don't set your slugs to `is_translateable`.
translate_slugs: true
# Enable/disable using Accept-Language header to determine the locale for
# redirection on `/`.
# Enabling this will redirect visitors on `/` to the preferred locale based on
# the Accept-Language header. Disabling this will always redirect `/` to the
# first locale set in `locales` above.
use_accept_language_header: true
# Enable/disable translation of the dashboard.
translate_dashboard: false
Details
Reproduction
1- I created multiple contentypes (pages). 2- I went to the overview of the contenttype pages and chose
select all
. 3- I clicked the buttonpublish
and nothing happend (the ct's kept their status 'draft' ) 4- I tried to change the status of a single page via the same overview.Both times nothing happened.
I looked inside the console and found this
I can however publish a page when i'm in
/bolt/editcontent/pages/
Contenttypes:
Translate config