Title: Post Editor Error
Last modified: May 9, 2021

---

# Post Editor Error

 *  [lightscamerabake](https://wordpress.org/support/users/lightscamerabake/)
 * (@lightscamerabake)
 * [5 years ago](https://wordpress.org/support/topic/post-editor-error-2/)
 * Hi,
 * When I try to edit a post, the editor presents a dialogue box stating ‘the editor
   has encountered an unexpected error’.
 * This is the error code:
 *     ```
       Error: An error occurred while running 'mapSelect': URL is not a constructor
       The error may be correlated with this previous error:
       TypeError: URL is not a constructor
           at t.getSiteUrl (https://www.lightscamera-bake.com/wp-content/plugins/wordpress-seo/js/dist/post-edit-1620.js:1:52397)
           at https://c0.wp.com/c/5.7.1/wp-includes/js/dist/data.min.js:2:20027
           at r (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/data.min.js:2:19592)
           at https://www.lightscamera-bake.com/wp-content/plugins/wordpress-seo/js/dist/block-editor-1620.js:1:143980
           at Object.current (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/data.min.js:2:31396)
           at https://c0.wp.com/c/5.7.1/wp-includes/js/dist/data.min.js:2:30908
           at s (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/data.min.js:2:25154)
           at Object.__experimentalMarkListeningStores (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/data.min.js:2:25561)
           at https://c0.wp.com/c/5.7.1/wp-includes/js/dist/data.min.js:2:30208
           at e (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/data.min.js:2:30885)
   
       Original stack trace:
           at Ge (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/data.min.js:2:30611)
           at https://c0.wp.com/c/5.7.1/wp-includes/js/dist/data.min.js:2:31371
           at we (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/vendor/react-dom.min.js:84:293)
           at He (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/vendor/react-dom.min.js:97:464)
           at zj (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/vendor/react-dom.min.js:228:406)
           at Th (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/vendor/react-dom.min.js:152:223)
           at tj (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/vendor/react-dom.min.js:152:152)
           at Te (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/vendor/react-dom.min.js:146:151)
           at https://c0.wp.com/c/5.7.1/wp-includes/js/dist/vendor/react-dom.min.js:61:68
           at unstable_runWithPriority (https://c0.wp.com/c/5.7.1/wp-includes/js/dist/vendor/react.min.js:25:260)
       ```
   

Viewing 1 replies (of 1 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [5 years ago](https://wordpress.org/support/topic/post-editor-error-2/#post-14417218)
 * The error is indicating a plugin, so you should ask in the support forum for 
   that plugin. [https://wordpress.org/support/plugin/wordpress-seo/](https://wordpress.org/support/plugin/wordpress-seo/)
   
   Also, it’s not clear why all your WP references are from wp.com. This is not 
   normal for a self-hosted WP, which is what these forums are for.

Viewing 1 replies (of 1 total)

The topic ‘Post Editor Error’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/post-editor-error-2/#post-14417218)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
