Update elements.php

Added bak $t        = $input->get('t', 1, 'int'); into getTextLink() function. It was missing and set to null.