Error when creating Hotspot Content

We're using wordpress 5.2.1 and H5P version 1.13.1  and my existing H5P course still works, but I get an error when I try to access/edit the hotspot content that I just created. I'm using in Chrome. This is the email that I get from WordPress about the error:

Error Details
=============
An error of type E_ERROR was caused in line 1745 of the file /home/tsi/public_html/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php. Error message: Uncaught Error: Class 'ZipArchive' not found in /home/tsi/public_html/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php:1745
Stack trace:
#0 /home/tsi/public_html/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php(2082): H5PExport->createExportFile(Array)
#1 /home/tsi/public_html/wp-content/plugins/h5p/public/class-h5p-plugin.php(908): H5PCore->filterParameters(Array)
#2 /home/tsi/public_html/wp-content/plugins/h5p/public/class-h5p-plugin.php(994): H5P_Plugin->get_content_settings(Array)
#3 /home/tsi/public_html/wp-content/plugins/h5p/admin/class-h5p-content-admin.php(216): H5P_Plugin->add_assets(Array)
#4 /home/tsi/public_html/wp-includes/class-wp-hook.php(286): H5PContentAdmin->display_contents_page('')
#5 /home/tsi/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#6 /home/tsi/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#7 /home/tsi/public_html/wp-admin/admin.php(253): do_action('toplevel_page_h...')
#8 {main}
  thrown

BV52's picture

Hi cstsi0160,

Can you please double check if Ziparchive is enabled. Try to create a standalone hotspot and if you encounter a problem check if you will have error messages in the browser console.

-BV52

We had upgraded to PHP 7 and the archive was not installed - it's installed now and working. Thank you!

BV52's picture

Hi cstsi0160,

I'm glad it worked. If you have any other questions feel free to post in the forums.

-BV52