Maybe your page is not appearing correctly, and you’ve noticed an error in the console.

The formatting for the WP Job Openings job search page was not appearing correctly on the website.

Check if it’s a caching issue with WP Rocket.

Bypass WP Rocket's caching and optimizations

Add the following query string to the end of the url

				
					?nowprocket
				
			

This was the page without the query string

Screenshot 2024 06 11 105248

This was the page with the query string

Screenshot 2024 06 11 105437

Check for any errors in the Console

Load the page in Chrome and check the Console. 

				
					JQMIGRATE: Migrate is installed, version 3.4.1


jquery.min.js?ver=3.7.1:2 jQuery.Deferred exception: awsmJobsPublic is not defined ReferenceError: awsmJobsPublic is not defined
    at HTMLDocument.<anonymous> (https://www.domain.co.uk/wp-content/plugins/wp-job-openings/assets/js/script.min.js?ver=3.4.6:1:40889)
    at e (https://www.domain.co.uk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)
    at t (https://www.domain.co.uk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330) undefined
    
    
    jquery.min.js?ver=3.7.1:2 jQuery.Deferred exception: awsmJobsPublic is not defined ReferenceError: awsmJobsPublic is not defined
    at HTMLDivElement.<anonymous> (https://www.domain.co.uk/wp-content/plugins/wp-job-openings/assets/js/script.min.js?ver=3.4.6:1:44704)
    at Function.each (https://www.domain.co.uk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:3129)
    at e.<computed>.each (https://www.domain.co.uk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:1594)
    at HTMLDocument.<anonymous> (https://www.domain.co.uk/wp-content/plugins/wp-job-openings/assets/js/script.min.js?ver=3.4.6:1:44651)
    at e (https://www.domain.co.uk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)
    at t (https://www.domain.co.uk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330) undefined
    
    
    jquery.min.js?ver=3.7.1:2 Uncaught ReferenceError: awsmJobsPublic is not defined
    at HTMLDocument.<anonymous> (script.min.js?ver=3.4.6:1:40889)
    at e (jquery.min.js?ver=3.7.1:2:27028)
    at t (jquery.min.js?ver=3.7.1:2:27330)
    
    
    Uncaught ReferenceError: awsmJobsPublic is not defined
    at HTMLDivElement.<anonymous> (script.min.js?ver=3.4.6:1:44704)
    at Function.each (jquery.min.js?ver=3.7.1:2:3129)
    at e.<computed>.each (jquery.min.js?ver=3.7.1:2:1594)
    at HTMLDocument.<anonymous> (script.min.js?ver=3.4.6:1:44651)
    at e (jquery.min.js?ver=3.7.1:2:27028)
    at t (jquery.min.js?ver=3.7.1:2:27330)
				
			

WP Rocket

Add the following to Defer Javascript

				
					\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?( |'|"|>|$)