• Resolved sathishkumars2396

    (@sathishkumars2396)


    Hi

    I am getting this error Fatal error: Uncaught Error: Class ‘ZipArchive’ not found in

    Fatal error: Uncaught Error: Class 'ZipArchive' not found in /home/onlineqd/public_html/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php:400 Stack trace: #0 /home/onlineqd/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(1702): PhpOffice\PhpSpreadsheet\Reader\Xlsx->load('/home/onlineqd/...') #1 /home/onlineqd/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(2247): WPDataTable->excelBasedConstruct('/home/onlineqd/...', Array) #2 /home/onlineqd/public_html/wp-content/plugins/wpdatatables/controllers/wdt_functions.php(825): WPDataTable->fillFromData(Object(stdClass), Array) #3 /home/onlineqd/public_html/wp-includes/shortcodes.php(355): wdtWpDataTableShortcodeHandler(Array, '', 'wpdatatable') #4 [internal function]: do_shortcode_tag(Array) #5 /home/onlineqd/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(wpdata...', 'do_shortcode_ta...', '[wpdatatable id...') #6 /home/onlineqd/public_html/wp-content/pl in /home/onlineqd/public_html/wp-content/plugins/wpdatatables/lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php on line 400

    Screen Shot

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hello.
    This error seems to indicate that you don’t have a Zip extension installed on your Hosting Server.

    Can you please make sure that your PHP configuration includes the Zip extension?
    You can check in our plugin’s System Info tab in your WP Dashboard, and see what it says under Server Environment/ “Zip extension”, it should say “installed.”


    If it says “not installed”, you should reach out to your hosting support and have them install it on the server.

    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


    We hope this helps. Let us know if you check and if you already have a Zip extension installed on the hosting server.
    Thank you.

    Thread Starter sathishkumars2396

    (@sathishkumars2396)

    Hi,

    Yes Zip extension is not installed and it worked when i have enabled it

    Plugin Author wpDataTables

    (@wpdatatables)

    Hello.
    Just following up, we are happy to see that this has resolved the issue.
    Please don’t hesitate to reach out to us again if any other issue comes up.
    Kind regards.

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

The topic ‘Uncaught Error: Class ‘ZipArchive’’ is closed to new replies.