Okay
  Public Ticket #2757928
Log Error when exporting report using report builder
Closed

Comments

  •  1
    Uriahs started the conversation

    Since the latest update, I get the error inside PHP log when WP Debug is turned on, can you please confirm the issue?

    I'm on the latest version of WP Datatables: v3.4.3 and Report Builder: 1.3.2

    [22-Apr-2021 14:55:45 UTC] PHP Notice:  Trying to access array offset on value of type null in /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php on line 1106
    [22-Apr-2021 14:55:45 UTC] PHP Stack trace:
    [22-Apr-2021 14:55:45 UTC] PHP   1. {main}() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-admin/admin-ajax.php:0
    [22-Apr-2021 14:55:45 UTC] PHP   2. do_action() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-admin/admin-ajax.php:187
    [22-Apr-2021 14:55:45 UTC] PHP   3. WP_Hook->do_action() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-includes/plugin.php:484
    [22-Apr-2021 14:55:45 UTC] PHP   4. WP_Hook->apply_filters() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-includes/class-wp-hook.php:316
    [22-Apr-2021 14:55:45 UTC] PHP   5. WDTReportBuilderPlugin::downloadReport() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-includes/class-wp-hook.php:292
    [22-Apr-2021 14:55:45 UTC] PHP   6. WDTReportBuilderReportBuilder->build() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-content/plugins/reportbuilder/reportbuilder.php:311
    [22-Apr-2021 14:55:45 UTC] PHP   7. WDTReportBuilderSpreadsheetBuilder->build() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-content/plugins/reportbuilder/source/class.reportbuilder.php:435
    [22-Apr-2021 14:55:45 UTC] PHP   8. WDTReportBuilderSpreadsheetBuilder->fillInSingleFile() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-content/plugins/reportbuilder/source/class.spreadsheet.builder.php:355
    [22-Apr-2021 14:55:45 UTC] PHP   9. PhpOfficePhpSpreadsheetWriterXlsx->save() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-content/plugins/reportbuilder/source/class.spreadsheet.builder.php:251
    [22-Apr-2021 14:55:45 UTC] PHP  10. PhpOfficePhpSpreadsheetWriterXlsxWorksheet->writeWorksheet() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php:281
    [22-Apr-2021 14:55:45 UTC] PHP  11. PhpOfficePhpSpreadsheetWriterXlsxWorksheet->writeSheetData() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:76
    [22-Apr-2021 14:55:45 UTC] PHP  12. PhpOfficePhpSpreadsheetWriterXlsxWorksheet->writeCell() /Users/uvdev/Local Sites/skraveshippingdev/app/public/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:1020
    

    The errors started showing up in log after updating WP Datatables today.

    This didn't happen on the older version, how can I get access to the previous version? 

  •  2,507
    Aleksandar replied

    Hello TheLoneDev

    We cannot replicate the issue on our local installations, or on our production website, so can you clone your website?

    If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files that you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.

    Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.

    This is a public ticket, so make sure to enable the PRIVATE response.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2,507
    Aleksandar replied

    Also, please tell me which report we should be looking at.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables