Title: Cannot activate plugin &#8211; error msg inside
Last modified: August 30, 2016

---

# Cannot activate plugin – error msg inside

 *  Resolved [zoharpeleg](https://wordpress.org/support/users/zoharpeleg/)
 * (@zoharpeleg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-error-msg-inside/)
 * Here is the error msg I get:
    Fatal error: Cannot redeclare custom_excerpt_length()(
   previously declared in /home/irispele/public_html/wp-content/themes/irispeleg/
   functions.php:5) in /home/irispele/public_html/wp-content/plugins/blog-designer/
   blog-designer.php on line 179
 * Isn’t the whole idea of the plugin to run independent of the default blog design?
 * Thanks,
    Zohar
 * [https://wordpress.org/plugins/blog-designer/](https://wordpress.org/plugins/blog-designer/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [solwininfotech](https://wordpress.org/support/users/solwininfotech/)
 * (@solwininfotech)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-error-msg-inside/#post-6475184)
 * here is solution….
    function name ‘custom_excerpt_length’ in our plugin is conflicting
   with your theme’s function.
 * In our plugin’s “blog-designer.php” file, do the following changes.
    1) rename
   the function name ‘custom_excerpt_length’ with ‘custom_excerpt_length_blog’.
 * 2) replace line
    add_filter(‘excerpt_length’, ‘custom_excerpt_length’, 999) with
   add_filter(‘excerpt_length’, ‘custom_excerpt_length_blog’, 999)
 * Thanks
 *  Plugin Author [solwininfotech](https://wordpress.org/support/users/solwininfotech/)
 * (@solwininfotech)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-error-msg-inside/#post-6475232)
 * as its no reply from your side about your issue solved,
    I assume that it might
   be solved, so closing this thread.
 *  [samanthaleere](https://wordpress.org/support/users/samanthaleere/)
 * (@samanthaleere)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-error-msg-inside/#post-6475294)
 * I am having this error – it wont save changes
 * Server error
 * 500
    Hide details The website encountered an error while retrieving [http://carolinasuccessteam.com/wp-admin/admin.php?page=designer_settings&action=save&updated=true](http://carolinasuccessteam.com/wp-admin/admin.php?page=designer_settings&action=save&updated=true).
   It may be down for maintenance or configured incorrectly. Reload this webpage
   Press the reload button to resubmit the data needed to load the page.
 *  Plugin Author [solwininfotech](https://wordpress.org/support/users/solwininfotech/)
 * (@solwininfotech)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-error-msg-inside/#post-6475295)
 * Hi samanthaleere,
 * We have resolved issue with your website and we will update that same code changes
   with our next version of blog designer plugin.
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cannot activate plugin – error msg inside’ is closed to new replies.

 * ![](https://ps.w.org/blog-designer/assets/icon-256x256.png?rev=2053820)
 * [Blog Designer](https://wordpress.org/plugins/blog-designer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blog-designer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blog-designer/)
 * [Active Topics](https://wordpress.org/support/plugin/blog-designer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blog-designer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blog-designer/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [solwininfotech](https://wordpress.org/support/users/solwininfotech/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-error-msg-inside/#post-6475295)
 * Status: resolved