“Oh no… Not again, another WordPress ache”
That has often been my expression of late as a result of my frequent WordPress troubleshooting.
Due to my busy schedule, I haven’t had time to login to my blog. On one of my spare time, I took it as an opportunity to update my plugins, as usual with WP automatic update via my dashboard. One of such plugins that desperately needed an update was WpOptimix, a premium WordPress security plugin. While the update was going on, suddenly it came to a halt and below is the error message I got
An error occurred while updating wpOptimix: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
I knew this has to be a server configuration, since I have got no time to spare, rather than spending countless number of hours troubleshooting this error, I decided to take the shortest way out – deactivated and deleted the problematic plugin, re-downloaded, uploaded and activated the updated plugin Archive file (.zip) via WordPress plugin dashboard (http://yoursite.com/wp-admin/plugin-install.php?tab=upload).
A known solution to this problem is simply commenting out mbstring.func_overload php.ini directive (subject to your host granting you access to php.ini) as signified below
;mbstring.func_overload=7