• Resolved acegoulet

    (@acegoulet)


    When apple news is activated for a custom post type, we are getting the following errors when trying to create or edit posts in that custom post type, rendering the block editor unusable:

    TypeError: Cannot read property 'apple_news_api_created_at' of undefined
        at render (https://roadtrippers.com/wp-content/plugins/publish-to-apple-news/build/pluginSidebar.js?ver=399a6e300bdaabf151f1faecd2cfb13e:2:34671)
        at we (https://roadtrippers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:84:293)
        at zj (https://roadtrippers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:226:496)
        at Th (https://roadtrippers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:223)
        at tj (https://roadtrippers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:152)
        at Te (https://roadtrippers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:151)
        at https://roadtrippers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:68
        at unstable_runWithPriority (https://roadtrippers.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260)
        at Da (https://roadtrippers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280)
        at Pg (https://roadtrippers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:14)

    I also deactivated all other plugins and switched to the default 2021 WP theme and the error is still present.

    • This topic was modified 3 years, 6 months ago by acegoulet.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error on custom post type’ is closed to new replies.