A
A
Alexandra2020-07-13 23:28:52
PHP
Alexandra, 2020-07-13 23:28:52

Why the error occurs - update error. Is the response not a valid JSON response?

Problem with wordpress. On the local everything works fine, after transferring to the host, this error occurs when the page is updated, while everything is ok in the records. Plz tell me how can I fix this?
The line from the log with the error:

2020/07/13 23:10:25 [error] 24811#24811: *86294652 openat() "/var/www/u110586/data/www/testing.ru//wp-json/wp/v2/pages/373" failed (2: No such file or directory), client: 85.173.126.103, server: testing.ru, request: "POST /wp-json/wp/v2/pages/373?_locale=user HTTP/1.1", host: "u110586.com4.ru", referrer: "http://u110586.com4.ru/wp-admin/post.php?post=373&action=edit"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2020-07-13
@AlexaShemetova

I suspect that the error is in two slashes //after the site name:

var/www/u110586/data/www/testing.ru//wp-json/wp/v2/pages/373

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question