Setting page – error on save
-
Hello,
when saving the setting page i get an error “e.match is not a function” and I’m unable to save.
-
I am sorry you are facing the error, however, we need more information.
- Which Yoast SEO settings page is causing the error? Can you kindly share the path?
- What is the version of Yoast SEO and WordPress on your site?
- Does your site meet the plugin requirements?
Hello Mushirt, thanks for your reply!
The path to the page is
/wp-admin/admin.php?page=wpseo_page_settings#/site-features
changing any of the settings brings up a popup with this message (note that “wpseo_titles.social-image-id-eventi must be anumber
” is repeated for every post type and each post type has a link):Oh no! It seems your form contains invalid data. Please review the following fields:
- Eventi – Social image:?wpseo_titles.social-image-id-eventi must be a
number
type, but the final value was:NaN
(cast from the valuefalse
).
If I click on any of the links in the popup it brings me to this page:
/wp-admin/admin.php?page=wpseo_page_settings#/post-type/eventi#button-wpseo_titles-social-image-eventi-previewFrom this page I get this message:
Something went wrong. An unexpected error occurred.
We’re very sorry, but it seems like the following error has interrupted our application:
e.match is not a function
Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we’ll get you all the help you need!Refresh this pageBut even if i refresh the issue persists.
Looking at console in my browser i get this error message:
TypeError: e.match is not a function
at new-settings.js?ver=6d3bf2071ac3b5dfb66f:1:101784
at Object.useMemo (react-dom.min.js?ver=18.3.1:2:66621)
at t.useMemo (react.min.js?ver=18.3.1:2:6087)
at Js (new-settings.js?ver=6d3bf2071ac3b5dfb66f:1:101730)
at hu (react-dom.min.js?ver=18.3.1:2:60308)
at xi (react-dom.min.js?ver=18.3.1:2:119597)
at bs (react-dom.min.js?ver=18.3.1:2:108749)
at vs (react-dom.min.js?ver=18.3.1:2:108677)
at gs (react-dom.min.js?ver=18.3.1:2:108540)Plugin requirements are met, Yoast version is 23.3, WordPress version is 6.6.1
Thank you for the details. To troubleshoot the issue further, please let us know the following:
- Were you able to complete the SEO data optimization in?WordPress > Yoast SEO > Tools?
- Also, have you filled in the fields at?WordPress > Yoast SEO > Settings > Site Representation?
Hello,
I’m able to complete point 1, but filling in the fields at?WordPress > Yoast SEO > Settings > Site Representation gives me the error i reported above.Hello Giovanni,
I’m sorry the issue persists. Please try the following:
- Install the Health Check & Troubleshooting?plugin; it has a troubleshooting mode which does not affect normal visitors to your site.
- Navigate to WordPress > Tools > Site Health > Troubleshooting and click Enable Troubleshooting Mode
- Navigate to WordPress > Plugins > Installed plugins. For Yoast SEO, click Enable while troubleshooting.
- Complete all the Yoast SEO plugin settings and see if you’re able to save.
Once done, you can safely disable troubleshooting mode. Do let us know how it goes.
Hello, I did that by looking at other issues but the problem persisted. So I exported YOAST settings, manually changed what I need and imported settings back.
It worked to change settings, but the issue is still there.This error,
Eventi – Social image:?wpseo_titles.social-image-id-eventi must be a?number?type, but the final value was:?NaN?(cast from the value?false)
, references a CPT or taxonomy –Eventi
.Can you let me know what plugin generates it?
- This reply was modified 2 months, 3 weeks ago by Maybellyne.
This thread was marked resolved due to a lack of recent activity. The original poster can change the status to
Not Resolved
to re-open the issue or open a new topic.
- You must be logged in to reply to this topic.