Hi @ngonzales07 ,
This is an issue with Google Maps rather than WPJM, which doesn’t provide any map functionality out of the box. So while you can enter the Google API key in WPJM’s settiings, it’s primarily used for ensuring that jobs listings are compliant with Google Jobs. Secondarily, it’s used by some 3rd-party plugin and theme makers to display maps.
We more details on this here:
https://wpjobmanager.com/document/geocoding-with-googles-maps-api
That said, the problem appears to be this script which your page is trying to load:
“http://https/?key=<replaced actual key>s&ver=1.1#038;language=en®ion=US”
I don’t know where that’s coming from, but something on your site is trying to load the key on http rather than https, hence the error.
What does the WPJM Client Side Encoder plugin do? I’d try disabling that and see if that clears it up. Otherwise, I’d reach out to the developer of that plugin for help.
Best,
Cena
Thank you for your response,
I tested your theory on disabling the client side encoder, I do believe that was an old plugin that we used to geocode our listings upon a bulk import. And that did get rid of that error I was talking about. I did test it on this site https://www.top100realestateagents.com/submit-listing/; however, it is still not giving me the map upon clicking on preview though. And the only warnings/errors I’m being given are:
“You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.”
“VM3771 js:230 Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading”
But this definitely seems like it is not a WP Job Manager error, possibly more of the theme error.
Plugin Support
Jay
(@bluejay77)
Hi there,
Thank you for troubleshooting this issue and following up with us.
But this definitely seems like it is not a WP Job Manager error, possibly more of the theme error.
Yes, it sounds like this may be a theme-related issue.
To rule out theme/plugin issues, I recommend running a theme/plugin conflict test by setting up a staging site (as a clone of your site), and switching to a default WordPress theme (such as Twenty Twenty) and disabling all plugins except WP Job Manager.
Many hosts provide a staging service, where you can do testing without affecting the live site. You can ask your host about this.
If they don’t give you a staging site, you could try WP Staging or Duplicator:
https://ww.wp.xz.cn/plugins/wp-staging/
https://ww.wp.xz.cn/plugins/duplicator/
If you can narrow the issue down to a theme or plugin(s), I recommend reaching out to the developer to resolve this issue.
If you were able to reproduce this issue even on a default theme and no other plugins enabled, I recommend submitting a bug report in our GitHub repository with reproducible steps.
Thanks!