WPIntell

Source evidence

ERROR “The file contains JS code. Please remove …”

File Manager · support · 2025-03-31T10:29:00+00:00

mixedsentiment
mediumseverity
0.84relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 25 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
nima12312 resolved
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. Has anyone ever had this error? 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: Navigate to the “Permissions” settings within Bit File Manager. Under “Allowed MIME types,” add JavaScript (JS) to the list. Save the settings and try editing the functions.php file again. If the issue still persists after this, feel free to contact us at support@bitapps.pro , and we’ll be happy to assist you further. Thank you again for your patience and for using our product! I thought the setting was the same as the preferences. Thanks, my problem was solved.

Comments

3 shown
nima12312 2025-04-01T08:56:00+00:00

Has anyone ever had this error?

wayes001 2025-04-05T10:08:00+00:00

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: Navigate to the “Permissions” settings within Bit File Manager. Under “Allowed MIME types,” add JavaScript (JS) to the list. Save the settings and try editing the functions.php file again. If the issue still persists after this, feel free to contact us at support@bitapps.pro , and we’ll be happy to assist you further. Thank you again for your patience and for using our product!

nima12312 2025-04-05T13:01:00+00:00

I thought the setting was the same as the preferences. Thanks, my problem was solved.