Error on upgrade to 1.4530

About Support Installing Church Admin Error on upgrade to 1.4530

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2814
    Avatar for kelandiskelandis
    Member

    Andy, I ran the upgrade today on my church site from 1.4500 to 1.4530 and as expected, the install worked fine. However, when I checked the site, I was getting a stack trace error on one of the new functions in index.php for the church_admin_widget_title() on line 2977. For now, I commented this function out and the site appears to be functioning fine along with the church admin plugin.

    An ideas on what could be causing the issue with this new function?

    Here is the stack trace:

    Uncaught ArgumentCountError: Too few arguments to function church_admin_widget_title(), 1 passed in wp-includes/class-wp-hook.php on line 286 and exactly 3 expected in wp-content/plugins/church-admin/index.php:2977
    Stack trace:
    #0 wp-includes/class-wp-hook.php(286): church_admin_widget_title(‘Worship’)
    #1 wp-includes/plugin.php(203): WP_Hook->apply_filters(‘Worship’, Array)
    #2 wp-content/themes/saved/widget-templates/widget-highlight.php(24): apply_filters(‘widget_title’, ‘Worship’)
    #3 wp-content/themes/saved/framework/includes/classes/widget.php(613): include(‘/home/cbchurch/…’)
    #4 wp-includes/class-wp-widget.php(372): CTFW_Widget->widget(Array, Array)
    #5 wp-includes/widgets.php(743): WP_Widget->display_callback(Array, Array)
    #6 wp-content/themes/saved/sidebar-home.ph

    #4037
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Not sure, will get it fixed later today

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.