使用复制器安装 wordpress 时出错
error by installing wordpresswith duplicator
我想使用 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
我试过在另一台电脑上安装,正常!有什么想法吗?
我遇到了同样的问题,因为我的源系统是 PHP 7.3.19 上的 Debian Linux 服务器,而目标系统是 Windows 10 XAMPP在 PHP 8.0.0 上。
使用 PHP 7.4.13 降级到 XAMPP 后,安装按预期进行。
BR
蒂尔曼
我想使用 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
我试过在另一台电脑上安装,正常!有什么想法吗?
我遇到了同样的问题,因为我的源系统是 PHP 7.3.19 上的 Debian Linux 服务器,而目标系统是 Windows 10 XAMPP在 PHP 8.0.0 上。 使用 PHP 7.4.13 降级到 XAMPP 后,安装按预期进行。 BR 蒂尔曼