- December 5, 2022 at 6:20 pm #40411
I have created a staging copy of the live site to investigate the issue. The header is created using Elementor Pro with a shortcode widget used to place the code for my search instance “[wd_asp id=1]“.
I have tried turning off all plugins (apart from Elementor and Ajax Search Pro) and still seeing the same issue.
In the ASP settings, the search field looks fine when previewed. I have added a couple of screenshots showing the issue on the frontend and the backend settings preview showing how the search instance should look.
Any help much appreciated…
Attachments:You must be logged in to view attached files.December 6, 2022 at 11:02 am #40426
Thank you for the details, I have found the problem.
The site URL is using the “http://” protocolol in the settings explicitly, but the actual front-end is redirected to the SSL version “https://”. That causes the issue, because the plugin tries to request the WP_CONTENT_URL constant from WordPress, but it is using the non-secure protocol URL. When the stylesheet is enqueued, then it is not accepted by the browser, because it is coming from the non-secure protocol URL.
The best solution to this is to change the settings, so that the core site URL to the
https://version, it will avoid a lot of possible future conflicts.
I have made a tiny change to the core plugin files to force the correct protocol it resolved the problem, I will include that in the upcoming release too, it will ignore the protocol from the settings and detect automatically which one to use instead.Best,
If you like my products, don't forget to rate them on codecanyon :)
December 6, 2022 at 2:58 pm #40441
Great – thanks for looking at this for me.
RobDecember 6, 2022 at 3:01 pm #40442
You must be logged in to reply to this topic.