• Resolved deyson

    (@deyson)


    Hello.

    It seems I have a 404 error of a file calling for /asset-manifest.json on my root directory.
    My host says it could be your plugin as it is called in ./wp-content/plugins/font-awesome/includes/class-fontawesome.php

    Please let me know if this is the case and what I could do to resolve this.

    Thank you and have a lovely day.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author mlwilkerson

    (@mlwilkerson)

    Hello,

    It doesn’t sound like this plugin could be the culprit. Here are some reasons why I think that:

    (1) Here’s where the asset-manifest.json file is accessed in class-fontawesome.php. It’s not retrieved by the JavaScript client from the WordPress web server (which is the only way you’d see that 404). It’s read in as a disk file on the server and its contents are parsed to find the path to use as a URL.

    So I don’t think there’s ever a time when this plugin actually causes a web browser to request something called “asset-manifest.json”. The fact that this file appears in the codebase is just because the JavaScript code for the plugin’s admin settings page is built with webpack, which is a common tool for building JavaScript apps.

    (2) If it did, the only time our plugin’s JavaScript app runs in the browser is when you’re using its settings page. So if you’re seeing that 404 at any other time, I don’t know how it could possibly be this plugin causing it.

    (3) I loaded this plugin’s settings page and verified that it never issues a request to the web server for asset-manifest.json.

Viewing 1 replies (of 1 total)
  • The topic ‘Missing Asset-Manifest.json’ is closed to new replies.