louverture
Forum Replies Created
-
Forum: Plugins
In reply to: [Cyclone Slider] Fatal Error After UpdateIt happens on systems where php is compiled without the zip archive extension.
For a quick fix, comment out line 403 In cyclone-slider.php as below:
function cycloneslider_service_zip_archive( $plugin ){
// return new ZipArchive;
}This will break the importer/exporter functionality but at least prevents the fatal error which locks you out of the dashboard and will get the slideshows working again in 2.10.
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] Events not showingI was having the exact same problem with the Academica theme.
The offending breadcrumb code has now moved to /wp-content/themes/academica/functions/theme/functions.php
Rather than explicitly test to see if the post type is ‘tribe-events’, I’ve wrapped the code in a test to see if there is a category at all – which should sort it for all plugins using custom post types and not just Events Calendar.
So, lines 145-148 now read:
if (has_category()) { $cat = get_the_category(); $cat = $cat[0]; echo get_category_parents($cat, TRUE, ' ' . $delimiter . ' '); }
I was going crazy trying to sort this out. Eventually I tracked it down to security changes that had been made by my hosts with their implementation of Mod Security on Apache, which meant some Ajax calls to /admin/admin-ajax.php were getting blocked on the server.
A few tweaks later and everything was OK. That’s not necessarily the problem here, but if you’re having issues I’d check with your hosts to see if they’ve done the same.
There’s a good article on the general problem here: https://www.binarymoon.co.uk/2011/05/wordpress-mod-security-2/