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" => "Predis\Command\ZSetIntersectionStore"
"ZCOUNT" => "Predis\Command\ZSetCount"
"ZRANK" => "Predis\Command\ZSetRank"
"ZREVRANK" => "Predis\Command\ZSetReverseRank"
"ZREMRANGEBYRANK" => "Predis\Command\ZSetRemoveRangeByRank"
"HSET" => "Predis\Command\HashSet"
"HSETNX" => "Predis\Command\HashSetPreserve"
"HMSET" => "Predis\Command\HashSetMultiple"
"HINCRBY" => "Predis\Command\HashIncrementBy"
"HGET" => "Predis\Command\HashGet"
"HMGET" => "Predis\Command\HashGetMultiple"
"HDEL" => "Predis\Command\HashDelete"
"HEXISTS" => "Predis\Command\HashExists"
"HLEN" => "Predis\Command\HashLength"
"HKEYS" => "Predis\Command\HashKeys"
"HVALS" => "Predis\Command\HashValues"
"HGETALL" => "Predis\Command\HashGetAll"
"MULTI" => "Predis\Command\TransactionMulti"
"EXEC" => "Predis\Command\TransactionExec"
"DISCARD" => "Predis\Command\TransactionDiscard"
"SUBSCRIBE" => "Predis\Command\PubSubSubscribe"
"UNSUBSCRIBE" => "Predis\Command\PubSubUnsubscribe"
"PSUBSCRIBE" => "Predis\Command\PubSubSubscribeByPattern"
"PUNSUBSCRIBE" => "Predis\Command\PubSubUnsubscribeByPattern"
"PUBLISH" => "Predis\Command\PubSubPublish"
"CONFIG" => "Predis\Command\ServerConfig"
"PERSIST" => "Predis\Command\KeyPersist"
"STRLEN" => "Predis\Command\StringStrlen"
"SETRANGE" => "Predis\Command\StringSetRange"
"GETRANGE" => "Predis\Command\StringGetRange"
"SETBIT" => "Predis\Command\StringSetBit"
"GETBIT" => "Predis\Command\StringGetBit"
"RPUSHX" => "Predis\Command\ListPushTailX"
"LPUSHX" => "Predis\Command\ListPushHeadX"
"LINSERT" => "Predis\Command\ListInsert"
"BRPOPLPUSH" => "Predis\Command\ListPopLastPushHeadBlocking"
"ZREVRANGEBYSCORE" => "Predis\Command\ZSetReverseRangeByScore"
"WATCH" => "Predis\Command\TransactionWatch"
"UNWATCH" => "Predis\Command\TransactionUnwatch"
"OBJECT" => "Predis\Command\ServerObject"
"SLOWLOG" => "Predis\Command\ServerSlowlog"
"CLIENT" => "Predis\Command\ServerClient"
"PTTL" => "Predis\Command\KeyPreciseTimeToLive"
"PEXPIRE" => "Predis\Command\KeyPreciseExpire"
"PEXPIREAT" => "Predis\Command\KeyPreciseExpireAt"
"MIGRATE" => "Predis\Command\KeyMigrate"
"PSETEX" => "Predis\Command\StringPreciseSetExpire"
"INCRBYFLOAT" => "Predis\Command\StringIncrementByFloat"
"BITOP" => "Predis\Command\StringBitOp"
"BITCOUNT" => "Predis\Command\StringBitCount"
"HINCRBYFLOAT" => "Predis\Command\HashIncrementByFloat"
"EVAL" => "Predis\Command\ServerEval"
"EVALSHA" => "Predis\Command\ServerEvalSHA"
"SCRIPT" => "Predis\Command\ServerScript"
"TIME" => "Predis\Command\ServerTime"
"SENTINEL" => "Predis\Command\ServerSentinel"
"SCAN" => "Predis\Command\KeyScan"
"BITPOS" => "Predis\Command\StringBitPos"
"SSCAN" => "Predis\Command\SetScan"
"ZSCAN" => "Predis\Command\ZSetScan"
"ZLEXCOUNT" => "Predis\Command\ZSetLexCount"
"ZRANGEBYLEX" => "Predis\Command\ZSetRangeByLex"
"ZREMRANGEBYLEX" => "Predis\Command\ZSetRemoveRangeByLex"
"ZREVRANGEBYLEX" => "Predis\Command\ZSetReverseRangeByLex"
"HSCAN" => "Predis\Command\HashScan"
"PUBSUB" => "Predis\Command\PubSubPubsub"
"PFADD" => "Predis\Command\HyperLogLogAdd"
"PFCOUNT" => "Predis\Command\HyperLogLogCount"
"PFMERGE" => "Predis\Command\HyperLogLogMerge"
"COMMAND" => "Predis\Command\ServerCommand"
"HSTRLEN" => "Predis\Command\HashStringLength"
"BITFIELD" => "Predis\Command\StringBitField"
"GEOADD" => "Predis\Command\GeospatialGeoAdd"
"GEOHASH" => "Predis\Command\GeospatialGeoHash"
"GEOPOS" => "Predis\Command\GeospatialGeoPos"
"GEODIST" => "Predis\Command\GeospatialGeoDist"
"GEORADIUS" => "Predis\Command\GeospatialGeoRadius"
"GEORADIUSBYMEMBER" => "Predis\Command\GeospatialGeoRadiusByMember"
]
-processor: null
}
"exceptions" => true
]
#handlers: array:6 [
"cluster" => "Predis\Configuration\ClusterOption"
"connections" => "Predis\Configuration\ConnectionFactoryOption"
"exceptions" => "Predis\Configuration\ExceptionsOption"
"prefix" => "Predis\Configuration\PrefixOption"
"profile" => "Predis\Configuration\ProfileOption"
"replication" => "Predis\Configuration\ReplicationOption"
]
}
-profile: RedisVersion320 {#179}
}
1 => "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:"北师大版";}}"
]
]
]
5 => array:3 [
"call" => "Illuminate\Redis\Database->command()"
"file" => "/home/dearedu/web/s1.dearedu.com/vendor/laravel/framework/src/Illuminate/Redis/Database.php:137"
"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:&