Support » Plugin: Cool Timeline » undefined index warning

  • 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


    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 3 years, 11 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.

    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.