• Resolved margherit

    (@margherit)


    Hi,

    I installed polylang, cf 7, cf 7 extension for polylang and smart grid.

    I tried to add a new language to my website (currently I have 4, I tried to add german language), but inmediately wp goes in bug and I have to enter in safe mode and restore. When I delete the german language in polylang, everything starts to work again.

    Here the error:

    Un errore di E_ERROR è stato causato nella linea 346 del file /home/ij1z46hp/templarstravel.com/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php. Messaggio di errore: Uncaught Error: Class ‘ZipArchive’ not found in /home/ij1z46hp/templarstravel.com/wp-content/plugins/cf7-polylang/admin/class-cf7-polylang-admin.php:346 Stack trace: #0 /home/ij1z46hp/templarstravel.com/wp-includes/class-wp-hook.php(287): Cf7_Polylang_Admin->get_cf7_translations(”) #1 /home/ij1z46hp/templarstravel.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home/ij1z46hp/templarstravel.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/ij1z46hp/templarstravel.com/wp-settings.php(409): do_action(‘plugins_loaded’) #4 /home/ij1z46hp/templarstravel.com/wp-config.php(94): require_once(‘/home/ij1z46hp/…’) #5 /home/ij1z46hp/templarstravel.com/wp-load.php(37): require_once(‘/home/ij1z46hp/…’) #6 /home/ij1z46hp/templarstravel.com/wp-login.php(12): require(‘/home/ij1z46hp/…’) #7 {main} thrown

    Can you help me with that?

    Thank you

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Uncaught Error: Class ‘ZipArchive’ not found

    your server PHP installation is missing the ZipArchive class which is found in the libzip module.

    From the PHP.net documentation,

    This extension requires ? libzip. Version 1.1.2 was bundled in PHP until version 7.3.

    so likely your server is running PHP version 7.3 or higher and the libzip module now needs to be installed separately.

    I tried to add a new language to my website (currently I have 4, I tried to add german language)

    So if you created your initial 4 languages with a different PHP version or on a different server you didn’t have that issue.

    Thread Starter margherit

    (@margherit)

    I’m sorry I didn’t understand anything. What should I do? May I ask to the host to do something?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I am releasing v2.3.3 which will stop the fatal crash from happening, but keep in mind that if you don’t install the php7.x-zip module you won’t get the CF7 plugin translations for your language.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I’m sorry I didn’t understand anything. What should I do? May I ask to the host to do something?

    yes, you need to ask them to install the php zip module.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I released v2.3.3 which gets rid of the fatal error in case the zip module is not found.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘fatal error and bug in wp’ is closed to new replies.