This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 year, 6 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Errors when changing CSS & JS Loading settings
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 year, 6 months ago.
I was attempting to change my ASP search settings and ran into the following errors:
It happened after I updated the settings under Compatibility & Other Settings:
CSS & JS Loading > Javascript source: changed to Minified (default)
Script loading method to Optimized (recommended)
I’ve reverted the changes for now but was hoping you could help select the best settings and troubleshoot the errors.
Thank you!
Hi,
You have a rule set on the Asset Cleanup plugin, to defer one of the plugin script files: https://i.imgur.com/HlEJsJB.png
This causes the problem, as the other scripts files are not deferred, and the order of execution is not preserved. If you remove the async and defer, features from that script, it will resolve the problem. Or you can enable the same async/defer options to all the other scripts too, that will also work.
You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |