Permalink change not possible (JSON error)

Hello together,

I have built a wordpress site and now wanted to change the default permalink to the post name. Unfortunately this does not work. Apart from the home page, all other pages are no longer accessible (Not Found
The requested URL was not found on this server).

I use:
– Worspress 6.0.2
– Apache2
– Ubuntu 22.04 LTS
– php8.1

What I have already tried:
– All plugins disabled
– Reset the theme to “Twenty Twenty-Two
– deleted the .htaccess file and created it again
– Linux updates (system, apache2, php)

When I try to publish a new page or edit an existing one in that state, I get this error: “Update failed. The response is not a valid JSON response” (translated into English).

I can’t find any help via googling now unfortunately and hope for support here.

Greetings from Germany

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer