type E_ERROR

Forums: 

HI

We have been having an issue with the wordpress plugin - throwing up this error:

Error Details

=============

An error of type E_ERROR was caused in line 1875 of the file /home/luxuryelearning/public_html/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php. Error message: Uncaught Error: Class 'ZipArchive' not found in /home/luxuryelearning/public_html/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php:1875

Stack trace:

#0 /home/luxuryelearning/public_html/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php(2214): H5PExport->createExportFile(Array)

#1 /home/luxuryelearning/public_html/wp-content/plugins/h5p/admin/class-h5p-content-admin.php(484): H5PCore->filterParameters(Array)

#2 /home/luxuryelearning/public_html/wp-includes/class-wp-hook.php(286): H5PContentAdmin->display_new_content_page('')

#3 /home/luxuryelearning/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)

#4 /home/luxuryelearning/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)

#5 /home/luxuryelearning/public_html/wp-admin/admin.php(253): do_action('h5p-content_pag...')

#6 {main}

  thrown

 

...............................

  • So we enabled zip archive (it already was though), ensured its latest php version being used (7.3)
  • The plugin is on latest version as is wordpress etc
  • Issue is there on any browser we try


So here is a breakdown:

  • We have interactive video content - approx 60 of them in there
  • We added a few new ones recently but any time we try to edit them - we are met with the critical warning then receive the above email with the error
  • We can enter the edit screen of the interactive content on our older ones - just nothing thats been added in the last couple of days
  • However if we try and update the older content, we are also met with the critical warning.
  • https://www.luxuryelearning.com/phpinfo.php I created the php file to show versions etc

Really appreciate the help thank you

Paul