我有一个包含json
类型的MySQL表。在运行Product->where('active', 1)->first();
PDO::prepare(): Unknown type 245 sent by the server. Please send a report to the developers
我正在使用MySQL 5.7
最佳答案
看起来像一个已知问题:https://laracasts.com/discuss/channels/laravel/homestead-errors-2
您可以尝试执行“ sudo apt-get更新”和“ sudo apt-get升级”,以查看它在最新版本的php中是否已修复。至少在7.0.4中有与此相关的补丁。