• Resolved Steven Hairston (he/him)

    (@stevenhairston)


    Hello,

    I have a fresh install of WordPress. FRESH. Then I installed Duplicator (the free one). Then I clicked to create my first Duplicator package. After a few moments it produced an error. Now it is eternally stuck at “Building Package 20.0%” (in green). How can I use this “Duplicator” plugin to easily migrate my WordPress install? The error log is below. Also please don’t use insults or name calling. Thank you!

    ********************************************************************************
    DUPLICATOR-LITE PACKAGE-LOG: ████████
    NOTICE: Do ████████ post to public sites ████████ forums 
    ********************************************************************************
    VERSION:	1.5.8
    WORDPRESS:	6.4.3
    PHP INFO:	8.3.2 | SAPI: fpm-fcgi
    SERVER:		nginx/1.24.0 
    PHP TIME LIMIT: (0) no time limit imposed 
    PHP MAX MEMORY: 4294967296 (128M default) 
    MEMORY STACK: 36.5MB
    [CTRL DUP ARCIVE] PACKAGE AS NEW ID 1 SAVED | STATUS:0
    [DUP ARCHIVE] BUILDING DATABASE
    
    ********************************************************************************
    DATABASE:
    ********************************************************************************
    BUILD MODE:   MYSQLDUMP
    MYSQLTIMEOUT: 5000
    MYSQLDUMP:    Is Supported
    [PHP ERR][WARN] MSG:Undefined array key "file" [CODE:2|FILE:/srv/████████/wp-content/plugins/duplicator/classes/class.logging.php|LINE:326]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Log::error, DUP_Log::getStack, DUP_Handler::error, DUP_Handler::getMessage
    [PHP ERR][ISSUE] MSG:basename(): Passing null to parameter #1 ($path) of type string is deprecated [CODE:8192|FILE:/srv/████████/wp-content/plugins/duplicator/classes/class.logging.php|LINE:326]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Log::error, DUP_Log::getStack, basename, DUP_Handler::error, DUP_Handler::getMessage
    [PHP ERR][WARN] MSG:Undefined array key "line" [CODE:2|FILE:/srv/████████/wp-content/plugins/duplicator/classes/class.logging.php|LINE:326]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Log::error, DUP_Log::getStack, DUP_Handler::error, DUP_Handler::getMessage
    
    ==================================================================================
    DUPLICATOR ERROR
    Please try again! If the error persists see the Duplicator 'Help' menu.
    ---------------------------------------------------------------------------------
    MESSAGE:
    	[PHP ERR][FATAL] MSG:Uncaught Error: Undefined constant "DB_PASSWORD" in /srv/████████/wp-content/plugins/duplicator/classes/package/class.pack.database.php:482
    Stack trace:
    #0 /srv/████████/wp-content/plugins/duplicator/classes/package/class.pack.database.php(230): DUP_Database->mysqlDump()
    #1 /srv/████████/wp-content/plugins/duplicator/classes/package/class.pack.php(1305): DUP_Database->build()
    #2 /srv/████████/wp-content/plugins/duplicator/ctrls/ctrl.package.php(170): DUP_Package->runDupArchiveBuild()
    #3 /srv/████████/wp-includes/class-wp-hook.php(324): duplicator_duparchive_package_build()
    #4 /srv/████████/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #5 /srv/████████/wp-includes/plugin.php(517): WP_Hook->do_action()
    #6 /srv/████████/wp-admin/admin-ajax.php(188): do_action()
    #7 {main}
      thrown [CODE:1|FILE:/srv/████████/wp-content/plugins/duplicator/classes/package/class.pack.database.php|LINE:482]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Handler::getMessage
    TRACE:
    	 1. class.logging.php : error (445)
    	 2. class.logging.php : error (555)
    	 3.  : shutdown ()
    ==================================================================================

    Also please note that the words above say “Do post to public sites forums”
    Please assist, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @stevenhairston,

    Thanks for reaching out to us.

    Please try the following to fix this issue:
    – On your website admin dashboard
    – Go to Duplicator > Settings > Packages > Basic Settings
    – Select PHP Code in SQL Mode setting
    – Also, please try to increase the allocated memory to your website.

    If this doesn’t help, we will need to investigate this issue, please contact us through this form https://duplicator.com/contact/?form=1 and we will do our best to help you.

    Thanks!

    Thread Starter Steven Hairston (he/him)

    (@stevenhairston)

    Thanks for your quick response, and switching it to “PHP Code” worked!

    And thank you again, your suggestion to increase allocated memory fixed another plugin that you probably had no part in that wasn’t working and wasn’t giving me any useful error logs.

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @stevenhairston,

    I’m glad that your issue has been resolved and I appreciate that you shared the solution here.

    Please don’t hesitate to contact us if you have any questions. We are happy to help.

    Thanks!

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

The topic ‘Fresh install cannot create package’ is closed to new replies.