• Resolved vandung93

    (@vandung93)


    Hello there,

    Your plugin apply_filters widget_title with only one param.
    Line 68 file: wpforms-lite/includes/forms/class-widget.php

    echo $args['before_title'] . apply_filters( 'widget_title', $instance['title']) . $args['after_title'];

    This made Fatal error: Uncaught ArgumentCountError: Too few arguments to function…
    If there are some plugins or themes add this filter with standard 3 params.

    Please check this properly code:

    echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ) . $args['after_title'];

Viewing 1 replies (of 1 total)
  • Plugin Support Jess Quig

    (@jquigam)

    Hi @vandung93,

    I’ve passed these details along to our development team so they can take a closer look!

    Thanks for pointing this out 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Too few arguments to filter widget_title’ is closed to new replies.