Page 1 of 1

[RESOLVED] Undefined variable: random in admin_ticket.php

Posted: Mon Jun 09, 2014 2:13 pm
by grandfso
Script URL: 2.5.3
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Notice: Undefined variable: random

Write your message below: Hi, with Debug Mode on, when viewing a ticket I get the following notice:

Code: Select all

Notice: Undefined variable: random in /hesk/admin/admin_ticket.php on line 543
Is this something to be worried about ?

Re: Notice: Undefined variable: random in admin_ticket.php

Posted: Mon Jun 09, 2014 2:41 pm
by Klemen
This is not an error that occurs with original HESK 2.5.3 files.

You probably have a loose (undefined) $random somewhere.

Re: Notice: Undefined variable: random in admin_ticket.php

Posted: Tue Jun 10, 2014 1:35 am
by mkoch227
The issue exists in HESK UI, as the two places $random are used were moved from their default location. Their new location is above where $random is instantiated, thus causing the error. It will be fixed in v1.1.6.