Title: getEditedPostAttribute error
Last modified: January 30, 2025

---

# getEditedPostAttribute error

 *  Resolved [tracyschneidergerwen10](https://wordpress.org/support/users/tracyschneidergerwen10/)
 * (@tracyschneidergerwen10)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/geteditedpostattribute-error/)
 * A client of mine has a problem accessing the Pinning, Exclusion and Related Posts
   options in a few of their post types in WordPress. This is only happening in 
   custom post types and only in some custom post types, others work as expected.
   When the Pinning, Exclusion and Related Posts options are clicked on for certain
   CPTs, we receive the following message: “The editor has encountered an unexpected
   error.” with buttons to Copy Post Text and Copy Error. I copied the error and
   shared it with my developer who researched it and provided me with the actual
   error produced, which is `TypeError: select(...).getEditedPostAttribute(...) 
   is undefined`, and indicated he doesn’t think it is something he can fix without
   support from your team. My client thought they had an active premium version 
   of Relevanssi (and their website has the premium version of the Relevanssi plugin
   installed, obviously), but their account shows that has expired. Would a lapsed
   license impact the CPTs? I provided an example of a page where this is happening,
   but I understand you will not be able to access the editor view of it to try 
   and replicate the issue.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgeteditedpostattribute-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/geteditedpostattribute-error/#post-18276125)
 * Pinning, exclusion and related posts are Premium features. I’m not allowed to
   provide Premium support here, so please send your question through [Premium support](https://www.relevanssi.com/support/).
 * Expired license doesn’t stop the plugin from working, so that’s not the problem,
   that much I can tell.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

## Tags

 * [exclusion](https://wordpress.org/support/topic-tag/exclusion/)
 * [pinning](https://wordpress.org/support/topic-tag/pinning/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/geteditedpostattribute-error/#post-18276125)
 * Status: resolved