Title: Javascript error
Last modified: August 31, 2021

---

# Javascript error

 *  Resolved [sgarcy](https://wordpress.org/support/users/sgarcy/)
 * (@sgarcy)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-202/)
 * Hi there!
 * I think I’ve come across a bug that exists in at least version 16.7 and 16.9 
   resulting in a WSOD and stopping my page from loading. Upon attempting to edit
   a page I receive the following:
 *     ```
       post-edit-1690.js:1 Uncaught (in promise) TypeError: o.models.Page is not a constructor
           at post-edit-1690.js:1
           at c (jquery.min.js?ver=3.6.0:2)
           at Object.add [as done] (jquery.min.js?ver=3.6.0:2)
           at post-edit-1690.js:1
           at data.min.js?ver=7bfa3a673439e85e459d5ec92d30fdda:2
           at Array.forEach (<anonymous>)
           at c (data.min.js?ver=7bfa3a673439e85e459d5ec92d30fdda:2)
           at data.min.js?ver=7bfa3a673439e85e459d5ec92d30fdda:2
           at b (data.min.js?ver=7bfa3a673439e85e459d5ec92d30fdda:2)
           at redux-routine.min.js?ver=7f20dbcdb5d5645c977063e356eb95cf:2
       ```
   
 * This appears to be thrown when Yoast is looking for the Parent Page Title of 
   a nested page (which doesn’t exist in this case).
 * I’m not entirely sure how to share a link because the issue appears when trying
   to edit the page.
 * Please let me know if this is a known issue or if there’s more information I 
   can provide!
 * Thanks,
    Sean

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

 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-202/#post-14825699)
 * Often, we see problems occur in combination with another plugin or theme. The
   fastest way to rule out any conflict, is to **deactivate all non-Yoast plugins
   and switch to a standard theme** like [Twenty Twenty](https://wordpress.org/themes/twentytwenty/).
 * Please test this on your development or staging site, if you have one. If not,
   we recommend using the [Health Check & Troubleshooting](https://wordpress.org/plugins/health-check/)
   plugin. This plugin has a troubleshooting mode, which **does not affect normal
   visitors to your site**.
 * If you’re unfamiliar with checking for conflicts, we’d like to point you to a
   step-by-step guide that will walk you through the process: [How to check for plugin conflicts](https://yoast.com/help/how-to-check-for-plugin-conflicts/)
 *  Thread Starter [sgarcy](https://wordpress.org/support/users/sgarcy/)
 * (@sgarcy)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-202/#post-14828804)
 * Hi [@mazedulislamkhan](https://wordpress.org/support/users/mazedulislamkhan/)
   thank you for the reply.
 * I’ll review your recommendations and reply back here once I’ve done some more
   troubleshooting.
 * Thanks
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-202/#post-14829559)
 * [@sgarcy](https://wordpress.org/support/users/sgarcy/) You’re welcome, and please
   let us know the results once completed.
 *  Thread Starter [sgarcy](https://wordpress.org/support/users/sgarcy/)
 * (@sgarcy)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-202/#post-14829601)
 * Hi [@mazedulislamkhan](https://wordpress.org/support/users/mazedulislamkhan/)
 * I’ve gone through your troubleshooting steps and the issue stems from the Yoast
   plugin. In troubleshooting mode of the Health Check & Troubleshooting plugin,
   I’ve disabled all plugins on my site and reverted to the standard Twenty Twenty
   theme. With everything disabled, the issue does not occur. As soon as I enable
   Yoast SEO and Yoast SEO Premium, the issue occurs and throws the same error:
 *     ```
       post-edit-1690.js:1 Uncaught (in promise) TypeError: o.models.Page is not a constructor
           at post-edit-1690.js:1
           at c (jquery.min.js?ver=3.6.0:2)
           at Object.add [as done] (jquery.min.js?ver=3.6.0:2)
           at post-edit-1690.js:1
           at data.min.js?ver=7bfa3a673439e85e459d5ec92d30fdda:2
           at Array.forEach (<anonymous>)
           at c (data.min.js?ver=7bfa3a673439e85e459d5ec92d30fdda:2)
           at data.min.js?ver=7bfa3a673439e85e459d5ec92d30fdda:2
           at b (data.min.js?ver=7bfa3a673439e85e459d5ec92d30fdda:2)
           at redux-routine.min.js?ver=7f20dbcdb5d5645c977063e356eb95cf:2
       ```
   
 * Can you tell me what my next steps are to get this looked into?
 * Thanks,
    Sean
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-202/#post-14829978)
 * Do you have an active Yoast SEO Premium subscription? If yes, please do feel 
   free to shoot us an email directly at [support@yoast.com](https://wordpress.org/support/topic/javascript-error-202/support@yoast.com?output_format=md)
   with the link to the current thread so that we could deep dive into the issue
   further for you.
 *  Thread Starter [sgarcy](https://wordpress.org/support/users/sgarcy/)
 * (@sgarcy)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-202/#post-14832112)
 * Thanks [@mazedulislamkhan](https://wordpress.org/support/users/mazedulislamkhan/)
   will do!
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-202/#post-14833910)
 * Hi [@sgarcy](https://wordpress.org/support/users/sgarcy/)
 * Since you have an active Yoast SEO Premium subscription, we’ll be closing this
   thread. Please do feel free to send us an email directly and we’ll try our best
   to address your concern from there.
 * Thank you!

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

The topic ‘Javascript error’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-202/#post-14833910)
 * Status: resolved