Fatal error: Out of memory (allocated 2621440) (tried to allocate 12288 bytes) in D:\jgqy\thinkphp\library\think\db\Builder.php on line 304

Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'substr() expects parameter 2 to be long, array given' in D:\jgqy\thinkphp\library\think\Loader.php:83 Stack trace: #0 [internal function]: think\Error::appError(2, 'substr() expect...', 'D:\\jgqy\\thinkph...', 83, Array) #1 D:\jgqy\thinkphp\library\think\Loader.php(83): substr('think\\exception...', Array) #2 D:\jgqy\thinkphp\library\think\Loader.php(51): think\Loader::findFile('think\\exception...') #3 [internal function]: think\Loader::autoload('think\\exception...') #4 D:\jgqy\thinkphp\library\think\Error.php(112): spl_autoload_call('think\\exception...') #5 D:\jgqy\thinkphp\library\think\Error.php(43): think\Error::getExceptionHandler() #6 D:\jgqy\thinkphp\library\think\Error.php(80): think\Error::appException(Object(think\exception\ErrorException)) #7 [internal function]: think\Error::appShutdown() #8 {main} thrown in D:\jgqy\thinkphp\library\think\Loader.php on line 83