报错:need 4 bytes , 0 bytes provide

WBOY
Release: 2016-06-23 13:56:58
Original
1248 people have browsed it

本人新手,学习一种新框架,调用一方法报错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);
追踪是最后一句出错,请各位看看哪里的问题,我个人认为是参数的问题,但是参数能够输出出来


回复讨论(解决方案)

need 4 bytes , 0 bytes provide
需要4个字节,0字节提供

need 4 bytes , 0 bytes provide
需要4个字节,0字节提供


是不是参数没提供?还是哪里出了问题呢

是参数问题,但你似乎没有贴全错误信息

贴出完整的错误信息以供分析。

问题已经解决了。

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