Plugin Error

Errors in plugins? Retry to Update or Configure.

ArgumentError
argument out of range
(plugin/category.rb):90:in `local'
(plugin/category.rb):90:in `block in category_list_sections'
(plugin/category.rb):69:in `block (3 levels) in category_transaction'
(plugin/category.rb):68:in `each'
(plugin/category.rb):68:in `block (2 levels) in category_transaction'
(plugin/category.rb):67:in `each'
(plugin/category.rb):67:in `block in category_transaction'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/plugin.rb:103:in `block in transaction'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/io/plugin_pstore.rb:37:in `block in plugin_transaction'
/usr/pkg/lib/ruby/2.6.0/pstore.rb:331:in `block in transaction'
/usr/pkg/lib/ruby/2.6.0/pstore.rb:330:in `catch'
/usr/pkg/lib/ruby/2.6.0/pstore.rb:330:in `transaction'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/compatible.rb:14:in `transaction'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/io/plugin_pstore.rb:21:in `plugin_transaction'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/plugin.rb:102:in `transaction'
(plugin/category.rb):66:in `category_transaction'
(plugin/category.rb):89:in `category_list_sections'
(TDiary::Plugin#eval_src):15:in `eval_src'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/plugin.rb:95:in `eval'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/plugin.rb:95:in `eval_src'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/base.rb:65:in `do_eval_rhtml'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/base.rb:29:in `eval_rhtml'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/dispatcher/index_main.rb:37:in `run'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/dispatcher/index_main.rb:5:in `run'
/home/rin/public_html/tdiary-v5.1.3/lib/tdiary/dispatcher.rb:25:in `dispatch_cgi'
/home/rin/public_html/diary/index.rb:32:in `<main>'