Superluk - 2019-03-06 07:48:16
to init $salt, try it this way:
protected $cookie_name, $salt, $expiry, $path; // important = $salt
public function __construct(string $cookie_name='anonymous', bool $all_subdomains=TRUE) {
$this->cookie_name = $cookie_name;
$this->set_salt();
...
...
...