Support

Site Restoration

#41605 After Site restoration we have JSON Problems / Elementor Pro does not run

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
8.1
CMS Type
WordPress
CMS Version
6.7.2
Backup Tool Version
9.0
Kickstart version
8.0.6

Latest post by nicholas on Wednesday, 19 February 2025 06:33 CST

Lehmann

We developed a small website with WordPress, Elementor Pro, and Crocoblock for a client in our data center.

The plan was to Backup this website with Akeeba and restore it 1:1 on the customer server using Kickstart.
The restoration went smoothly without any errors. We were able to access the admin environment without any issues.

However, when we tried to create a page, and wile typing the title, we get "Updating failed: The response is not a valid JSON response."



We tried saving the permalinks again and save them again, but without success.

Then, we reinstalled WordPress and all modules step by step on the client's server.
Creating a page worked without any problems.

Both servers are running Ubuntu 8.1.2-1ubuntu2.20.

What could be the issue?

nicholas
Akeeba Staff
Manager

Did you select Elementor's tables in the Data Replacement page when restoring the site?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Lehmann

yes it do,

but i think it is wordpres Rest API Problem

Now I have disabled alle Plugins in the wordpress environment.

First i check JSON
In the root from this website /var/www/html/fotoapprod i write a small script test.php and the Server response is ok (look at Attachment 1 and 2)

Now i installed the Classic Editor
With this Editor i can create Posts without problems (look at Attachment 3)

Now i try to open this posts (look at Attachment 4) 
The request URL was not found on this server















 

nicholas
Akeeba Staff
Manager

You cannot access /wp-json/wp/v2/posts without being authenticated. You should have gotten a 403 Forbidden error. Most likely you got the 404 Not Found because the server is set up to use custom error pages but the custom error page file does not exist.

I have a very important question. When you said this:

Then, we reinstalled WordPress and all modules step by step on the client's server.
Creating a page worked without any problems.

Did you use the EXACT same version of WordPress, with the EXACT same username and password for your Administrator, and the EXACT same versions of Elementor and other plugins?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Lehmann

i have solved the problem, i add this into the apache config and restart the server.


<Directory "/var/www/html/fotoappprod">
   Options FollowSymLinks
   AllowOverride All
   Order allow,deny
   Allow from all
</Directory>

nicholas
Akeeba Staff
Manager

I can understand how that would be necessary, but I don't understand how in this case installing a new WordPress site on the same directory would work and the restored site wouldn't. That is why I discounted server issues. I guess that you were talking about different servers?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Lehmann

Yes, that's correct, I was talking about different servers. Thank you for the help, please close the ticket.

nicholas
Akeeba Staff
Manager

OK, now it all makes sense. I thought I was going crazy for a second 😅

Have a wonderful day!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!