5 Array to string conversion

保存系统配置的时候报错.


at HandleExceptions->handleError('8', 'Array to string conversion', '/usr/local/www/tipask/app/Models/Setting.php', '45', array('env_path' => '/usr/local/www/tipask/.env', 'env_content' => 'APP_DEBUG=true APP_ENV=local APP_KEY=NoK6jDprgHpqAkWe1Lft9G6Ws8FS9zMV CONTENT_LENGTH=345 CONTENT_TYPE=application/x-www-form-urlencoded DB_DATABASE=tipaskx DB_HOST=127.0.0.1 DB_PASSWORD=090201007 DB_PORT=3306 DB_PREFIX=ask_ DB_USERNAME=root DOCUMENT_ROOT=/usr/local/nginx/public DOCUMENT_URI=/index.php FCGI_ROLE=RESPONDER GATEWAY_INTERFACE=CGI/1.1 HOME=/home/linux HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_ENCODING=gzip, deflate HTTP_ACCEPT_LANGUAGE=zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2 HTTP_CONNECTION=keep-alive HTTP_CONTENT_LENGTH=345 HTTP_CONTENT_TYPE=application/x-www-form-urlencoded HTTP_COOKIE=csrftoken=m4Jzmy7JQg2togIg8q96H4eSxOwVGAxEvMiaABf3HbSuVWBWLg8nM2RV7iia50ZR; laravel_session=eyJpdiI6IkNZK2QxUFlHVjRPRHR2aGhYam56WUE9PSIsInZhbHVlIjoiYkM5XC9wY3Fvd0dwSU0xMmRiVkE2QTI5anlUemh5UURneUZBenhYMGRZMG9vRkxtcFRsM1wvUnZ4dDNnbG1UZ0RkNkNLXC9pQmgyNWpQc25GcnEwY05HTFE9PSIsIm1hYyI6IjQ5YTJiM2NhZmQyNDQyNTAxNjM1MmE2YzM3YWZkMjYzNDc2Y2IyNjBiMDU3YTYyN2RhZDE0NTg5MjBjODUxMjYifQ%3D%3D; XSRF-TOKEN=eyJpdiI6InMzRkUweWpZRUdSTmEwOElEWGl3TUE9PSIsInZhbHVlIjoiRU4rOUUyMEVxMit3ODhCVW1qTzg4MmtlbDZiZk5LK2dpXC9WSE0raWU0bUNMak8rOXlFYVdVSGtQV0RyNWVXdE16MmhmejZcL2hSVWVuVkNqWEs0R2dVQT09IiwibWFjIjoiYjAyMzAxOTZhNTdmNDcxZDVlNWMzMDI2NDQ4NzE3ZmRkNjljNGU5ZTRkNjZhZjU5YzZlNmY1ODM1Y2QyYmQ4MSJ9; sidebar_collapse=eyJpdiI6IkluTW5meEdZZEVXY0hZVkpiVXN1UXc9PSIsInZhbHVlIjoiVG1NKzdSb2wwNTRPUHpkdHlqZ3ZNQT09IiwibWFjIjoiZWEyNTBiNWI1OWU4M2IzMDNlYTY4NDNjNDU3ZmVmN2I2YWJlMWIzMTcyN2NiZGE5NTRlYWE3MTg0M2VkMjJhNCJ9; remember_82e5d2c56bdd0811318f0cf078b78bfc=eyJpdiI6InA4R0dJWDF1Y3pSZG9wR1g0MXFuREE9PSIsInZhbHVlIjoiOVc0cVoxRVBmbXpLeXVHZHp6anQ1c1wvYzJoR2dKZ0xncWE2RDVKN3JYOExYOUROSWxEODZTQVljOEtxUFRWdTg0UGFZXC9OK2JiMUNDdUJqYWU0YmpkRDJiQzlRMHV3Wmw1cTVlM3l2c0k1cz0iLCJtYWMiOiI5MTY1ZWM0ZmQ3N2MxYTNkMTg0NTcxMGZlMzk2ODc1ZTI0YTY5ZjUyMzczOTRlYTEyZDFmZDVjZWUzMWVjZmM2In0%3D HTTP_HOST=dreamqq.cn HTTP_REFERER=http://dreamqq.cn/admin/setting/email HTTP_UPGRADE_INSECURE_REQUESTS=1 HTTP_USER_AGENT=Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0 MAIL_DRIVER=smtp MAIL_ENCRYPTION=ssl MAIL_FROM_ADDRESS=jacqueline127@126.com MAIL_FROM_NAME=外贸新头条 MAIL_HOST=smtp.126.com MAIL_OPEN=1 MAIL_PASSWORD=yijialiang623 MAIL_PORT=465 MAIL_SENDMAIL=/usr/sbin/sendmail -bs MAIL_USERNAME=jacqueline127@126.com PHP_SELF=/index.php QUERY_STRING= REDIRECT_STATUS=200 REMOTE_ADDR=113.57.132.114 REMOTE_PORT=25519 REQUEST_METHOD=POST REQUEST_SCHEME=http REQUEST_TIME=1511770134 REQUEST_TIME_FLOAT=1511770134.5585 REQUEST_URI=/admin/setting/email SCRIPT_FILENAME=/usr/local/www/tipask/public//index.php SCRIPT_NAME=/index.php SERVER_ADDR=192.168.0.4 SERVER_NAME= SERVER_PORT=80 SERVER_PROTOCOL=HTTP/1.1 SERVER_SOFTWARE=nginx/1.11.13 USER=linux argc=0 ', 'value' => array(), 'key' => 'argv')) in Setting.php line 45

请先 登录 后评论

最佳答案 2017-12-05 10:00

每次报错都报错吗,还是特定的配置,特定的输入报错,方便的花提供一下配置截图,我们这边测试一下看看

请先 登录 后评论

其它 1 个回答

海720

ddddfdsafsdf

请先 登录 后评论