Support » Plugin: Blog Designer » Cannot activate plugin – error msg inside

  • Resolved zoharpeleg

    (@zoharpeleg)


    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author solwininfotech

    (@solwininfotech)

    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

    (@solwininfotech)

    as its no reply from your side about your issue solved,
    I assume that it might be solved, so closing this thread.

    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. 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

    (@solwininfotech)

    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.