When I follow this documentation to "Integrating IvoryCKEditorBundle to Create a WYSIWYG Editor" in my app, I get the following error:
[Symfony\Component\Debug\Exception\ClassNotFoundException] Attempted to load class "ZipArchive" from the global namespace. Did you forget a "use" statement?
This happens at the step 4. I really have no idea about what could triggers this error. Due to my OS configuration? PHP Version? Symfony config? Etc?
please note that you can also change the php version, for 5.6 use sudo apt-get install php5.6-zip
I encountered the same issue today and tried the solution proposed in the comments by Malcom (thanks, Malcom - it worked!):
sudo apt-get install php7.0-zip