当前位置:网站首页>TP5 thinkphp5 report serialization of'closure'is not allowed
TP5 thinkphp5 report serialization of'closure'is not allowed
2022-06-26 12:23:00 【Yotoai Mengtian】
I encountered this problem when writing the query today :

reason : If you have a closure in your global domain, an error will be reported as “ Serialization of closures is not allowed ” , I found what I wrote earlier where() Method uses closures , Query results used cache() Method (cache The method is to serialize the data into a file ), Remove cache This error will not be reported after the method , Or not where The closure method will not report this error , This error will not be reported after any modification of one of them .
边栏推荐
- Several problems encountered in setting up the environment in the past two days
- 基于slate构建文档编辑器
- How to calculate flops and params in deep learning
- China's smart toy market outlook and investment strategy consulting forecast report from 2022 to 2027
- Scala problem solving the problem of slow SBT Download
- This executeQuery (SQL) cannot compile classes for JSP. What is the reason?
- 请指教同花顺是什么软件?在线开户安全么?
- Analysis report on dynamic research and investment planning suggestions of China's laser medical market in 2022
- PolarisMesh系列文章——概念系列(一)
- What should I do from member labels to portraits?
猜你喜欢

dried food! Yiwen will show you SD card, TF card and SIM card!

Vscode solves the problem of Chinese garbled code

Re recognized! Know that Chuangyu has been selected as one of the first member units of the "business security promotion plan"

Pre knowledge of hash table -- binary search tree

【Redis 系列】redis 学习十六,redis 字典(map) 及其核心编码结构

Mqtt disconnect and reconnect

Using the methods in the repository to solve practical problems

Jmeter响应时间和tps监听器使用教程

This executeQuery (SQL) cannot compile classes for JSP. What is the reason?

SQL injection in Pikachu shooting range
随机推荐
"Pinduoduo and short video speed version", how can I roast!
【概率论】条件概率、贝叶斯公式、相关系数、中心极限定理、参数估计、假设检验
UDP协议详解[通俗易懂]
China Medical Grade hydrogel market supply and demand research and prospect analysis report 2022 Edition
PHP uses laravel pay component to quickly access wechat jsapi payment (wechat official account payment)
I want to know whether flush is a stock market? Is online account opening safe?
leetcode 715. Range 模块 (hard)
How to calculate flops and params in deep learning
Using the methods in the repository to solve practical problems
Xiaolong 888 was released, Xiaomi 11 was launched, and 14 manufacturers carried it in the first batch!
How do consumer goods enterprises formulate membership interests?
Random numbers in leetcode 710 blacklist [random numbers] the leetcode path of heroding
TSMC Samsung will mass produce 3nm chips in 2022: will the iPhone be the first?
2016年四川省TI杯电子设计竞赛B题
MS17_ 010 utilization summary
[redis series] redis learning 16. Redis Dictionary (map) and its core coding structure
Ctrip ticket app KMM cross end kV repository mmkv kotlin | open source
TCP interview
Analysis report on dynamic research and investment planning suggestions of China's laser medical market in 2022
AD - 将修改后的 PCB 封装更新到当前 PCB 中