Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blank pages on WP 6.0.3 with plugin 14.8.1 #46802

Closed
wimdecorte opened this issue Dec 27, 2022 · 3 comments · Fixed by #46806
Closed

blank pages on WP 6.0.3 with plugin 14.8.1 #46802

wimdecorte opened this issue Dec 27, 2022 · 3 comments · Fixed by #46806
Assignees
Labels
Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts

Comments

@wimdecorte
Copy link

The last update to 14.8.1 running on WP 6.0.3, Simplelin theme - made all pages render blank. No error in the browser, just an empty body element

image

In the WP Admin backend most pages also do not show up in the list anymore. The count of pages is still accurate but only a few pages show in the list.
Disabling the plugin brings the website and the backend back.

@t-hamano t-hamano added the Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts label Dec 28, 2022
@t-hamano
Copy link
Contributor

t-hamano commented Dec 28, 2022

Thanks for the report.
It may not be the same error as yours, but I did indeed get a critical error with WordPress 6.0.X.

Fatal error: Uncaught Error: Call to undefined function wp_get_typography_font_size_value()

fatal_error

I replaced wp_get_typography_font_size_value with gutenberg_get_typography_font_size_value in the Gutenberg plugin, and the error no longer seems to occur.

Probably because wp_get_typography_font_size_value is available from WordPress 6.1.

@ockham
Replaced by #44876 with a wp_prefixed function, but considering that the Gutenberg plugin now supports WordPress6.0, should we prefix it back?

@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Dec 28, 2022
@Mamaduka
Copy link
Member

@t-hamano, I believe we only need to replace the method is a single place. See #46806.

@t-hamano
Copy link
Contributor

@Mamaduka
I understand now, thanks 👍

@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants