Quantcast
Channel: Recent Discussions on osTicket Forums
Viewing all articles
Browse latest Browse all 7550

Error using variable ticket.last_update in email templates

$
0
0
Hi,
if I use the ticket.last_update - variable in any email - template nothing does work anymore. I only get a blank site.

In the webserver - logfile I can find this entries ->

 PHP Fatal error:  Uncaught exception 'OrmException' with message 'Ticket: last_update: Feld nicht definiert' in /XXXX/web/include/class.orm.php:382\nStack trace:\n#0 /XXXX/web/include/class.orm.php(386): VerySimpleModel-
>get('last_update', NULL)\n#1 /XXXX/web/include/class.ticket.php(1881): VerySimpleModel->__get('last_update')\n#2 /XXXX/web/include/class.va
riable.php(89): Ticket->getVar('last_update', Object(VariableReplacer))\n#3 /XXXX/web/include/class.variable.php(134): VariableReplacer->getVar(Object(T
icket), 'last_update')\n#4 /XXXX/web/include/class.variable.php(168): VariableReplacer->_resolveVar('ticket.last_upd...')\n#5 /XXXX/web/incl
ude/class.variable.php(115): VariableReplacer->_parse('%{ticket.name},...')\n#6 [internal function]: VariableReplacer->replaceVars('%{ticket.name},...')\n#7 /XXXX/web/include/class.variable.php(113): array_map(Array, Array)\n#8 /XXXX/web/include/class.osticket.php(147): VariableReplacer->rep in /XXXX
/web/include/class.orm.php on line 382, referer: https://XXXX/tickets.php?id=XXX

By the way: a fulll list of the availlable variables with some explanation and how and WHERE they are usable would be very helpfull ;) SOmetimes there is a warning that a variable could cause errors - but it is working without any problems. Sometimes no warning (for example this last_update) but nothing works anymore.

Thanks for your help!

Walhalla
 

Viewing all articles
Browse latest Browse all 7550

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>