• Hi,

    I get this error when I try to create a Sync Pattern.
    This only occurs when using the block core/spacer ! With other blocks like Paragraph or Image, it works fine.

    Cannot read properties of undefined (reading ‘wp_pattern_sync_status’)

    And in the console I get this :
    Failed to load resource: the server responded with a status of 403 ()
    /wp-json/wp/v2/blocks?_locale=user:1

    Thank you very much for helping me!

    [ i deactivated all plugins + tried with other themes + refreshed the htaccess, but still get the error ]

    • This topic was modified 9 months, 1 week ago by charlie67p.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter charlie67p

    (@charlie67p)

    UPDATE 01

    I tried to Add pattern via Import Json (I could export Pattern as Json from another website)
    Error again (and only with pattern including wp spacer !)

    Now I get this message :
    Cannot read properties of undefined (reading ‘title’)

    I also tried by creating new website with a fresh new WP install + on a new subdomain + with new database. And I get the error again, and only when using core/spacer !

    This makes me crazy

    UPDATE 02

    I just realized that I’m having exactly the same issue when using a core Group block inside a Sync Pattern …

    • This reply was modified 9 months, 1 week ago by charlie67p.
    Thread Starter charlie67p

    (@charlie67p)

    OK, I deactivated Lighspeedcache, and miracle : seems to work now… I still need some tests to be sure it was the only problem, and to mark my Topic as resolved… coming back soon

    Moderator bcworkz

    (@bcworkz)

    Do you still get that console error (failed to load resource) when you get those WP cannot read errors?

    If so the problem likely resides outside of WP and lies within your server configuration somewhere. If WP is denied access to its API resources it will fail to function properly. There are no file permissions to check since it’s an API request, but servers can still deny specific requests. For example, the modSecurity configuration may need modification (if it’s even in use).

    Another possible cause is if WP is failing to receive your auth cookie that your browser should have sent. Either your browser failed to send it or some process (proxy or server) along the way dropped it.

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

The topic ‘Cannot read properties wp_pattern_sync_status’ is closed to new replies.