Support » Plugin: Cyclone Slider » Fatal Error After Update

  • Resolved smalldetails

    (@smalldetails)


    Hi, I’ve been happy with the Cyclone Slider but today after updating it I received an error that caused me to have to remove the plugin thru FTP since I could no longer navigate to the dashboard. The website itself was displaying only this error msg too. The error: “Fatal error: Class ‘ZipArchive’ not found in /home/(user)/public_html/wp-content/plugins/cyclone-slider-2/cyclone-slider.php line 403”. (User=website acct user on server). The website is: http://www.statelineliquors.com. I’ve since replaced the slider with another plugin but as I said, I was happy with your plugin. Any idea what might’ve caused this?

    https://wordpress.org/plugins/cyclone-slider-2/

Viewing 8 replies - 31 through 38 (of 38 total)
  • Great idea keeping it open. We only have it on 13 sites. Just one has an outdated host that I had to keep manually fixing.

    Just updated to 2.10.3, I still see

    function cycloneslider_service_zip_archive( $plugin ){
        return 'ZipArchive';
    }

    Which should check if the class exists . . . but previous users who don’t have Zip compiled have reported 2.10.2 fixed it, so you’re probably addressing it in another way . . . all good. 😛

    Plugin Author kosinix

    (@kosinix)

    Hi SurfSD

    Its actually different. The previous code returns an instance of the class:

    return new ZipArchive;

    This one returns a string name of the class which is harmless if the class is missing:

    return 'ZipArchive';

    The checks are in the actual importer and exporter.

    Best regards

    SurfSD,
    Did you have an error after upgrade?
    I only have one domain on an outdated host that doesn’t have the zip on it and it upgraded fine for me. No errors and didn’t have to manual edit anything in the plugin.

    <facepalm> Been working too long of hours. 🙂

    THANK YOU Kosinix! I’m glad to see it working again. This is resolved as far as I’m concerned.

    I spoke too soon. I just downloaded the Pro version and I’m seeing the error when I attempt to activate. I emailed for info… Can you please correct the download or let us know exactly what we need to do? I tried the above solution to lines 398-399 of the cyclone-slider.php file and it didn’t have any effect. THANK YOU!

    Plugin Author kosinix

    (@kosinix)

    @smalldetails,

    Can you email us again? Version 2.10.4 of Pro was just released. It is the latest version at the moment.

Viewing 8 replies - 31 through 38 (of 38 total)
  • The topic ‘Fatal Error After Update’ is closed to new replies.