500 Internal Server Error

undefined method `add_referer' for nil:NilClass (NoMethodError)

/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary/defaultio.rb:103:in `restore_referer'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary/defaultio.rb:100:in `each'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary/defaultio.rb:100:in `restore_referer'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary/defaultio.rb:97:in `each'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary/defaultio.rb:97:in `restore_referer'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary/defaultio.rb:95:in `open'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary/defaultio.rb:95:in `restore_referer'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary/defaultio.rb:168:in `transaction'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary.rb:1929:in `initialize'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary.rb:1927:in `each'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/tdiary.rb:1927:in `initialize'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/index.rb:56:in `new'
/var/www/html/eccube-2.4.4/html/hpgen/BLOG/index.rb:56