Fix fatal error caused by theme openscholar login.