• Resolved Design Dude

    (@dandan-wongcom)


    I’ve installed the latest version of the holiday calendar and I’m using it in a child theme of twentyfourteen which I’ve also got the latest version installed.

    On the single post pages I get this error:

    Warning: Missing argument 2 for the_holiday_calendar::override_title() in /web/sites/slicksurface/designincubation.com/public_html/wp-content/plugins/the-holiday-calendar/the-holiday-calendar.php on line 196

    thoughts?

    https://www.ads-software.com/plugins/the-holiday-calendar/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author mva7

    (@mva7)

    Check whether you have this setting in your wp-config.php:

    define(‘WP_DEBUG’, false);

    This should solve the problem.

    Regards,

    Mva7.

    Thread Starter Design Dude

    (@dandan-wongcom)

    Nope. That was already there and defined false. I’ve activated the plugin to show you the error. Perhaps it will help to understand the problem?

    Plugin Author mva7

    (@mva7)

    Go to:

    wp-content/plugins/the-holiday-calendar/the-holiday-calendar.php, on line 196

    and replace it with:

    static function override_title($title, $id = null) {

    Does it work?

    Regards,

    Mva7

    Thread Starter Design Dude

    (@dandan-wongcom)

    Yup. That fixed it! Thx

    I independently implimented this fix today too before finding this post. Hopefully this fix can be included in the next release? It doesn’t appear to be in 1.14. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error: Missing argument’ is closed to new replies.