Title: Gutenberg select categories
Last modified: March 12, 2021

---

# Gutenberg select categories

 *  [tkilimann](https://wordpress.org/support/users/tkilimann/)
 * (@tkilimann)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/gutenberg-select-categories/)
 * I have the following code
 *  wp.data.select( ‘core’ ).getEntityRecords( ‘taxonomy’, ‘category’ );
 * I get this error
 *  Uncaught TypeError: Cannot read property ‘getEntityRecords’ of null
    at Module../
   src/index.js (index.js:6) at __webpack_require__ (bootstrap:79) at checkDeferredModules(
   bootstrap:45) at bootstrap:152 at bootstrap:152
 * If i install another plugin that has nothing to do with this plugin my code works.
   So i tought that i might forget someting to include.

The topic ‘Gutenberg select categories’ is closed to new replies.

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tkilimann](https://wordpress.org/support/users/tkilimann/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/gutenberg-select-categories/)
 * Status: not resolved