[Plugin: WP-Cycle] Fatal error: Cannot redeclare wp_cycle_register_settings()
-
Hi,
I’m using WP-Cycle plugin and I love it. But the plugin was suddently deactivated and wordpress won’t let me reactivate it because of this error :
Fatal error: Cannot redeclare wp_cycle_register_settings() (previously declared in /[...]/wp-content/plugins/wp-cycle/wp-cycle.php:48) in /[...]/wp-content/plugins/__wp-cycle/wp-cycle.php on line 50
Here’s what’s in the file:
// this function registers our settings in the db add_action('admin_init', 'wp_cycle_register_settings'); function wp_cycle_register_settings() { register_setting('wp_cycle_images', 'wp_cycle_images', 'wp_cycle_images_validate'); register_setting('wp_cycle_settings', 'wp_cycle_settings', 'wp_cycle_settings_validate'); }
I’m sorry but I’m not familiar with wp plugin development. Can you tell me how I can make it work ?
Thanks a lot,
John
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP-Cycle] Fatal error: Cannot redeclare wp_cycle_register_settings()’ is closed to new replies.