• Resolved jazzmeister

    (@jazzmeister)


    I am having an issue where I have created some categories using taxonomy in CPT UI, but whenever I try and add meta descriptions etc using YOAST on these, the data does not save. It is not a problem saving meta data anywhere else on the site. Has anyone any clue as to why this is happening?

    Many thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I’m curious if the browser developer console is showing anything for errors that may help with this.

    This is just for SEO metaboxes on your term editor screen correct? And you’re uptodate with both plugins and they’re on the latest versions?

    Thread Starter jazzmeister

    (@jazzmeister)

    Yes, good idea, there are some Yoast errors showing here:

    Uncaught TypeError: Cannot read property ‘registerPlugin’ of undefined
    at new App (yoast-acf-analysis.js?ver=3.0.1:11)
    at initializeYoastACFAnalysis (yoast-acf-analysis.js?ver=3.0.1:409)

    It is the metaboxes on the Yoast SEO plugin screen for the particular category, so I see SEO Title, Slug, Meta description, none of which will save.

    Thread Starter jazzmeister

    (@jazzmeister)

    Having said that, I tried deactivating the YoastACF analysis plugin, but it doesn’t resolve the issue, just takes away the error message on console.

    I am also getting the following errors on console:

    media-models.min.js?ver=5.8:2 Uncaught TypeError: _.contains is not a function
        at Function.r.extend.get (media-models.min.js?ver=5.8:2)
        at n._requery (media-models.min.js?ver=5.8:2)
        at n._changeQuery (media-models.min.js?ver=5.8:2)
        at p (backbone.min.js?ver=1.4.0:2)
        at f (backbone.min.js?ver=1.4.0:2)
        at c (backbone.min.js?ver=1.4.0:2)
        at h.Model.n.trigger (backbone.min.js?ver=1.4.0:2)
        at h.Model.set (backbone.min.js?ver=1.4.0:2)
        at n.initialize (media-models.min.js?ver=5.8:2)
        at n.h.Collection (backbone.min.js?ver=1.4.0:2)
    autocomplete.min.js?ver=1.12.1:9 Uncaught TypeError: this._addClass is not a function
        at t.<computed>.<computed>._create (autocomplete.min.js?ver=1.12.1:9)
        at t.<computed>.<computed>.t.each.t.isFunction.l.<computed> [as _create] (backend.js?ver=5.8:56)
        at t.<computed>.<computed>._createWidget (backend.js?ver=5.8:56)
        at new t.<computed>.<computed> (backend.js?ver=5.8:56)
        at HTMLInputElement.<anonymous> (backend.js?ver=5.8:56)
        at Function.each (backend.js?ver=5.8:14)
        at k.fn.init.each (backend.js?ver=5.8:14)
        at k.fn.init.t.fn.<computed> [as autocomplete] (backend.js?ver=5.8:56)
        at i.onPostRender (wp-tinymce.js?ver=49110-20201110:45)
        at i.a (wp-tinymce.js?ver=49110-
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you send me your “Debug info” tab content from the Tools menu? In there I’ll be able to import your post type and taxonomy settings and see if anything looks off there, or if settings may be somehow interfering.

    Beyond that, I’m really not sure what to suggest here thus far

    Thread Starter jazzmeister

    (@jazzmeister)

    I have messaged you in Slack. Many thanks

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not managing to recreate thus far. I’ve imported your post types and taxonomies, and activated Yoast SEO and the premium upgrade as well.

    My best hunch is that one of the other plugins may still be interfering somehow, but I don’t know which or how.

    Thread Starter jazzmeister

    (@jazzmeister)

    Okay thanks for trying, I will try deactivating them one by one and see if it is one of the plugins.

    Thread Starter jazzmeister

    (@jazzmeister)

    Ah found it. There was a plugin called Custom Post Types created by Andrea De Giovine – I disabled that and the Meta Boxes now work as they should. Not sure why original builder of site had another Custom Post plugin installed. That must have been confusing things. Thanks again Michael.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    That one was feeling a bit odd from the list of plugins shared, but didn’t want to touch any more than I had to for debugging. Glad you got it figured out and thanks for the coffee 🙂

    Thread Starter jazzmeister

    (@jazzmeister)

    Yeah that other plugin is causing me all sorts of other issues it seems. Having issues with the block editor now, unfortunately a whole section of posts has been created using that plugin, and it has no export, so looks like I am going to have to cope and paste everything manually and completely redo, before deactivating it. 🙁

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    If it’s just creating post types for you, among whatever else it may be also doing, and not storing the post content and whatnot in custom areas, then you should be able to just re-register the same slug and whatnot with CPTUI and inherit everything without content moving. As long as those post type posts and meta are in the appropriate database tables, they should be pretty portable.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Yoast not saving on CPT UI taxonomy categories’ is closed to new replies.