RuntimeException
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
in Encrypter.php (line 43)
https://blog.csdn.net/a369405354/article/details/84935024
FatalThrowableError
Call to a member function toArray() on null
查询的数据为null 不能直接对这样的数据使用->toArray();
PaperInfo::select(['id', 'question', 'correct', 'answer'])->where('paper_id', $paperId)->first();