-
Hi... after working for a long while I realize the site no longer visualises connections: nira.com.au at the bottom of the page
jQuery version: https://code.jquery.com/jquery-3.6.0.min.js any help or suggestions would be highly appreciated 🙏 Lorenzo. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is a script order issue. At the top of your page source I see this script: <script type="text/javascript">
let jqueryParams=[],jQuery=function(r){return jqueryParams=[...jqueryParams,r],jQuery},$=function(r){return jqueryParams=[...jqueryParams,r],$};window.jQuery=jQuery,window.$=jQuery;let customHeadScripts=!1;jQuery.fn=jQuery.prototype={},$.fn=jQuery.prototype={},jQuery.noConflict=function(r){if(window.jQuery)return jQuery=window.jQuery,$=window.jQuery,customHeadScripts=!0,jQuery.noConflict},jQuery.ready=function(r){jqueryParams=[...jqueryParams,r]},$.ready=function(r){jqueryParams=[...jqueryParams,r]},jQuery.load=function(r){jqueryParams=[...jqueryParams,r]},$.load=function(r){jqueryParams=[...jqueryParams,r]},jQuery.fn.ready=function(r){jqueryParams=[...jqueryParams,r]},$.fn.ready=function(r){jqueryParams=[...jqueryParams,r]};</script> This appears to be a kind of jQuery stub, not sure where it comes from and what it does. This stub doesn't represent a full jQuery. At the time you initialize connections, this stub is still representing jQuery. The actual jQuery is loaded later. Please move the scripts needed for connections (which I'd also reverse in order to be on the safe side) <script type='text/javascript' src='https://nira.com.au/wp-content/themes/index-niri-divi_child/js/connectionSettings.js' id='connect-settings-js'></script>
<script type='text/javascript' src='https://nira.com.au/wp-content/themes/index-niri-divi_child/js/jquery.connections.js' id='connect-app-js'></script> further down, probably to somewhere after <script type='text/javascript' src='https://nira.com.au/wp-includes/js/jquery/jquery-migrate.min.js' id='jquery-migrate-js'></script> |
Beta Was this translation helpful? Give feedback.
This is a script order issue.
At the top of your page source I see this script: