Conversation
supportHello 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.
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.