ServerException {#182
#message: "NOWRITE You can't write against a non-write redis."
#code: 0
#file: "/home/dearedu/web/s1.dearedu.com/vendor/predis/predis/src/Client.php"
#line: 370
-trace: array:58 [
0 => array:3 [
"call" => "Predis\Client->onErrorResponse()"
"file" => "/home/dearedu/web/s1.dearedu.com/vendor/predis/predis/src/Client.php:335"
"args" => array:2 [
0 => StringSet {#178
-arguments: array:2 [
0 => "s.dearedu.comtype=同步§ion_id=3&subject_id=1"
1 => "a:7:{i:0;O:8:"stdClass":2:{s:6:"pub_id";i:522;s:8:"pub_name";s:24:"统编版(部编版)";}i:1;O:8:"stdClass":2:{s:6:"pub_id";i:2;s:8:"pub_name";s:12:"新人教版";}i:2;O:8:"stdClass":2:{s:6:"pub_id";i:3;s:8:"pub_name";s:9:"语文版";}i:3;O:8:"stdClass":2:{s:6:"pub_id";i:4;s:8:"pub_name";s:9:"苏教版";}i:4;O:8:"stdClass":2:{s:6:"pub_id";i:5;s:8:"pub_name";s:9:"粤教版";}i:5;O:8:"stdClass":2:{s:6:"pub_id";i:6;s:8:"pub_name";s:9:"鲁人版";}i:6;O:8:"stdClass":2:{s:6:"pub_id";i:8;s:8:"pub_name";s:12:"北师大版";}}"
]
}
1 => Error {#181
-message: "NOWRITE You can't write against a non-write redis."
}
]
]
1 => array:3 [
"call" => "Predis\Client->executeCommand()"
"file" => "/home/dearedu/web/s1.dearedu.com/vendor/predis/predis/src/Client.php:315"
"args" => array:1 [
0 => StringSet {#178}
]
]
2 => array:3 [
"call" => "Predis\Client->__call()"
"file" => ""
"args" => array:2 [
0 => "set"
1 => array:2 [
0 => "s.dearedu.comtype=同步§ion_id=3&subject_id=1"
1 => "a:7:{i:0;O:8:"stdClass":2:{s:6:"pub_id";i:522;s:8:"pub_name";s:24:"统编版(部编版)";}i:1;O:8:"stdClass":2:{s:6:"pub_id";i:2;s:8:"pub_name";s:12:"新人教版";}i:2;O:8:"stdClass":2:{s:6:"pub_id";i:3;s:8:"pub_name";s:9:"语文版";}i:3;O:8:"stdClass":2:{s:6:"pub_id";i:4;s:8:"pub_name";s:9:"苏教版";}i:4;O:8:"stdClass":2:{s:6:"pub_id";i:5;s:8:"pub_name";s:9:"粤教版";}i:5;O:8:"stdClass":2:{s:6:"pub_id";i:6;s:8:"pub_name";s:9:"鲁人版";}i:6;O:8:"stdClass":2:{s:6:"pub_id";i:8;s:8:"pub_name";s:12:"北师大版";}}"
]
]
]
3 => array:3 [
"call" => "Predis\Client->set()"
"file" => ""
"args" => array:2 [
0 => "s.dearedu.comtype=同步§ion_id=3&subject_id=1"
1 => "a:7:{i:0;O:8:"stdClass":2:{s:6:"pub_id";i:522;s:8:"pub_name";s:24:"统编版(部编版)";}i:1;O:8:"stdClass":2:{s:6:"pub_id";i:2;s:8:"pub_name";s:12:"新人教版";}i:2;O:8:"stdClass":2:{s:6:"pub_id";i:3;s:8:"pub_name";s:9:"语文版";}i:3;O:8:"stdClass":2:{s:6:"pub_id";i:4;s:8:"pub_name";s:9:"苏教版";}i:4;O:8:"stdClass":2:{s:6:"pub_id";i:5;s:8:"pub_name";s:9:"粤教版";}i:5;O:8:"stdClass":2:{s:6:"pub_id";i:6;s:8:"pub_name";s:9:"鲁人版";}i:6;O:8:"stdClass":2:{s:6:"pub_id";i:8;s:8:"pub_name";s:12:"北师大版";}}"
]
]
4 => array:3 [
"call" => "call_user_func_array()"
"file" => "/home/dearedu/web/s1.dearedu.com/vendor/laravel/framework/src/Illuminate/Redis/Database.php:88"
"args" => array:2 [
0 => array:2 [
0 => Client {#171
#connection: StreamConnection {#175
-resource: stream resource @35
timed_out: false
blocked: true
eof: false
stream_type: "tcp_socket/ssl"
mode: "r+"
unread_bytes: 0
seekable: false
options: []
}
-cachedId: null
#parameters: Parameters {#173
-parameters: array:5 [
"host" => "r-j6cuutbaxgezivddgx.redis.rds.aliyuncs.com"
"password" => "dearedu:Power123321"
"port" => "6379"
"database" => 0
"scheme" => "tcp"
]
}
#initCommands: array:2 [
0 => RawCommand {#176
-slot: null
-commandID: "AUTH"
-arguments: array:1 [
0 => "dearedu:Power123321"
]
}
1 => RawCommand {#177
-slot: null
-commandID: "SELECT"
-arguments: array:1 [
0 => 0
]
}
]
}
#options: Options {#172
#input: []
#options: array:3 [
"connections" => Factory {#174
-defaults: []
#schemes: array:6 [
"tcp" => "Predis\Connection\StreamConnection"
"unix" => "Predis\Connection\StreamConnection"
"tls" => "Predis\Connection\StreamConnection"
"redis" => "Predis\Connection\StreamConnection"
"rediss" => "Predis\Connection\StreamConnection"
"http" => "Predis\Connection\WebdisConnection"
]
}
"profile" => RedisVersion320 {#179
-commands: array:159 [
"EXISTS" => "Predis\Command\KeyExists"
"DEL" => "Predis\Command\KeyDelete"
"TYPE" => "Predis\Command\KeyType"
"KEYS" => "Predis\Command\KeyKeys"
"RANDOMKEY" => "Predis\Command\KeyRandom"
"RENAME" => "Predis\Command\KeyRename"
"RENAMENX" => "Predis\Command\KeyRenamePreserve"
"EXPIRE" => "Predis\Command\KeyExpire"
"EXPIREAT" => "Predis\Command\KeyExpireAt"
"TTL" => "Predis\Command\KeyTimeToLive"
"MOVE" => "Predis\Command\KeyMove"
"SORT" => "Predis\Command\KeySort"
"DUMP" => "Predis\Command\KeyDump"
"RESTORE" => "Predis\Command\KeyRestore"
"SET" => "Predis\Command\StringSet"
"SETNX" => "Predis\Command\StringSetPreserve"
"MSET" => "Predis\Command\StringSetMultiple"
"MSETNX" => "Predis\Command\StringSetMultiplePreserve"
"GET" => "Predis\Command\StringGet"
"MGET" => "Predis\Command\StringGetMultiple"
"GETSET" => "Predis\Command\StringGetSet"
"INCR" => "Predis\Command\StringIncrement"
"INCRBY" => "Predis\Command\StringIncrementBy"
"DECR" => "Predis\Command\StringDecrement"
"DECRBY" => "Predis\Command\StringDecrementBy"
"RPUSH" => "Predis\Command\ListPushTail"
"LPUSH" => "Predis\Command\ListPushHead"
"LLEN" => "Predis\Command\ListLength"
"LRANGE" => "Predis\Command\ListRange"
"LTRIM" => "Predis\Command\ListTrim"
"LINDEX" => "Predis\Command\ListIndex"
"LSET" => "Predis\Command\ListSet"
"LREM" => "Predis\Command\ListRemove"
"LPOP" => "Predis\Command\ListPopFirst"
"RPOP" => "Predis\Command\ListPopLast"
"RPOPLPUSH" => "Predis\Command\ListPopLastPushHead"
"SADD" => "Predis\Command\SetAdd"
"SREM" => "Predis\Command\SetRemove"
"SPOP" => "Predis\Command\SetPop"
"SMOVE" => "Predis\Command\SetMove"
"SCARD" => "Predis\Command\SetCardinality"
"SISMEMBER" => "Predis\Command\SetIsMember"
"SINTER" => "Predis\Command\SetIntersection"
"SINTERSTORE" => "Predis\Command\SetIntersectionStore"
"SUNION" => "Predis\Command\SetUnion"
"SUNIONSTORE" => "Predis\Command\SetUnionStore"
"SDIFF" => "Predis\Command\SetDifference"
"SDIFFSTORE" => "Predis\Command\SetDifferenceStore"
"SMEMBERS" => "Predis\Command\SetMembers"
"SRANDMEMBER" => "Predis\Command\SetRandomMember"
"ZADD" => "Predis\Command\ZSetAdd"
"ZINCRBY" => "Predis\Command\ZSetIncrementBy"
"ZREM" => "Predis\Command\ZSetRemove"
"ZRANGE" => "Predis\Command\ZSetRange"
"ZREVRANGE" => "Predis\Command\ZSetReverseRange"
"ZRANGEBYSCORE" => "Predis\Command\ZSetRangeByScore"
"ZCARD" => "Predis\Command\ZSetCardinality"
"ZSCORE" => "Predis\Command\ZSetScore"
"ZREMRANGEBYSCORE" => "Predis\Command\ZSetRemoveRangeByScore"
"PING" => "Predis\Command\ConnectionPing"
"AUTH" => "Predis\Command\ConnectionAuth"
"SELECT" => "Predis\Command\ConnectionSelect"
"ECHO" => "Predis\Command\ConnectionEcho"
"QUIT" => "Predis\Command\ConnectionQuit"
"INFO" => "Predis\Command\ServerInfoV26x"
"SLAVEOF" => "Predis\Command\ServerSlaveOf"
"MONITOR" => "Predis\Command\ServerMonitor"
"DBSIZE" => "Predis\Command\ServerDatabaseSize"
"FLUSHDB" => "Predis\Command\ServerFlushDatabase"
"FLUSHALL" => "Predis\Command\ServerFlushAll"
"SAVE" => "Predis\Command\ServerSave"
"BGSAVE" => "Predis\Command\ServerBackgroundSave"
"LASTSAVE" => "Predis\Command\ServerLastSave"
"SHUTDOWN" => "Predis\Command\ServerShutdown"
"BGREWRITEAOF" => "Predis\Command\ServerBackgroundRewriteAOF"
"SETEX" => "Predis\Command\StringSetExpire"
"APPEND" => "Predis\Command\StringAppend"
"SUBSTR" => "Predis\Command\StringSubstr"
"BLPOP" => "Predis\Command\ListPopFirstBlocking"
"BRPOP" => "Predis\Command\ListPopLastBlocking"
"ZUNIONSTORE" => "Predis\Command\ZSetUnionStore"
"ZINTERSTORE