Support

Akeeba Backup for WordPress

#35747 – Akeeba Pro restore.php returning invalid Json

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 02 September 2021 19:26 CDT
23creative

When using Akeeba pro for WP. Selecting and backup and then clicking restore. i keep getting 

The extraction has failed

Extraction of the backup archive has failed.
The last error message was:

Unexpected token a in JSON at position 0

atus":true,"message":null}

Screen shot attached with chrome console response. if i edit restore.php file to include and additional 3 ### the script knid of works for a bit but fails after a bit. Looks like the restore.php file is recreated without my edits

If it helps at all i am running the site under Valet

Custom Fields

WordPress version (in x.y.z format) 5.8
PHP version (in x.y.z format) 7.4.16
Akeeba Backup version (x.y.z format) 7.5.11
Thursday, 02 September 2021 19:48 CDT
23creative

also with this. running twenty twenty theme and no other plugins installed

Friday, 03 September 2021 03:39 CDT
nicholas

Clear your browser's cache.

We made a change in restore.php and made the respective change in our JavaScript. However, your browsers seems to have cached the older version of the JavaScript which expected a different format of the data returned by restore.php. Clearing the browser's cache will solve that problem.

This may not work if you are restoring a backup taken with an older version of Akeeba Backup. In this case the restore.php file will be replaced during the restoration so the next request to it will fail because the old version of restore.php responds. In this case just use Kickstart to extract your backup archive.



Nicholas K. Dionysopoulos

Lead Developer and Director



🇬🇷Greek: native

🇬🇧English: excellent

🇫🇷French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



Sunday, 03 October 2021 20:17 CDT
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!