Support

Account

Home Forums Backend Issues (wp-admin) Fresh install of ACF Pro missing acf.min.js — file not present on server

Solved

Fresh install of ACF Pro missing acf.min.js — file not present on server

  • I have most recent version of Pro Plugin

    After extensive debugging I traced the issue to a missing file. The file acf.min.js is not present on the server at the expected path:

    /wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js
    Important note: The previous version of ACF Pro installed on this site had the same issue — acf.min.js was also missing. This suggests the file may be missing from the plugin package itself, or there is something specific about my environment that is preventing this file from being included.
    Evidence:

    Requesting the file directly returns HTTP 404 from the origin server
    All other ACF JS files (acf-input.min.js, acf-pro-input.min.js, etc.) return 200 and are present
    All ACF CSS files load correctly (200)
    The acf JavaScript object never initializes on page load (typeof acf === ‘undefined’)
    License is active and verified
    Issue persists across two separate ACF Pro installs/versions

    Version installed: 6.8.0.1
    WordPress version: latest
    Server: SiteGround (nginx)
    Can you confirm whether acf.min.js should exist at that path, and if so provide a direct download or advise on why it may be missing from the package?

    these are all console errors, I tuned off every other plugin an dit didnt help

    Uncaught SyntaxError: expected expression, got ‘<‘ acf.min.js:1:1
    Uncaught ReferenceError: acf is not defined (acf-input.min.js)
    Uncaught ReferenceError: acf is not defined (acf-pro-input.min.js)
    Uncaught ReferenceError: acf is not defined (acf-pro-ui-options-page.min.js)
    Uncaught SyntaxError: expected expression, got ‘<‘ select2.full.min.js:1:1
    Uncaught SyntaxError: expected expression, got ‘<‘ papaparse.min.js:1:1

    i emptied cache on siteground cloudflare.. this stared today, i never changed anything on my site, all week it all worked fine until now

  • This reply has been marked as private.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.