• getting a warning on ctl-helper-functions.php line 6 for index disable_months. possible fix: change line to $disable_months = isset($ctl_options_arr[‘disable_months’]) && $ctl_options_arr[‘disable_months’] ?$ctl_options_arr[‘disable_months’]:”no”;

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author CoolHappy

    (@narinder-singh)

    Hi there,
    Thanks for sharing your valuable suggestion and code snippet.We will add this solution upcoming version.
    Thanks Again,
    Cool Timeline Team.

    • This reply was modified 7 years, 6 months ago by CoolHappy.

    I am having this same issue.

    Notice: Undefined index: disable_months in /www/wp-content/plugins/cool-timeline/includes/ctl-helper-functions.php on line 6

    Xavier’s solution seems to work to fix my issues as well.

    tivilardo

    (@tivilardo)

    Same issue here, solved with Xavier’s code.
    Thanks Xavier, you are a pro.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘undefined index warning’ is closed to new replies.