- This topic has 3 replies, 2 voices, and was last updated 2 months, 2 weeks ago by Tom.
July 2, 2020 at 9:06 am #1349673Mike
I’m new to GP Premium and am trying to add a new header element. If I try to click a tab such as ‘Display Rules’ nothing happens. After some troubleshooting, I discovered that this only happens if I’m in wp-admin via HTTPS/SSL. If I go to wp-admin via HTTP without SSL it works fine. HTTP will be redirected to HTTPS when the site is finished, so this isn’t really a feasible workaround for me.
I tried this on an existing WP deployment as well as a fresh install – happens in both cases. I deactivated all plugins aside from GP Premium and tried different browsers etc. I also tried after having both a proper SSL cert and self-signed cert setup, no difference. I’m using the latest version of GP Premium and the theme.
From the firefox developer console, I see following error appear as soon as I click to add a new element and the drop down is displayed to select the element type. No errors appear from HTTP.
TypeError: $(…).select2 is not a function metabox.js:66:25
I’ll sometimes see this one as well afterward:
TypeError: d is undefined wp-auth-check.min.js:2:1535
Any ideas?July 2, 2020 at 2:20 pm #1349903TomLead DeveloperLead Developer
It sounds like something is messed up with your http requests.
The fact that you can switch between
httpsis likely the issue.
I would force
httpsin your admin (and your front-end) and redirect all
https. That should prevent any sort of http/resource issues.July 3, 2020 at 10:47 am #1350893Mike
Thanks for your reply. Looks like it was indeed something wrong with my HTTPS implementation. Previously it wasn’t working on both a freshly deployed site (where you could switch between HTTP/HTTPS) as well as another that was configured for HTTPS only.
I deployed a new VPS and re-did the SSL configuration from scratch. Now it seems to be working fine. I’m not sure what I did differently but, but hey, at least it works now 🙂
MikeJuly 3, 2020 at 2:31 pm #1351062
- You must be logged in to reply to this topic.