Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter vinkmalaysia

    (@vinkmalaysia)

    This is my dev machine env. Intsead of Laragon I even confirmed this with fresh installed latest XAMPP

    XAMPP 3.3.0 (Default PHP 8.2.4)
    Laragon 6.0 (Downloaded PHP 8.2.8)

    MariaDB 10.11
    Windows 10 22H2 19045.3208 (Updated to latest)
    Google Chrome latest

    copied default production config to php.ini with only enabled extensions: curl, gd, mbstring, mysqli, zip

    Fresh download of latest WordPress 6.2.2

    Clean install with only Duplicator Lite and Simply Static

    Screenshot: https://imgur.com/a/qVPME9Y

    Thread Starter vinkmalaysia

    (@vinkmalaysia)

    Hi @mohammedeisa, I think I have found the bug. It wasn’t missing extension. After the package scan completed the ajax returned json with the PHP warning message appended at the end of response. This malformed json caused the json parser to fail, error was thrown in browser console.log and the scan stucked with error.

    This is the ending of the admin-ajax.php call response for duplicator_package_scan action. Notice a few plain text[PHP ERR] lines after end of json }. This is what caused the parsing to fail.

                "wp_wpmailsmtp_tasks_meta": {
                    "Case": 0,
                    "Rows": "0",
                    "Size": "16KB",
                    "USize": "16384"
                }
            },
            "RawSize": 15564800,
            "EasySize": "14.84MB"
        },
        "LL": {
            "TotalSize": "219.81MB",
            "Status": {
                "TotalSize": "Good"
            }
        }
    }[
        PHP ERR
    ][
        ISSUE
    ]MSG: Creation of dynamic property DUP_Archive_Filter_Scope_Directory: : $Size is deprecated[
        CODE: 8192|FILE: C: \laragon\www\vink\wp-content\plugins\duplicator\classes\package\class.pack.archive.php|LINE: 574
    ]<br/>do_action('wp_ajax_duplicator_package_scan'),
    WP_Hook->do_action,
    WP_Hook->apply_filters,
    duplicator_package_scan,
    DUP_Package->runScanner,
    DUP_Archive->getScannerData,
    DUP_Archive->getFileLists,
    DUP_Archive->getFileLists,
    DUP_Archive->addToDirList,
    DUP_Handler: : error,
    DUP_Handler: : getMessage<br/>[
        PHP ERR
    ][
        ISSUE
    ]MSG: Using ${
        var
    }in strings is deprecated,
    use{
        $var
    }instead[
        CODE: 8192|FILE: C: \laragon\www\vink\wp-content\plugins\simply-static\src\class-ss-query.php|LINE: 397
    ]<br/>DUP_Handler: : shutdown,
    DUP_Handler: : error,
    DUP_Handler: : getMessage<br/>

    These warning lines does not show up in 8.1 so the json can be parsed. I do not have pro plan subscribed so I’m most likely couldn’t send support ticket. Would be helpful if you can submit this bug report to your team for investigation. I will use older PHP version atm and wait for bugfix. Thanks

    Thread Starter vinkmalaysia

    (@vinkmalaysia)

    Hi @mohammedeisa, I tried downgrade to php-7.4.9-Win32-vc15-x64 and I can now create the backup. Tested with php-8.1.21-Win32-vs16-x64 it worked as well. Then I tried the latest php-8.2.8-Win32-vs16-x64 and problem appeared again. There should be some incompatibility with php 8.2+

    • This reply was modified 2 years, 8 months ago by vinkmalaysia.
    Thread Starter vinkmalaysia

    (@vinkmalaysia)

    23-07-20:20:26|DUP|970fd8f1|[class.pack.php___________:1049] [DUP_Package::getLocalPackageFile]_____________ | Installer requested 
    23-07-20:20:26|DUP|970fd8f1|[class.pack.php___________:1063] [DUP_Package::getLocalPackageFile]_____________ | File path C:/laragon/www/vink/wp-content/backups-dup-lite/20230629_vink_183dd11b3bfa416c4933_20230723115227_installer.php.bak 
    23-07-20:20:26|DUP|970fd8f1|[class.pack.php___________:1049] [DUP_Package::getLocalPackageFile]_____________ | Installer requested 
    23-07-20:20:26|DUP|970fd8f1|[class.pack.php___________:1063] [DUP_Package::getLocalPackageFile]_____________ | File path C:/laragon/www/vink/wp-content/backups-dup-lite/20230629_vink_dd758d77f253fb657999_20230718080525_installer.php.bak 
    23-07-20:20:27|DUP|970fd8f1|[class.logging.php________: 103] [DUP_Log::Info]________________________________ | [PHP ERR][ISSUE] MSG:Using ${var} in strings is deprecated, use {$var} instead [CODE:8192|FILE:C:\laragon\www\vink\wp-content\plugins\simply-static\src\class-ss-query.php|LINE:397]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Handler::getMessage 
    23-07-20:20:35|DUP|902600ce|[class.logging.php________: 103] [DUP_Log::Info]________________________________ | [PHP ERR][ISSUE] MSG:Creation of dynamic property DateInterval::$w is deprecated [CODE:8192|FILE:C:\laragon\www\vink\wp-content\plugins\resmushit-image-optimizer\resmushit.inc.php|LINE:118]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Handler::getMessage 
    23-07-20:20:37|DUP|467fe3d3|[class.logging.php________: 103] [DUP_Log::Info]________________________________ | [PHP ERR][ISSUE] MSG:Using ${var} in strings is deprecated, use {$var} instead [CODE:8192|FILE:C:\laragon\www\vink\wp-content\plugins\simply-static\src\class-ss-query.php|LINE:397]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Handler::getMessage 
    23-07-20:20:51|DUP|4a492512|[class.logging.php________: 103] [DUP_Log::Info]________________________________ | [PHP ERR][ISSUE] MSG:Using ${var} in strings is deprecated, use {$var} instead [CODE:8192|FILE:C:\laragon\www\vink\wp-content\plugins\simply-static\src\class-ss-query.php|LINE:397]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Handler::getMessage 
    23-07-20:21:03|DUP|b1163a66|[class.logging.php________: 103] [DUP_Log::Info]________________________________ | [PHP ERR][ISSUE] MSG:Using ${var} in strings is deprecated, use {$var} instead [CODE:8192|FILE:C:\laragon\www\vink\wp-content\plugins\simply-static\src\class-ss-query.php|LINE:397]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Handler::getMessage 
    23-07-20:21:08|DUP|2a877870|[class.logging.php________: 103] [DUP_Log::Info]________________________________ | [PHP ERR][ISSUE] MSG:Using ${var} in strings is deprecated, use {$var} instead [CODE:8192|FILE:C:\laragon\www\vink\wp-content\plugins\simply-static\src\class-ss-query.php|LINE:397]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Handler::getMessage 
    23-07-20:21:09|DUP|108d1900|[class.server.php_________: 282] [DUP_Server::logCheckFalse]____________________ | WP is multi-site setup. 
    23-07-20:21:09|DUP|108d1900|[class.pack.archive.php___: 193] [DUP_Archive::initFileListHandles]_____________ | Inif list files 
    23-07-20:21:09|DUP|108d1900|[class.pack.archive.php___: 243] [DUP_Archive::getScannerData]__________________ | START SCAN PATH: C:/laragon/www/vink 
    23-07-20:21:14|DUP|108d1900|[class.logging.php________: 219] [DUP_Log::TraceObject]_________________________ | ADD DIR SIZE::Array
    (
        [ubytes] => 130909301
        [bytes] => 125MB
        [nodes] => 10995
        [name] => plugins
        [dir] => C:/laragon/www/vink/wp-content
        [path] => C:/laragon/www/vink/wp-content/plugins
    )
     
    23-07-20:21:15|DUP|108d1900|[class.logging.php________: 219] [DUP_Log::TraceObject]_________________________ | ADD DIR SIZE::Array
    (
        [ubytes] => 171759875
        [bytes] => 164MB
        [nodes] => 12509
        [name] => wp-content
        [dir] => C:/laragon/www/vink
        [path] => C:/laragon/www/vink/wp-content
    )
     
    
    Thread Starter vinkmalaysia

    (@vinkmalaysia)

    So this a another similar issue to my previous ticket.
    https://wordpress.org/support/topic/stuck-at-scan-error-please-try-again-200-ok/

    I’m not sure if this could be related to laragon/windows?
    any guidance would be great

    Thread Starter vinkmalaysia

    (@vinkmalaysia)

    So I have deactivated wp-forms-lite and package is created successfully.

    I guess duplicator is incompat with wpforms. But what should i do now/in the future? are wp-forms-lite data being backed up? or i should manually reinstall plugin when migrating? how about future backups do i need to disable again or i need to remove this plugin? Would be grateful if anyone can guide me. thank you

    • This reply was modified 2 years, 9 months ago by vinkmalaysia.
Viewing 6 replies - 1 through 6 (of 6 total)