Home › Forums › WordPress Plugins › Hide My WP › Console Errors related to HMWP JS files
- This topic has 11 replies, 2 voices, and was last updated 5 years, 4 months ago by dcipher.
-
AuthorPosts
-
August 1, 2019 at 3:21 am #27117dcipherPost count: 66
Hi Suman,
I just recently went through a fresh configuration and noticed that once the HMWP config is active, I start seeing bunch of JS load and access errors in the browser console which seem to be specific to the hide_my_wp plugin on a number of pages. After disabling the hmwp config from htaccess, the errors disappear.
I’ve attached a screenshot of the error for your reference, note the path in the far right side of the screenshot.
Also, BTW,I notice that when disabling the plugin, the htaccess file doesn’t get updated to remove hmwp’s changes. I have to first reset them via hmwp using the WP reset button, then disable the plugin.
Attachments:
You must be logged in to view attached files.August 1, 2019 at 3:53 am #27119dcipherPost count: 66This reply has been marked as private.August 1, 2019 at 4:16 am #27123dcipherPost count: 66This reply has been marked as private.August 1, 2019 at 5:40 pm #27130Suman M.Post count: 12478Hi, regarding the script error, please try emptying out “Ajax URL” field in Permalinks & URLs tab.
I notice that when disabling the plugin, the htaccess file doesn’t get updated to remove hmwp’s changes. I have to first reset them via hmwp using the WP reset button, then disable the plugin.
>> We’ve noted this and will be fixed in upcoming versions.Looks to be a problem with your update checking code.
>> We are already aware of this and will be fixed in the next version.Why is the HMWP folder being referenced in the screenshot path still ‘hide_my_wp’ even after hiding plugin names?
>> Where exactly? Make sure that you are using the latest version (5.6.2) of the plugin.August 2, 2019 at 3:41 am #27135dcipherPost count: 66This reply has been marked as private.August 2, 2019 at 4:59 am #27141Suman M.Post count: 12478I checked your site but I cannot see such script error. May be HMWP is deactivated? Can you please activate it and let us know the page url where we can check the above script error.
Regarding ‘hide_my_wp’ visible in the path, it’s issue in older version of the plugin which was fixed in latest version 5.6.2
Make sure that you have latest version.August 2, 2019 at 5:38 am #27142dcipherPost count: 66This reply has been marked as private.August 3, 2019 at 2:16 am #27150Suman M.Post count: 12478Hi, I checked it and the issue seems to be related to Nonce replacement. Can you please try disabling “Change Nonce” option in source Code tab?
Let us know.August 3, 2019 at 8:03 am #27155dcipherPost count: 66This reply has been marked as private.August 4, 2019 at 1:26 pm #27174Suman M.Post count: 12478Please add this replacement in “replace in html”:
wordpress/inc.css ==> wordpress/wp-includes.css
August 4, 2019 at 1:31 pm #27175Suman M.Post count: 12478If the above replacement doesn’t work then please deactivate HMWP plugin and let us know the original css path of tinymce. Then you can activate HMWP again.
August 5, 2019 at 6:24 am #27186dcipherPost count: 66Hi Suman,
You were close 🙂
The filename was actually …wordpress/wp-content.css
HMWP was configured to replace the wp-content directory to “inc” which must have also been overwriting the CSS filename.
I’ve applied the change and it’s no longer erroring.
Thanks for your help mate, brilliant work.
-
AuthorPosts
You must be logged in to reply to this topic.