Title: JavaScript Error
Last modified: July 22, 2024

---

# JavaScript Error

 *  Resolved [andrewjae](https://wordpress.org/support/users/andrewjae/)
 * (@andrewjae)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/javascript-error-234/)
 * Hello, i migrated a new server. However, the Jobs List is not showing on our 
   page. You can check here and see [Best Zambia Jobs ](https://www.bestzambiajobs.com/jobs).
 * When i inspect the url, i see this error
 * wpjm-stats.js?ver=07904eeaa2cdf65ab5ef:1 Uncaught TypeError: Cannot read properties
   of undefined (reading ‘mark’)
   at Object.p (wpjm-stats.js?ver=07904eeaa2cdf65ab5ef:
   1:2600)at Object.impression (wpjm-stats.js?ver=07904eeaa2cdf65ab5ef:1:3762)at
   wpjm-stats.js?ver=07904eeaa2cdf65ab5ef:1:3171at Array.forEach ()at Object.init(
   wpjm-stats.js?ver=07904eeaa2cdf65ab5ef:1:3096)at wpjm-stats.js?ver=07904eeaa2cdf65ab5ef:
   1:4500
 * Kindly advise on how i can solve the issue
 * Thank you
 * Andrew
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-234%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [andrewjae](https://wordpress.org/support/users/andrewjae/)
 * (@andrewjae)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/javascript-error-234/#post-17904365)
 * Hello, I have discovered the error is being caused by the Plugin “**Regions for
   WP Job Manager**”
 * When i deactivate it, the Job List appears but the Error is still shown in the
   Console
 * Kindly advice since i want **Regions for WP Job Manager** to be active.
 *  [wgicioau122](https://wordpress.org/support/users/wgicioau122/)
 * (@wgicioau122)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/javascript-error-234/#post-17904578)
 * Weirdly I started noticing this error in the console as well the ajax posts return“
   success”:true,”data”:
   I do not recall any recent updates to Regions, stats or
   job manager plugin, WordPress was recently updated to 6.6 perhaps this is why
   the error has started to pop up
 *  [Mike R. (a11n)](https://wordpress.org/support/users/mdrockwell/)
 * (@mdrockwell)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/javascript-error-234/#post-17905344)
 * [@andrewjae](https://wordpress.org/support/users/andrewjae/), if you’re having
   trouble with the Regions for WP Job Manager plugin, I’d suggest reaching out 
   in [that plugin’s support forum](https://wordpress.org/support/plugin/wp-job-manager-locations/).
 * If you’re having trouble with WP Job Manager, though, have you tried switching
   to a default theme, such as [Twenty Twenty](https://wordpress.org/themes/twentytwenty/),
   and disabling all other plugins to see if the problem persists?
 *  [wgicioau122](https://wordpress.org/support/users/wgicioau122/)
 * (@wgicioau122)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/javascript-error-234/#post-17906305)
 * We should move this discussion over to github as others are experienceing it 
   [https://github.com/Automattic/WP-Job-Manager/issues/2834#issuecomment-2242846863](https://github.com/Automattic/WP-Job-Manager/issues/2834#issuecomment-2242846863)
 *  Thread Starter [andrewjae](https://wordpress.org/support/users/andrewjae/)
 * (@andrewjae)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/javascript-error-234/#post-17906602)
 * Hi
 * Yes, i changed to default theme. It didnt work
 * I then disabled all plugins apart from Job Manager. I then found out that **Regions
   for WP Job Manager**  was causing the issue. When its deactivated, the Job List
   in front page shows up. I have now disabled it.
 * However, when you still open [https://www.bestzambiajobs.com/](https://www.bestzambiajobs.com/)
   you will see this error in the Console.
 * Uncaught TypeError: Cannot read properties of undefined (reading ‘mark’)
   at Object.
   p (41d7e.js?x25378:1:2600)at Object.impression (41d7e.js?x25378:1:3762)at 41d7e.
   js?x25378:1:3171at Array.forEach ()at Object.init (41d7e.js?x25378:1:3096)at 
   41d7e.js?x25378:1:4500
 * Still need help on that
 *  Plugin Support [Joash (a11n)](https://wordpress.org/support/users/joashrajin/)
 * (@joashrajin)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/javascript-error-234/#post-17906956)
 * [@andrewjae](https://wordpress.org/support/users/andrewjae/) regarding:
 * > However, when you still open [https://www.bestzambiajobs.com/](https://www.bestzambiajobs.com/)
   > you will see this error in the Console.
 * It looks like some JavaScript minification is being used on your site. Can you
   try disabling that and then rechecking?
 * If you can confirm every single plugin besides WP Job Manager is deactivated,
   then it could be a server side minification feature that is doing this. You can
   speak to your host about disabling it, as it seems to be causing an error in 
   the code.
 *  [wgicioau122](https://wordpress.org/support/users/wgicioau122/)
 * (@wgicioau122)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/javascript-error-234/#post-17907090)
 * [@joashrajin](https://wordpress.org/support/users/joashrajin/) please look at
   the github thread, this is not related to regions. other people are starting 
   to report the problem. The issue hopefully will get fixed in the next update
 *  Plugin Support [Joash (a11n)](https://wordpress.org/support/users/joashrajin/)
 * (@joashrajin)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/javascript-error-234/#post-17907329)
 * [@wgicioau122](https://wordpress.org/support/users/wgicioau122/) good catch! 
   I see what you mean and can confirm that our developers are on it.
 * The reason why it originally looked like a minification issue was due to the 
   fact that the site reported originally is using minification, and the files loaded
   are minified.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘JavaScript Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-job-manager/assets/icon-256x256.gif?rev=2975257)
 * [WP Job Manager](https://wordpress.org/plugins/wp-job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-manager/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)

 * 8 replies
 * 4 participants
 * Last reply from: [Joash (a11n)](https://wordpress.org/support/users/joashrajin/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/javascript-error-234/#post-17907329)
 * Status: resolved