• Resolved epretorious2

    (@epretorious2)


    I’m attempting to migrate a WP site from one domain on a very old server (i.e., EXAMPLE.org) to a new domain on a very new server (EXAMPLE.com).

    Before migrating: I accessed the installer via the full URL at the old site just to be certain that the installer is functioning correctly. (It is!)

    But when I access the installer via the full URL at the new site: I receive this error…

    [PHP ERR][FATAL] MSG:Uncaught TypeError: decoct(): Argument #1 ($num) must be of type int, string given in /var/www/vhosts/EXAMPLE.com/httpdocs/20200610_EXAMPLEorg_AFTER_c2193158be6df9376875_20200611035230_installer.php:607 Stack trace: 
    
    #0 /var/www/vhosts/EXAMPLE.com/httpdocs/20200610_EXAMPLEorg_AFTER_c2193158be6df9376875_20200611035230_installer.php(607): decoct() 
    
    #1 /var/www/vhosts/EXAMPLE.com/httpdocs/20200610_EXAMPLEorg_AFTER_c2193158be6df9376875_20200611035230_installer.php(583): DUPX_Bootstrap->setPermsOnItem() 
    
    #2 /var/www/vhosts/EXAMPLE.com/httpdocs/20200610_EXAMPLEorg_AFTER_c2193158be6df9376875_20200611035230_installer.php(566): DUPX_Bootstrap->setPerms() 
    
    #3 /var/www/vhosts/EXAMPLE.com/httpdocs/20200610_EXAMPLEorg_AFTER_c2193158be6df9376875_20200611035230_installer.php(497): DUPX_Bootstrap->fixInstallerPerms() 
    
    #4 /var/www/vhosts/EXAMPLE.com/httpdocs/20200610_EXAMPLEorg_AFTER_c2193158be6df9376875_20200611035230_installer.php(1608): DUPX_Bootstrap->run() 
    
    #5 {main} thrown [CODE:1|FILE:/var/www/vhosts/EXAMPLE.com/httpdocs/20200610_EXAMPLEorg_AFTER_c2193158be6df9376875_20200611035230_installer.php|LINE:607]

    Is this a fatal error? Or is this error something that I can correct? (Remember: The installer seems to work on the old server. But it throws this error on the new server!)

    TIA,

    Eric Pretorious

    • This topic was modified 2 years, 4 months ago by epretorious2.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter epretorious2

    (@epretorious2)

    UPDATE: I just noticed that on the previous site on the old server even though I’d specified the FULL name of the installer (http://EXAMPLE.com/20200610_EXAMPLEorg_AFTER_c2193158be6df9376875_20200611035230_installer.php) the installer redirected me to http://EXAMPLE.org/dup-installer/main.installer.php

    Does that seem right?

    HTH,

    Eric P.

    Thread Starter epretorious2

    (@epretorious2)

    FWIW:

    I’ve confirmed these errors occur whether I’m using PHP 8.1.27 or I’m using PHP 8.2.15.

    And I’ve confirmed these errors occur whether I select FastCGI or I select FPM.

    HTH,

    Eric P.

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @sebastian,

    Thank you for contacting Duplicator support!

    We are sorry you ran into an issue with Duplicator. Please accept our apologies for this inconvenience. I will do my best to help you to resolve your problem

    I understand that you couldn’t install a backup, and you got the below error:

    [PHP ERR][FATAL] MSG:Uncaught TypeError: decoct(): Argument #1 ($num) must be of type int, string given in …/installer.php

    It looks like you are trying to import an old package that has been created with a PHP version of less than 8.

    So, you need to downgrade your destination website’s PHP version to 7.4 and retry the installation.

    I hope this helps, and I’m looking forward to your reply.

    Thanks!

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @sebastian,

    I’m closing this support topic for inactivity. Please don’t hesitate to contact us in a Support Topic if you need any help with Duplicator.

    Thanks! 

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Can NOT Extract Archive’ is closed to new replies.