When generating a blank CSV report, the following error occurs:

stderr: PHP Fatal error: Call to a member function xpath() on a non-object in .../docformats/FrxCSVDoc.inc

CommentFileSizeAuthor
#1 csv_empty_error-2193309-1.patch512 bytesjamesdixon

Comments

jamesdixon’s picture

Status: Active » Needs review
StatusFileSize
new512 bytes

Here is a patch we used to silence the error, and a blank CSV file is generated instead of an error.

metzlerd’s picture

Status: Needs review » Fixed

Thanks for the patch, James

Commited and pushed to 7.x-4.x and 7.x-3.x dev braches.

jamesdixon’s picture

You're welcome!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.