I have run into an issue when trying to add page breaks, through Gutenberg, when setting up my lessons. Some of the lessons I will be offering are pretty long, so I wanted to add page breaks at certain points to make it easier for student. Everything seems to work fine until I go to the site, select the course and lesson. Lesson comes up, but the page breaks are not working. It shows me the first part of the lesson, down to where the page break would be, and then nothing. IT does work if I preview it in Draft, but no Published.
Any idea’s of what I can do to make the page breaks work? Any assistance would be greatly appreciated.
]]>Kindly help!
]]>Interestingly, adding page breaks to pages (as opposed to blog posts) shows the navigation links as expected.
What code is missing in this theme that’s causing this? How can I add it?
I’m using the latest version of WP, and the Gutenberg editor.
]]>TypeError: Cannot read property 'family' of undefined
at https://kevnana.de/wp-content/plugins/block-options/build/index.js?ver=1627292572:16:388063
at we (https://kevnana.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:84:293)
at zj (https://kevnana.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:226:496)
at Th (https://kevnana.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:223)
at tj (https://kevnana.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:152)
at Te (https://kevnana.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:151)
at https://kevnana.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:68
at unstable_runWithPriority (https://kevnana.de/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260)
at Da (https://kevnana.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280)
at Pg (https://kevnana.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:14)
And also, if we go into a new post (without page breaks yet), open on the left side the block menu and even only hover with the mouse over the “Page Break” Button, automatically the editor closes with similar error messages.
I think the button appeared for the first time, when also the black green “Library” Button appeared at the top of the editor.
We are using WordPress 5.8 in German. Even the editor crashes in the backend (which makes editing pages with Page Break blocks impossible), in the frontend everything looks fine.
Are there any bug fixes for this? Or is it possible to download the plugin in an older version (1.31.0? 1.30.0?)
With kind regards,
Kevin Lang