Title: Can&#8217;t alter and delete elements
Last modified: November 14, 2021

---

# Can’t alter and delete elements

 *  Resolved [rsbl29](https://wordpress.org/support/users/rsbl29/)
 * (@rsbl29)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/cant-alter-and-delete-elements/)
 * It seems like deletion and ordering of elements is not functioning (see screenshot
   attached) in the latest release.
 * Console says:
 *     ```
       data.min.js:2 Uncaught (in promise) {code: 'rest_missing_callback_param', message: 'Fehlende(r) Parameter: post_type', data: {…}}code: "rest_missing_callback_param"data: {status: 400, params: Array(1)}message: "Fehlende(r) Parameter: post_type"Prototype: Object
       (anonymous) @ data.min.js:2
       async function (async)
       (anonymous) @ data.min.js:2
       setTimeout (async)
       (anonymous) @ data.min.js:2
       s @ data.min.js:2
       (anonymous) @ custom-layouts.js:6
       (anonymous) @ data.min.js:2
       (anonymous) @ data.min.js:2
       __experimentalMarkListeningStores @ data.min.js:2
       (anonymous) @ data.min.js:2
       (anonymous) @ data.min.js:2
       Te @ data.min.js:2
       (anonymous) @ data.min.js:2
       we @ react-dom.min.js:84
       zj @ react-dom.min.js:226
       Th @ react-dom.min.js:152
       tj @ react-dom.min.js:152
       Te @ react-dom.min.js:146
       Ja @ react-dom.min.js:224
       md @ react-dom.min.js:173
       (anonymous) @ react-dom.min.js:175
       Rh @ react-dom.min.js:147
       nd @ react-dom.min.js:175
       I.render @ react-dom.min.js:238
       (anonymous) @ custom-layouts.js:14
       n @ custom-layouts.js:1
       (anonymous) @ custom-layouts.js:14
       n @ custom-layouts.js:1
       (anonymous) @ custom-layouts.js:1
       (anonymous) @ custom-layouts.js:1
       core-data.min.js:2 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'singular_name')
           at core-data.min.js:2
           at lodash.min.js:41
           at lodash.min.js:54
           at ue (lodash.min.js:35)
           at lodash.min.js:53
           at Pe (lodash.min.js:40)
           at yf (lodash.min.js:85)
           at Object.loadEntities (core-data.min.js:2)
           at loadEntities.next (<anonymous>)
           at redux-routine.min.js:2
       ```
   

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

 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/cant-alter-and-delete-elements/#post-15068228)
 * Hey [@rsbl29](https://wordpress.org/support/users/rsbl29/)
 * Thanks for opening the ticket.
 * I couldn’t see a screenshot but I do see the log of the error you provided.
 * Unfortunately I can’t quite see what the issue is from that message.
 * Could you tell me a little more info about the issue?
 * 1. Where/how are you trying to create your template, directly in the block editor,
   via our template admin page, or the layout admin page?
    2. Can you confirm, you
   are able to add elements to template, but not re-order them? 3. Please add the
   following to your `wp-config.php` file: `define( 'SCRIPT_DEBUG', true );` Then
   can you check the error message again and share with me? This will give us more
   useful information in the error log you shared. * Taken from: [https://wordpress.org/support/article/debugging-in-wordpress/#script_debug](https://wordpress.org/support/article/debugging-in-wordpress/#script_debug)
   4. Can you try disabling all other plugins (and change to a default theme), temporarily–
   to see if the issue goes away? (then we’ll have a better idea of where to look
   for an issue)
 * Thanks
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/cant-alter-and-delete-elements/#post-15121758)
 * Hey [@rsbl29](https://wordpress.org/support/users/rsbl29/)
 * As I didn’t hear back from you for a while I’m going to go ahead and close this
   ticket.
 * Feel free to re-open once you have more information / if you are still experiencing
   this issue – I’m keen to get to the bottom of it!
 * Thanks

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

The topic ‘Can’t alter and delete elements’ is closed to new replies.

 * ![](https://ps.w.org/custom-layouts/assets/icon-256x256.png?rev=2475457)
 * [Custom Layouts - Post + Product grids made easy](https://wordpress.org/plugins/custom-layouts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-layouts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-layouts/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-layouts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-layouts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-layouts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Code Amp](https://wordpress.org/support/users/codeamp/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/cant-alter-and-delete-elements/#post-15121758)
 * Status: resolved