• Resolved chillmen

    (@chillmen)


    Hi,
    If i go to edit post, i can’t see in the side panel: categories selection and tags selection
    Plus i have an error in chrome dev:

    Mixed Content: The page at 'https://www.xxxxxxx.com/wp-admin/post.php?post=28017&action=edit' was loaded over HTTPS, but requested an insecure resource 'https://www.xxxxxxx.com/wp-json/wp/v2/users/me/?_locale=user'. This request has been blocked; the content must be served over HTTPS.
    post.php?post=28017&action=edit:1 Mixed Content: The page at 'https://www.xxxxxxx.com/wp-admin/post.php?post=28017&action=edit' was loaded over HTTPS, but requested an insecure resource 'https://www.xxxxxxx.com/wp-json/wp/v2/taxonomies/?per_page=100&context=edit&_locale=user'. This request has been blocked; the content must be served over HTTPS.
    data.min.js?ver=4.9.2:1 Uncaught (in promise) {code: "invalid_json", message: "The response is not a valid JSON response."}
    
    data.min.js?ver=4.9.2:1 Uncaught (in promise) TypeError: Failed to fetch

    If i use the plugin “Classic editor” errors gone and everything is working normal.

    What i tried so far and testing after every step:
    Create a staging website, disable all plugins, change to default theme (twenty twenty),
    remove everyhting in htaccess and keep only wp codes, add https redirect (with wp codes in htaccess)

    I checked that i have “https” in “wp-config.php” for site url and home
    I checked wp options database that https are present for site url and home

    I’m using this code to redirect to https:

    RewriteEngine on
    # force SSL
    RewriteCond     %{SERVER_PORT} ^80$
    RewriteRule     ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]

    I don’t know where to look else?
    need you help

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • i cant upload images bcause of JSON too
    and i feel helpless
    who can help?

    Thread Starter chillmen

    (@chillmen)

    I solved the problem, by doing a reset for my user roles and wordfence,
    i don’t know which one solved the problem!
    if you have the same problem try to reset wordfence first

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gutenberg Json and https errors’ is closed to new replies.