• Uncaught Error: Class “ZipArchive” not found in /home/t70ovncn1rk9/public_html/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php:1939

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author icc0rz

    (@icc0rz)

    Hi, you need to enable the ‘zip’ extension for your php installation/setup.

    Thread Starter Gabriel Reguly

    (@gabriel-reguly)

    Thank you for the answer.

    What if I cannot to enable the zip extension?

    My site was working and the new update broke it.

    I had to edit the plugin to disable the call for zip extension.

    Why not add a test before blindly assuming that zip is enabled?

    if ( ! class_exists('ZipArchive')) {
    return;
    }

    Just my $0.02….

    Anyway, thank you for the great plugin and for answering me.

    Cheers,
    Gabriel

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

You must be logged in to reply to this topic.