• Hi guys,

    when I go in wp-admin into Pages and try to edit existing page (by click on page name or Edit) then I will get this error mentioned below. Do you know how to solve it, please?

    Fatal error: Uncaught Error: Call to undefined function wp_theme_has_theme_json() in /home/users/galanterieroznov/masaze-roznov.jednoduse.cz/web/wp-admin/edit-form-blocks.php:206 Stack trace: #0 /home/users/galanterieroznov/masaze-roznov.jednoduse.cz/web/wp-admin/post.php(187): require() #1 {main} thrown in /home/users/galanterieroznov/masaze-roznov.jednoduse.cz/web/wp-admin/edit-form-blocks.php on line 206https://masaze-roznov.jednoduse.cz/
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    This problem may be a plugin or theme conflict. Please attempt to deactivate all plugins and switch to the default Twenty Twenty-One theme. If the problem goes away, re-activate them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to deactivate all plugins and change the theme for you while you’re still logged in without affecting normal visitors to your site.

    Hello @kubanondrej

    This error message is usually caused by an outdated WordPress version or theme, or a conflict with a plugin. Here are some troubleshooting steps that you can follow to fix the issue:

    1. Update WordPress and Themes: Ensure you are using the latest version of WordPress and your themes. You can check for updates by navigating to Dashboard > Updates. If updates are available, update them and see if the issue goes away.
    2. Disable Plugins: Sometimes, the issue can be caused by a plugin that conflicts with your theme. You can try disabling all your plugins and see if the issue goes away. If it does, you can start reactivating your plugins individually to find the one causing the issue.
    3. Check for Compatibility: Make sure your theme is compatible with the version of WordPress that you are using. You can check the theme’s documentation or contact the theme’s developer to confirm compatibility.
    4. Switch to a Default Theme: You can try switching to a default WordPress theme (like Twenty Twenty-Three) to see if the issue goes away. If it does, then the issue is likely with your current theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined function wp_theme_has_theme_json(’ is closed to new replies.