• Resolved jrt341

    (@jrt341)


    I’m unable to edit settings on my site. It’s coming up with an error that says. form contains invalid data:

    Please review the following fields:

    • Reviews – Social image: wpseo_titles.social-image-id-saswp_reviews must be a number type, but the final value was: NaN (cast from the value "false").
    • Collections – Social image: wpseo_titles.social-image-id-saswp-collections must be a number type, but the final value was: NaN (cast from the value "false").
    • Structured Data – Social image: wpseo_titles.social-image-id-saswp must be a number type, but the final value was: NaN (cast from the value "false").
    • Collections – Archive social image: wpseo_titles.social-image-id-ptarchive-saswp-collections must be a number type, but the final value was: NaN (cast from the value "false").

    I had the same error prior to this but the list of following fields were other than this and upon deletion of Yoast plugin and re-installation the settings were able to be save a few times and then this error started.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @jrt341,

    I’m sorry you couldn’t save the Yoast SEO settings. Can you confirm that you have uploaded an organization logo in Yoast SEO > Settings > General > Site Representation?

    Thread Starter jrt341

    (@jrt341)

    Yes there is a organization logo uploaded.

    Plugin Support Maybellyne

    (@maybellyne)

    Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty-Two.

    Please test this on your development or staging site if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts

    Thread Starter jrt341

    (@jrt341)

    So going through and turning on plugins one at a time has shown that WooCommerce is the culprit. Now what? I can’t get rid of WooCommerce on my site.

    Plugin Support Maybellyne

    (@maybellyne)

    @jrt341, I have brought out this issue internally, and we are testing it. In the meantime, using the using the Health Check & Troubleshooting plugin, please switch to troubleshooting mode and deactivate WooCommerce. Then save those changes and disable troubleshooting mode.

    Let me know if that workaround helps.

    Thread Starter jrt341

    (@jrt341)

    Do we have any next steps on this issue? Like I said before deactivating WooCommerce isn’t an option. On my test site deactivating WooCommerce fixes the issue, I have another plugin Facebook for WooCommerce that has an item showing up in the error message for Facebook Product Sets – Social Image with the same NaN errors as my original post in this thread. If I turn off that one plugin that one NaN error goes away for the item associated with that plugin.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘form contains invalid data can’t edit settings error’ is closed to new replies.