Home > Backend Development > PHP Tutorial > 出错:need 4 bytes , 0 bytes provide

出错:need 4 bytes , 0 bytes provide

WBOY
Release: 2016-06-13 11:57:19
Original
1154 people have browsed it

报错:need 4 bytes , 0 bytes provide
本人新手,学习一种新框架,调用一方法报错need 4 bytes , 0 bytes provide。
代码如下
$vid = $this->request->getPostParameter('vid',1);
$vidArr = array(1,2,3,4,5,6);
if(!in_array($vid, $vidArr)){
return '非法来源';
}
$uin = TMAuthUtils::getUin();
$dayLimit = 3;
$taeCounterResult = TaeCounterService::dayCounterAdd(1, $uin.$vid, 1,TaeCounterService::STRICT_MAX,$dayLimit);
追踪是最后一句出错,请各位看看哪里的问题,我个人认为是参数的问题,但是参数能够输出出来

------解决方案--------------------
是参数问题,但你似乎没有贴全错误信息
------解决方案--------------------
贴出完整的错误信息以供分析。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template