Re: [rt-users] Can't set DBI::db=HASH(0x8b3efb0)->{PrintWarm}
Hi Daniel, On 2016年6月16日 at 13:30:18, Daniel M. via rt-users (rt-users@lists.bestpractical.com) wrote: > [/opt/rt4/local/html/Ticket/Update.html:200] This suggests that you’d customized RT’s code directly, so I bet you are running a 4.2-era (or older) /Ticket/Update.html file against RT 4.4. In other words, RT has made changes to that file as part of your upgrade to 4.4.0, but your local override is hiding those changes, so that’s why you’re seeing strange errors. The way to proceed (in descending order of preference) would be to refactor your customizations to be callbacks, which is the recommended way to customize RT’s templates, or simply remove your local override if you don’t need it, or finally apply your customizations again to 4.4’s version of /Ticket/Update.html. See https://docs.bestpractical.com/rt/latest/writing_extensions.html#Callbacks for more detail on the recommended approach. Thanks, Shawn - RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Los Angeles - September, 2016
[rt-users] Can't set DBI::db=HASH(0x8b3efb0)->{PrintWarm}
--- Begin Message --- Upgraded to 4.4.0 and now I see the following in the log: [27982] [Thu Jun 16 16:59:19 2016] [warning]: Can't set DBI::db=HASH(0x8b3efb0)->{PrintWarm}: unrecognised attribute name or invalid value at /usr/local/lib64/perl5/DBI.pm line 739, line 473. (/usr/local/lib64/perl5/DBI.pm:739) [27982] [Thu Jun 16 16:59:19 2016] [warning]: Error is Can't use string ("TicketObj") as a subroutine ref while "strict refs" in use at /opt/rt4/sbin/../lib/RT/Ticket.pm line 1644, line 473. Stack: [/opt/rt4/sbin/../lib/RT/Ticket.pm:1644] [/opt/rt4/share/html/Ticket/Elements/PreviewScrips:52] [/opt/rt4/local/html/Ticket/Update.html:200] [/opt/rt4/share/html/Widgets/TitleBox:56] [/opt/rt4/local/html/Ticket/Update.html:201] [/opt/rt4/share/html/Ticket/autohandler:66] [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:696] [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:375] [/opt/rt4/share/html/autohandler:53] (/opt/rt4/sbin/../lib/RT/Ticket.pm:1645) [28077] [Thu Jun 16 17:00:02 2016] [debug]: ExternalInfoPriority not defined. User information (including user enabled/disabled) cannot be externally-sourced (/opt/rt4/sbin/../lib/RT/Config.pm:1087) RT is acting normally but these warnings keep on appearing in the logs. Not sure what to make of it. I want to make sure I clean this up before continuing with my configuration as I have a "separate/relay" mailserver.--- End Message --- - RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Los Angeles - September, 2016