The-seo-framework: Primary Term selector doesn't like multiple taxonomies

Created on 6 Dec 2018  路  1Comment  路  Source: sybrew/the-seo-framework

Via Scottie's report:

Apparently, the holder isn't created.

https://github.com/sybrew/the-seo-framework/blob/d0e1876ecb1f52b47860bcf3ec2643030210593c/lib/js/pt-gb.js#L80

TypeError: Cannot read property 'value' of null
    at getPrimaryTermID (http://example.com/wp-content/plugins/autodescription/lib/js/pt-gb.js?ver=3.2.1:80:77)
    at revalidatePrimaryTerm (http://example.com/wp-content/plugins/autodescription/lib/js/pt-gb.js?ver=3.2.1:93:24)
    at Object.initSelectors (http://example.com/wp-content/plugins/autodescription/lib/js/pt-gb.js?ver=3.2.1:285:6)
    at Object.render (http://example.com/wp-content/plugins/autodescription/lib/js/pt-gb.js?ver=3.2.1:310:11)
    at Fd (http://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:92:367)
    at Mf (http://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:92:160)
    at ph (http://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:98:474)
    at eg (http://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:125:307)
    at fg (http://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:126:168)
    at wc (http://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:138:237)

[Component] JES5 [Impact] Admin [Type] Bug

>All comments

I am using extended-cpts to create custom post types and taxonomies. When I add the show_in_rest arg to my custom taxonomy I get the following error..

screen shot 2018-12-06 at 10 40 21 am

If I turn The SEO Framework plugin off the error goes away.

Was this page helpful?
0 / 5 - 0 ratings