Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5970

REST API Error on Wordpress site - Ubuntu

$
0
0

I think I'm going crazy.I've tried all the problems I've seen on the internet but I can't solve them.I installed wordpress but I can't make any changes to any page. It's like wordpress can't access the server files.REST API gives this error:

The REST API encountered an errorPerformanceThe REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.When testing the REST API, an error was encountered:REST API Endpoint: https://borasozer.com/wp-json/wp/v2/types/post?context=editREST API Response: (http_request_failed) stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000410:SSL routines::sslv3 alert handshake failure stream_socket_client(): Failed to enable crypto stream_socket_client(): Unable to connect to ssl://borasozer.com:443 (Unknown error)

I also get this error when I make changes to the page and try to update it:

Updating failed. The response is not a valid JSON response.

Even if I changed the permission of all Wordpress files to 777, it did not change. I may have made a mistake in the HTTPS change when setting SSL, but I couldn't solve it.

I tried the solutions related to .htaccess but I couldn't get out of it. Saving the Permalink section again and again did not create a solution. I guess it can't write to .htacces in any way.Also, even though my pages have permalinks, none of them appear on the website except the homepage. I cannot change the main page nor the others.

Can someone help me, thanks...


Viewing all articles
Browse latest Browse all 5970

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>