• Resolved horus71

    (@horus71)


    when trying to create a backup of my website, there’s an error in the ZIP archive.

    In log file, it’s about a PHP error in a specific file.
    Then I excluded this specific file.
    But same error still occurs !!!

    thank’s for help 😉

    Here’s the log:

    ********************************************************************************
    DUPLICATOR-LITE PACKAGE-LOG: 8 May 2022 8 h 15 min
    NOTICE: Do NOT post to public sites or forums 
    ********************************************************************************
    VERSION:	1.4.5
    WORDPRESS:	5.9.3
    PHP INFO:	7.4.28 | SAPI: litespeed
    SERVER:		Apache 
    PHP TIME LIMIT: (0) no time limit imposed 
    PHP MAX MEMORY: 4294967296 (512M default) 
    MEMORY STACK: 74.5MB
    
    ********************************************************************************
    DATABASE:
    ********************************************************************************
    BUILD MODE:   MYSQLDUMP
    MYSQLTIMEOUT: 5000
    MYSQLDUMP:    Is Supported
    SQL CREATED: ooo_ARCH_NAME_ooo_075bb3edd1fb7a8e2962_20220508081451_database.sql
    SQL FILE SIZE: 55.98MB (58699283)
    SQL FILE TIME: 2022-05-08 08:15:24
    SQL RUNTIME: 1.19 sec.
    
    ********************************************************************************
    ARCHIVE (ZIP):
    ********************************************************************************
    ARCHIVE DIR:  /ooo_BASE_DIR_ooo
    ARCHIVE FILE: ooo_ARCH_NAME_ooo_075bb3edd1fb7a8e2962_20220508081451_archive.zip
    FILTERS: *ON*
    DIRS:
    	/ooo_BASE_DIR_ooo/wp-content/uploads
    FILES:
    	/ooo_BASE_DIR_ooo/wp-content/plugins/commercegurus-toolkit/includes/metaboxes/cmb/init.php
    EXTS:  not set
    ----------------------------------------
    COMPRESSING
    SIZE:	813.3MB
    STATS:	Dirs 1,349 | Files 80,456
    SQL ADDED: ooo_ARCH_NAME_ooo_075bb3edd1fb7a8e2962_20220508081451_database.sql
    ZipArchive Object
    (
        [status] => 0
        [statusSys] => 0
        [numFiles] => 81805
        [filename] => /ooo_BASE_DIR_ooo/wp-content/backups-dup-lite/tmp/ooo_ARCH_NAME_ooo_075bb3edd1fb7a8e2962_20220508081451_archive.zip
        [comment] => 
    )
    
    FILE ADDED TO ZIP: 81804
    [PHP ERR][WARN] MSG:count(): Parameter must be an array or an object that implements Countable [CODE:2|FILE:/ooo_BASE_DIR_ooo/wp-content/plugins/commercegurus-toolkit/includes/metaboxes/cmb/init.php|LINE:746]
    DUP_Handler::shutdown, DUP_Handler::error, DUP_Handler::getMessage
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @horus71

    Thanks for the feedback! It looks like the plugin commercegurus-toolkit is generating an error. You might try and disable the plugin and try the build process again.

    If you would like to submit a support ticket for this issue we can have a closer look at your setup. Please provide a link to this forum thread when submitting the ticket.

    Hope this helps~

    Thread Starter horus71

    (@horus71)

    Hi @corylamleorg

    Thanks for your reply!
    I desactivated the plugin but the build process still fails. The log is very similar to original log except that the PHP line is:
    [PHP ERR][ISSUE] MSG:Function create_function() is deprecated [CODE:8192|FILE:/home/wp-content/themes/mytheme/functions.php|LINE:169]

    I also noticed a 504 gateway timeout.

    After analysing all files in the website, I noticed there is a specific folder with 70k+ files / 500Mb+

    Excluding this folder makes package creation so easier that it works like a charm !

    Still don’t understand about PHP messages which bring us on wrong way…

    Hey @horus71,

    For the ‘create_function’ error you might try switching your theme temporarily., that error is coming from the theme. For the 504 gateway issue, you might try this FAQ item, see Issue A.

    – How to fix installer web-server 500/502/503/504 issues?
    https://snapcreek.com/duplicator/docs/faqs-tech/#faq-installer-125-q

    Hope that helps~

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

The topic ‘Error in archive creation’ is closed to new replies.