• Hello,

    I’m currently facing a critical issue on my WordPress multisite (version 6.8.1) where I can no longer create or edit pages from the admin interface. When I try to open /wp-admin/post-new.php?post_type=page, I get the following JavaScript errors in the browser console :

    Uncaught TypeError: wp.i18n is undefined
    Uncaught TypeError: wp.blocks is undefined
    Uncaught TypeError: wp.apiFetch is undefined
    Uncaught ReferenceError: elementorCommon is not defined
    Uncaught ReferenceError: lodash is not defined
    Uncaught ReferenceError: moment is not defined
    Uncaught ReferenceError: tinymce is not defined

    This happens even when:

    • All plugins are deactivated (via WP-CLI)
    • A default theme (Twenty Twenty-Four) is activated
    • All caches (browser, plugin, server-side) have been cleared
    • load-scripts.php still fails to load these scripts properly
    • No intentional updates or changes have been made recently

    I also ran:

    • wp post create → works fine
    • wp core verify-checksums → confirms core files are clean
    • CHECK TABLE wp_posts → no corruption

    This seems to be a fundamental JS loading issue in the admin. Possibly related to:

    • load-scripts.php failing silently
    • Blocked or missing JS files (wp-includes/js/dist/*)
    • Server config (permissions or .htaccess issue?)
    • Elementor/Yoast updates that altered script dependencies?

    I’m running WordPress in multisite mode with subdirectories. The problem persists across sub-sites.

    Has anyone encountered this before?
    Any ideas on how to restore proper JS loading in the admin?

    Thanks in advance for your help!

    Hugo

    • This topic was modified 5 months, 1 week ago by noelsehelp.
Viewing 1 replies (of 1 total)
  • Moderator threadi

    (@threadi)

    Have you tried using a different browser or even a different computer? Unfortunately, there are also tools in these that interfere with websites, sometimes even antivirus programs.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.