Studio by WordPress.com, a free desktop app that helps developers streamline their local WordPress development workflow.
GNU General Public License v2.0
193
stars
18
forks
source link
Import fails when using a site with PHP 7 #558
Closed
fluiddot closed 1 month ago
Quick summary
Importin a backup file on a site that uses PHP 7 fails with the following error:
Steps to reproduce
7.4
.What you expected to happen
No failures when importing a back up filebackup.
What actually happened
Importing a backup file failed.
Impact
Most (> 50%)
Available workarounds?
No but the app is still usable
Platform
Mac Silicon, Mac Intel, Windows
Logs or notes
The function mentioned in the error logs (
str_ends_with
) is only supported in PHP 8: https://www.php.net/manual/en/function.str-ends-with.php