WordPress.org

Ready to get started?Download WordPress

Forums

Church Pack
[resolved] Fatal Error (13 posts)

  1. camrie
    Member
    Posted 1 year ago #

    Getting this error when I try to install Church Pack plugin. Hope there is a fix!

    Fatal error: Cannot redeclare cmb_scripts() (previously declared in /home/content/63/8418363/html/..../wp-content/themes/churchope/lib/metabox/init.php:481) in /home/content/63/8418363/html/..../wp-content/plugins/church-pack/meta-box/init.php on line 501

    Thanks much!

    http://wordpress.org/extend/plugins/church-pack/

  2. adamjm7
    Member
    Posted 1 year ago #

    I have this theme as well and have the exact same problem. Did this get resolved?

  3. ShShares
    Member
    Posted 1 year ago #

    Any luck with this?
    http://www.theGratefulChurch.org wants it

  4. camrie
    Member
    Posted 1 year ago #

    Nope gave up on it. Ended up using Sermon Manager and All-In-One Calendar by Time.ly for events.

    http://www.wpforchurch.com/products/sermon-manager-for-wordpress/
    http://time.ly/

  5. tim342
    Member
    Posted 1 year ago #

    Same issue here. Is there a good plugin for staff members and groups?

  6. mindctrl
    Member
    Posted 1 year ago #

    It looks like the problem happens because both your theme and this plugin are using the same third party library for displaying meta boxes in the WP admin. One or both of the authors should rename the third party functions to avoid clashes.

  7. Justin Sternberg
    Member
    Posted 1 year ago #

    If you want a temporary, yet extremely hacky fix, you could add the lines

    if ( class_exists( 'cmb_Meta_Box' ) )
    	return;

    to the top of the init.php file (right after the opening <?php tag)

  8. Justin Sternberg
    Member
    Posted 1 year ago #

    Plugins and themes need to be doing proper checks for existing libraries before including them. See here: https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress/issues/294

  9. ShShares
    Member
    Posted 1 year ago #

    Hi Justin!

    Thanks for your input! I've tried that fix yet it didn't work. Is there any other feedback that you could offer??

  10. Justin Sternberg
    Member
    Posted 1 year ago #

    You still get the error?

  11. ShShares
    Member
    Posted 1 year ago #

    yes

  12. Justin Sternberg
    Member
    Posted 1 year ago #

    Ok, I've never actually used this plugin, so I can't give you any other solid advice. I recommend opening a support thread at their site (http://www.wpforchurch.com/forums/) if you haven't with a link back to this thread. If they need advice for fixing the issue, they can feel free to contact me at this thread.

  13. Jack (wpforchurch)
    Member
    Plugin Author

    Posted 11 months ago #

    This should be resolved in the next version of Church Pack.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic