Title: TypeError error when editing page
Last modified: October 8, 2021

---

# TypeError error when editing page

 *  Resolved [modelscoordinationil](https://wordpress.org/support/users/modelscoordinationil/)
 * (@modelscoordinationil)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/typeerror-error-when-editing-page/)
 * I’m getting the following error when trying to edit a page (it does not happen
   when editing a post)
    I’ll appreciate any help in fixing this error or finding
   what can be causing it. Thanks, Marcos
 *     ```
       TypeError: Cannot destructure property 'setUsedPageOrPatternsModal' of '(0 , a.useDispatch)(...)' as it is null.
           at d (https://mot-roundtbl.org/wp-content/plugins/full-site-editing/starter-page-templates/dist/starter-page-templates.js?ver=1633703947:6:2305)
           at we (https://mot-roundtbl.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:84:293)
           at zj (https://mot-roundtbl.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:226:496)
           at Th (https://mot-roundtbl.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:223)
           at tj (https://mot-roundtbl.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:152)
           at Te (https://mot-roundtbl.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:151)
           at https://mot-roundtbl.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:68
           at unstable_runWithPriority (https://mot-roundtbl.org/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260)
           at Da (https://mot-roundtbl.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280)
           at Pg (https://mot-roundtbl.org/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:14)
       ```
   

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/typeerror-error-when-editing-page/#post-14952288)
 * Your `full-site-editing` plugin seems to be the error.
 * Access your server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), navigate to /wp-content/plugins/
   and rename or delete the directory of this plugin.
 * Next, report the issue at that plugin’s support.
 *  Thread Starter [modelscoordinationil](https://wordpress.org/support/users/modelscoordinationil/)
 * (@modelscoordinationil)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/typeerror-error-when-editing-page/#post-14953487)
 * Thanks very much for the help.
    After some checking the problem seem to originate
   in the “WordPress.com Editing Toolkit” plugin by Automattic. After disabling 
   the plugin the editing is back to normal. I will report in the plugin forum for
   a fix as you suggest. Marcos
    -  This reply was modified 4 years, 7 months ago by [modelscoordinationil](https://wordpress.org/support/users/modelscoordinationil/).
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/typeerror-error-when-editing-page/#post-14954179)
 * Glad its sorted 🙂

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

The topic ‘TypeError error when editing page’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/typeerror-error-when-editing-page/#post-14954179)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
