使用复制器安装 wordpress 时出错

You*_*rak 1 php xampp wordpress plugins

我想使用 Duplicator Pro 将网站从一台服务器转移到另一台服务器。当我打开 Installer.php 时出现此错误。

Fatal error: Uncaught TypeError: decoct(): Argument #1 ($num)  must be of type int, string given in C:\xampp\htdocs\wp\installer.php:713 Stack trace: #0 C:\xampp\htdocs\wp\installer.php(713): decoct('u+rwx') #1 C:\xampp\htdocs\wp\installer.php(689): DUPX_Bootstrap->setPermsOnItem('dup-installer', 'u+rwx') #2 C:\xampp\htdocs\wp\installer.php(672): DUPX_Bootstrap->setPerms('dup-installer', 'u+rwx', false) #3 C:\xampp\htdocs\wp\installer.php(598): DUPX_Bootstrap->fixInstallerPerms('http://localhos...') #4 C:\xampp\htdocs\wp\installer.php(1788): DUPX_Bootstrap->run() #5 {main} thrown in C:\xampp\htdocs\wp\installer.php on line 713
Run Code Online (Sandbox Code Playgroud)

我尝试在另一台电脑上安装,运行正常!有任何想法吗?

小智 7

我遇到了同样的问题,因为我的源系统是 PHP 7.3.19 上的 Debian Linux 服务器,目标系统是 PHP 8.0.0 上带有 XAMPP 的 Windows 10。使用 PHP 7.4.13 降级到 XAMPP 后,安装按预期进行。BR蒂尔曼