Thanks for your reply. I have gone through the troubleshooting steps and I found out that it was related to a customization of my child theme.
The code that I had to remove was related to deferring the parsing of javascript. Is there a way I can continue to defer the parsing of javascript but retaining the functionality of the essential grid plugin on those pages? Below was my customization that caused the error:
// defer parsing of javascript
function defer_parsing_of_js( $url ) {
if ( is_user_logged_in() ) return $url; //don't break WP Admin
if ( FALSE === strpos( $url, '.js' ) ) return $url;
if ( strpos( $url, 'jquery.js' ) ) return $url;
return str_replace( ' src', ' defer src', $url );
}
add_filter( 'script_loader_tag', 'defer_parsing_of_js', 10 );


