- This topic has 5 replies, 5 voices, and was last updated 6 years, 5 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I was troubleshooting config of smash balloon Facebook feed back plugin. SB support said
Upon viewing your site https://contracostabee.com I determined that jQuery is not defined on your site. Most notably it is lacking a version reference number. The plugin does rely on use of jQuery. I note that this is also causing other issues on your site as well which you can see first hand if you right-click on your site page - select "inspect element" and then check the console for the listed errors.
Is this a problem to originating with my host (synthesis), Genesis 3.x, Mag Pro theme, or Cloudflare? And what would be first steps to track down solution?https://contracostabee.com
They are correct, you can look at your source code to see this and or use developer tools and open the console. Genesis child themes have enqueue jQuery correctly, so it's not that. Something happened between the time this was installed and now. Perhaps someone did something in your functions.php file to unregister jQuery and re-register w/o the version or a less than savory plugin did this. Also you have some assets using http whereas your site is https, this also causes issues.
Thanks carasmo, I've been struggling to fix the the http mixed content but can't seem to find some of the files or don't know how to edit them.
Also reregistering jquery is way beyond my pay grade and ken.
If there are any n the community that could help on this in a short paid project please let me know.
jQuery is preregistered in WordPress. It has nothing to do with Genesis. The jQuery library included with WordPress is set to the noConflict() mode. In the noConflict() mode, the global $ shortcut for jQuery is not available. It's possible that the SB plugin is using the jQuery shortcut without defining it properly. You can learn more about this here: https://codex.wordpress.org/Function_Reference/wp_enqueue_script#jQuery_noConflict_Wrappers
As for the Mixed Active Content issue. This happens because you are loading files with http on a site that is https. This plugin should help: https://wordpress.org/plugins/wp-force-https/
I'm loving it :D!
Sounds really great.
© 2022 WPEngine, Inc.