## 1、imagick扩展
code: 500,
msg: Call to a member function drawImage() on resource,
detail: \["#41: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/vendor/kosinix/grafika/src/Grafika/Imagick/DrawingObject/Rectangle.php](http://xaysxh.cn/addons/zjhj_bd/vendor/kosinix/grafika/src/Grafika/Imagick/DrawingObject/Rectangle.php)","#94: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/forms/common/grafika/GrafikaOption.php](http://xaysxh.cn/addons/zjhj_bd/forms/common/grafika/GrafikaOption.php)","#2: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/plugins/quick\_share/forms/api/GoodsPoster.php](http://xaysxh.cn/addons/zjhj_bd/plugins/quick_share/forms/api/GoodsPoster.php)","#50: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/plugins/quick\_share/forms/api/GoodsPoster.php](http://xaysxh.cn/addons/zjhj_bd/plugins/quick_share/forms/api/GoodsPoster.php)","#1: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/plugins/quick\_share/controllers/api/GoodsController.php](http://xaysxh.cn/addons/zjhj_bd/plugins/quick_share/controllers/api/GoodsController.php)","#0: app\\\\plugins\\\\quick\_share\\\\controllers\\\\api\\\\GoodsController->actionPosterList()","#57: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/vendor/yiisoft/yii2/base/InlineAction.php](http://xaysxh.cn/addons/zjhj_bd/vendor/yiisoft/yii2/base/InlineAction.php)","#157: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/vendor/yiisoft/yii2/base/Controller.php](http://xaysxh.cn/addons/zjhj_bd/vendor/yiisoft/yii2/base/Controller.php)","#3: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/core/Application.php](http://xaysxh.cn/addons/zjhj_bd/core/Application.php)","#103: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/vendor/yiisoft/yii2/web/Application.php](http://xaysxh.cn/addons/zjhj_bd/vendor/yiisoft/yii2/web/Application.php)","#386: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/vendor/yiisoft/yii2/base/Application.php](http://xaysxh.cn/addons/zjhj_bd/vendor/yiisoft/yii2/base/Application.php)","#1: /www/wwwroot/[xaysxh.cn/addons/zjhj\_bd/web/index.php](http://xaysxh.cn/addons/zjhj_bd/web/index.php)"\]
需要把imagick扩展卸载掉
## 2、Redis密码错误
code: 500,
msg: Redis error: ERR Client sent AUTH, but no password is set
Redis command was: AUTH admin888,
detail: \["#736: /www/wwwroot/weizan.linyimobi.com/addons/zjhj\_bd/vendor/yiisoft/yii2-redis/src/Connection.php","#697: /www/wwwroot/weizan.linyimobi.com/addons/zjhj\_bd/vendor/yiisoft/yii2-redis/src/Connection.php","#556: /www/wwwroot/weizan.linyimobi.com/addons/zjhj\_bd/vendor/yiisoft/yii2-redis/src/Connection.php","#665: /www/wwwroot/weizan.linyimobi.com/addons/zjhj\_bd/vendor/yiisoft/yii2-redis/src/Connection.php","#630: /www/wwwroot/weizan.linyimobi.com/addons/zjhj\_bd/vendor/yiisoft/yii2-redis/src/Connection.php","#194: /www/wwwroot/weizan.linyimobi.com/addons/zjhj\_bd/vendor/yiisoft/yii2-queue/src/drivers/redis/Queue.php","#196: /www/wwwroot/weizan.linyimobi.com/addons/zjhj\_bd/vendor/yiisoft/yii
## 3、云存储空间报错
![](https://img.kancloud.cn/5a/b6/5ab64b4378fb2aecbcd30a4e71c37fda_1797x1010.jpg)
上传设置那边去看看,有没有配置错误
## 4、未开通jsapi报错
code: 500,
msg: returnCode: FAIL, returnMsg: 商户号该产品权限未开通,请前往商户平台>产品中心检查后重试,
detail: \["#55: /www/wwwroot/xcx.ptwhkj.com/vendor/luweiss/wechat/src/Wechat/WechatPay.php","#118: /www/wwwroot/xcx.ptwhkj.com/vendor/luweiss/wechat/src/Wechat/WechatPay.php","#165: /www/wwwroot/xcx.ptwhkj.com/core/payment/Payment.php","#3: /www/wwwroot/xcx.ptwhkj.com/controllers/api/PaymentController.php","#0: app\\\\controllers\\\\api\\\\PaymentController->actionPayData()","#57: /www/wwwroot/xcx.ptwhkj.com/vendor/yiisoft/yii2/base/InlineAction.php","#157: /www/wwwroot/xcx.ptwhkj.com/vendor/yiisoft/yii2/base/Controller.php","#528: /www/wwwroot/xcx.ptwhkj.com/vendor/yiisoft/yii2/base/Module.php","#230: /www/wwwroot/xcx.ptwhkj.com/core/Application.php","#103: /www/wwwroot/xcx.ptwhkj.com/vendor/yiisoft/yii2/web/Application.php","#386: /www/wwwroot/xcx.ptwhkj.com/vendor/yiisoft/yii2/base/Application.php","#1: /www/wwwroot/xcx.ptwhkj.com/web/index.php"\]
去商户平台——产品大全开通jsapi
## 5、域名下的ssl证书有问题
code: 400,
msg: request:fail -200:net::ERR\_CERT\_COMMON\_NAME\_INVALID,
detail: {"errMsg":"request:fail -200:net::ERR\_CERT\_COMMON\_NAME\_INVALID"}