On line 113 `$string .= $seed{intval( mt_rand( 0.0, $max ) )};` must change to `$string .= $seed[intval( mt_rand( 0.0, $max ) )];` due to PHP 8.1 updates.