• Resolved nima12312

    (@nima12312)


    Hello everyone

    In the Bit File Manager editor, when I try to edit the function.php file after saving, it gives the following error:
    “The file contains JS code. Please remove the code and try again. Or allow js mimetype”

    While in the default WordPress editor there is no problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nima12312

    (@nima12312)

    Has anyone ever had this error?

    Plugin Support wayes001

    (@wayes001)

    Thank you for reaching out, and we hope you’re doing well.

    To resolve the issue you’re experiencing in the Bit File Manager editor, please follow these steps:

    1. Navigate to the “Permissions” settings within Bit File Manager.
    2. Under “Allowed MIME types,” add JavaScript (JS) to the list.
    3. Save the settings and try editing the functions.php file again.

    If the issue still persists after this, feel free to contact us at [email protected], and we’ll be happy to assist you further.

    Thank you again for your patience and for using our product!

    Thread Starter nima12312

    (@nima12312)

    I thought the setting was the same as the preferences.

    Thanks, my problem was solved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘ERROR “The file contains JS code. Please remove …”’ is closed to new replies.