• fotske

    (@fotske)


    Hi,

    I cannot create new stores since the new version of WordPress (6.1) (or the new version of Store Locator, I don’t know).
    When I click on “New store”, I get this error:
    “The editor encountered an unexpected error.”

    TypeError: (0 , ko.isAppleOS) is not a function
        at https://www.mywebsite.com/wp-includes/js/dist/editor.min.js:12:51498
        at ct (https://www.mywebsite.com/wp-includes/js/dist/vendor/react-dom.min.js:9:43430)
        at It (https://www.mywebsite.com/wp-includes/js/dist/vendor/react-dom.min.js:9:48875)
        at os (https://www.mywebsite.com/wp-includes/js/dist/vendor/react-dom.min.js:9:113180)
        at Ur (https://www.mywebsite.com/wp-includes/js/dist/vendor/react-dom.min.js:9:77643)
        at Ir (https://www.mywebsite.com/wp-includes/js/dist/vendor/react-dom.min.js:9:77571)
        at Dr (https://www.mywebsite.com/wp-includes/js/dist/vendor/react-dom.min.js:9:77434)
        at Pr (https://www.mywebsite.com/wp-includes/js/dist/vendor/react-dom.min.js:9:74429)
        at https://www.mywebsite.com/wp-includes/js/dist/vendor/react-dom.min.js:9:30173
        at unstable_runWithPriority (https://www.mywebsite.com/wp-includes/js/dist/vendor/react.min.js:9:7431)

    Could you please solve this error?

    Thank you very much for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • farroyo

    (@farroyob)

    Hi there!

    Um, this is weird. These issues seem to be related to the Gutenberg editor, for some reason if you are using the Gutenberg editor for editing your stores (which is the default for WordPress 6), it fails. Have you checked if the same thing happens when you are editing other post types, like regular posts?

    You can also try to change momentarily your theme to one of the default themes that come bundled with WordPress, or even try momentarily disabling the Gutenberg Editor (via the “Classic Editor” plugin), and see if the error persists.

    Let us know what happens.
    Regards,

    Thread Starter fotske

    (@fotske)

    Hello,

    It does not work with regular post neither.

    However, I tried to copy the website on a staging website and it works on the staging website.
    It’s strange. Can it be due to the htaccess file or something like that?

    Thank you very much for your help.

    farroyo

    (@farroyob)

    Hi again,

    Well, actually the cause for this is hard for me to know. Yes, it could be caused by some misconfiguration of the web server, or something weird in your .htaccess file, but I cannot tell from “the outside”.

    If the website works when copied to a staging hosting, obviously there is something misconfigured in the production site.

    Talk to your hosting provider, as they will probably be able to take a look at the server logs and see if anything is misconfigured there.

    Regards!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I cannot create new stores since the new WP version’ is closed to new replies.