Plugin Error

<% if self.kind_of?( TDiary::TDiaryAdmin ) and @date then update = %Q[Edit(#{@date.strftime( '%Y-%m-%d' )})] else update = %Q[Update] end %>

Errors in plugins? Retry to <%= update %> or Configure.

<%=h $!.class %>
<%=h $! %>
<%=h $!.backtrace.join("\n") %>