• Resolved Reggio Digital

    (@reggiodigital)


    PHP Fatal error: Uncaught ValueError: array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements in /srv/htdocs/wp-content/plugins/wp-all-export-pro/libraries/XmlCsvExport.php:959 Stack trace: #0 /srv/htdocs/wp-content/plugins/wp-all-export-pro/libraries/XmlCsvExport.php(959): array_combine(Array, Array) #1 /srv/htdocs/wp-content/plugins/wp-all-export-pro/libraries/XmlCsvExport.php(257): XmlCsvExport::merge_headers('/srv/htdocs/wp-...', Array) #2 /srv/htdocs/wp-content/plugins/wp-all-export-pro/libraries/XmlCsvExport.php(29): XmlCsvExport::export_csv() #3 /srv/htdocs/wp-content/plugins/wp-all-export-pro/actions/wp_ajax_wpallexport.php(324): XmlCsvExport::export() #4 /wordpress/core/6.3.2/wp-includes/class-wp-hook.php(310): pmxe_wp_ajax_wpallexport('') #5 /wordpress/core/6.3.2/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #6 /wordpress/core/6.3.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /wordpress/core/6.3.2/wp-admin/admin-ajax.php(188): do_action('wp_ajax_wpallex...') #8 {main} thrown in /srv/htdocs/wp-content/plugins/wp-all-export-pro/libraries/XmlCsvExport.php on line 959

    I’m receiving a fatal error upon using the export feature.

    ` wp-core
    
    version: 6.3.2
    site_language: en_US
    user_language: en_US
    timezone: America/New_York
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: undefined
    environment_type: production
    user_count: 11
    dotorg_communication: true wp-paths-sizes
    
    wordpress_path: /wordpress/core/6.3.2
    wordpress_size: loading…
    uploads_path: /srv/htdocs/wp-content/uploads
    uploads_size: loading…
    themes_path: /srv/htdocs/wp-content/themes
    themes_size: loading…
    plugins_path: /srv/htdocs/wp-content/plugins
    plugins_size: loading…
    database_size: loading…
    total_size: loading… wp-dropins (2)
    
    advanced-cache.php: true
    object-cache.php: true wp-active-theme
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    imagick_version: Not available
    file_uploads: File uploads is turned off
    post_max_size: 2047M
    upload_max_filesize: 2047M
    max_effective_size: 2 GB
    max_file_uploads: 20
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF
    ghostscript_version: not available wp-server
    
    server_architecture: Linux 4.19.0-21-amd64 x86_64
    httpd_software: nginx
    php_version: 8.2.11 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 6144
    time_limit: 1200
    memory_limit: 512M
    max_input_time: 1200
    upload_max_filesize: 2047M
    php_post_max_size: 2047M
    curl_version: 8.4.0 OpenSSL/1.1.1n
    suhosin: false
    imagick_availability: false
    pretty_permalinks: true
    current: 2023-10-24T15:57:14+00:00
    utc-time: Tuesday, 24-Oct-23 15:57:14 UTC
    server-time: 2023-10-24T11:57:13-04:00 wp-database
    
    extension: mysqli
    server_version: 10.4.25-MariaDB-log
    client_version: mysqlnd 8.2.11
    max_allowed_packet: 104857600
    max_connections: 500 wp-constants
    
    WP_HOME: (redacted)
    WP_SITEURL: (redacted)
    WP_CONTENT_DIR: /srv/htdocs/wp-content
    WP_PLUGIN_DIR: /srv/htdocs/wp-content/plugins
    WP_MEMORY_LIMIT: 512M
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: utf8mb4_general_ci wp-filesystem
    
    wordpress: not writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable web_stories
    
    web_stories_version: 1.34.0
    web_stories_db_version: 3.0.16
    web_stories_amp_version: 2.4.3
    web_stories_cdn_url: https://wp.stories.google/static/19
    web_stories_dev_mode: false
    web_stories_theme_support: Disabled
    web_stories_enabled_experiments: No experiments enabled
    web_stories_libxml_version: 2.9.4
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hey @reggiodigital,

    I can see that this is coming from our Pro plugin, and unfortunately we can only help with the Free versions of our plugins on this forum.

    Please replicate this issue on a sandbox site at https://www.wpallimport.com/debug/, then open a support request at https://www.wpallimport.com/support/ so we can investigate it for you.

    Thread Starter Reggio Digital

    (@reggiodigital)

    Hello @wpallimport . The error occurs from both the free and pro version hence this post.

    Thread Starter Reggio Digital

    (@reggiodigital)

    PHP Fatal error: Uncaught ValueError: array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements in /srv/htdocs/wp-content/plugins/wp-all-export/libraries/XmlCsvExport.php:711 Stack trace: #0 /srv/htdocs/wp-content/plugins/wp-all-export/libraries/XmlCsvExport.php(711): array_combine(Array, Array) #1 /srv/htdocs/wp-content/plugins/wp-all-export/libraries/XmlCsvExport.php(133): XmlCsvExport::merge_headers('/srv/htdocs/wp-...', Array) #2 /srv/htdocs/wp-content/plugins/wp-all-export/libraries/XmlCsvExport.php(21): XmlCsvExport::export_csv() #3 /srv/htdocs/wp-content/plugins/wp-all-export/actions/wp_ajax_wpallexport.php(212): XmlCsvExport::export() #4 /wordpress/core/6.3.2/wp-includes/class-wp-hook.php(310): pmxe_wp_ajax_wpallexport('') #5 /wordpress/core/6.3.2/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #6 /wordpress/core/6.3.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /wordpress/core/6.3.2/wp-admin/admin-ajax.php(188): do_action('wp_ajax_wpallex...') #8 {main} thrown in /srv/htdocs/wp-content/plugins/wp-all-export/libraries/XmlCsvExport.php on line 711
    Plugin Author WP All Import

    (@wpallimport)

    Hi @reggiodigital,

    Thanks for clarifying. I’ve run tests on this and I’m not able to replicate it, so it might be specific to your template/data. We will need access to an environment where this error is happening in order for us to help, so please try replicating it on a sandbox site and opening a support request with us as I mentioned above.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error on XmlCsvExport’ is closed to new replies.