Title: Class &#8216;ZipArchive&#8217; error
Last modified: July 7, 2021

---

# Class ‘ZipArchive’ error

 *  Resolved [nbelfort](https://wordpress.org/support/users/nbelfort/)
 * (@nbelfort)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/class-ziparchive-error/)
 * I started to receive a message this critical error (about a week ago
    ) if I 
   try to download the reports as an XLSX excel file:
 * An error of type E_ERROR was caused in line 100 of the file wp-content/plugins/
   exports-and-reports/wp-admin-ui/includes/PHP_XLSXWriter/xlsxwriter.class.php.
   Error message: Uncaught Error: Class ‘ZipArchive’ not found in wp-content/plugins/
   exports-and-reports/wp-admin-ui/includes/PHP_XLSXWriter/xlsxwriter.class.php:
   100
    Stack trace: #0 wp-content/plugins/exports-and-reports/wp-admin-ui/Admin.
   class.php(1468): XLSXWriter->writeToFile(‘/home/samyfishe…’) #1 wp-content/plugins/
   exports-and-reports/wp-admin-ui/Admin.class.php(2183): WP_Admin_UI->export() #
   2 wp-content/plugins/exports-and-reports/wp-admin-ui/Admin.class.php(742): WP_Admin_UI-
   >manage() #3 wp-content/plugins/exports-and-reports/exports-and-reports.php(1385):
   WP_Admin_UI->go() #4 wp-includes/class-wp-hook.php(292): exports_reports_view(
   1) #5 wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array) #6
   wp-includes/plugin.php(484): WP_Hook->do_action(Array)
 * Any idea how to address it?
 * Regards,
 * Nelson

Viewing 1 replies (of 1 total)

 *  Plugin Author [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/)
 * (@sc0ttkclark)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/class-ziparchive-error/#post-14636829)
 * To use the XLSX export format, you’ll need to make sure that your PHP configuration
   includes the Zip extension.
 * For more information about this particular error, there’s this Stackoverflow 
   thread which I found helpful: [https://stackoverflow.com/questions/3872555/fatal-error-class-ziparchive-not-found-in](https://stackoverflow.com/questions/3872555/fatal-error-class-ziparchive-not-found-in)

Viewing 1 replies (of 1 total)

The topic ‘Class ‘ZipArchive’ error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/exports-and-reports.svg)
 * [Exports and Reports](https://wordpress.org/plugins/exports-and-reports/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/exports-and-reports/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/exports-and-reports/)
 * [Active Topics](https://wordpress.org/support/plugin/exports-and-reports/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/exports-and-reports/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/exports-and-reports/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/class-ziparchive-error/#post-14636829)
 * Status: resolved