Support » Plugin: Ditty News Ticker » Not working after updating

  • Resolved brijdesignstudio

    (@brijdesignstudio)


    The plugin was working fine until i updated the plugin to its latest version, after updating it is showing below error, pls help to resolve this

    Warning: Division by zero in /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/filters.php on line 50

    Fatal error: Uncaught DivisionByZeroError: Modulo by zero in /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/filters.php:70 Stack trace: #0 /home/iscr/public_html/wp-includes/class-wp-hook.php(286): mtphr_dnt_tick_grid(Array, ‘4079’, Array) #1 /home/iscr/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #2 /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/functions.php(112): apply_filters(‘mtphr_dnt_tick_…’, Array, ‘4079’, Array) #3 /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/functions.php(71): render_mtphr_dnt_ticker(‘4079’, ”, Array) #4 /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/shortcodes.php(26): get_mtphr_dnt_ticker(‘4079’, ”, Array) #5 /home/iscr/public_html/wp-includes/shortcodes.php(325): ditty_news_ticker_display(Array, ”, ‘ditty_news_tick…’) #6 [internal function]: do_shortcode_tag(Array) #7 /home/iscr/public_html/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(ditty_…’, ‘do_shortcode_ta in /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/filters.php on line 70

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

    (@metaphorcreations)

    Thanks for letting me know. I have made an update that should resolve this issue.

    Let me know if you still have any problems.

    i have checked still showing the same error

    Warning: Division by zero in /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/filters.php on line 59

    Fatal error: Uncaught DivisionByZeroError: Modulo by zero in /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/filters.php:79 Stack trace: #0 /home/iscr/public_html/wp-includes/class-wp-hook.php(286): mtphr_dnt_tick_grid(Array, ‘4893’, Array) #1 /home/iscr/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #2 /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/functions.php(112): apply_filters(‘mtphr_dnt_tick_…’, Array, ‘4893’, Array) #3 /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/functions.php(71): render_mtphr_dnt_ticker(‘4893’, ”, Array) #4 /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/shortcodes.php(26): get_mtphr_dnt_ticker(‘4893’, ”, Array) #5 /home/iscr/public_html/wp-includes/shortcodes.php(325): ditty_news_ticker_display(Array, ”, ‘ditty_news_tick…’) #6 [internal function]: do_shortcode_tag(Array) #7 /home/iscr/public_html/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(ditty_…’, ‘do_shortcode_ta in /home/iscr/public_html/wp-content/plugins/ditty-news-ticker/inc/filters.php on line 79
    The site is experiencing technical difficulties.

    Plugin Author metaphorcreations

    (@metaphorcreations)

    @brijdesignstudio

    I believe I see what is wrong now, which I will resolve. For now, go into your ticker and within the Global settings make sure the Columns and Rows under the Grid Settings are set to a number greater than 0. Then, save your ticker and let me know if the error goes away.

    I have set Columns and Rows greater than 0, now error is not coming but ticker is not displaying on the page it is coming full blank.

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Do you have a link to a page where I can see this? Do you have “Display ticks in a grid” enabled? If so, please un-check that box.

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