Error: Need 4 bytes, 0 bytes provide

Source: Internet
Author: User
I novice, learning a new framework, calling a method error need 4 bytes, 0 bytes provide.
The code is as follows
$vid = $this->request->getpostparameter (' vid ', 1);
$VIDARR = Array (1,2,3,4,5,6);
if (!in_array ($vid, $VIDARR)) {
Return ' illegal source ';
}
$uin = Tmauthutils::getuin ();
$dayLimit = 3;
$taeCounterResult = Taecounterservice::d aycounteradd (1, $uin. $vid, 1,taecounterservice::strict_max, $dayLimit);
Tracking is the last sentence error, please see where the problem, I personally think it is a parameter problem, but the parameters can be output


Reply to discussion (solution)

Need 4 bytes, 0 bytes provide
Requires 4 bytes, 0 bytes to provide

Need 4 bytes, 0 bytes provide
Requires 4 bytes, 0 bytes to provide


Is the parameter not provided? Or is there something wrong?

It's a parametric problem, but you don't seem to have a full error message.

Post a complete error message for analysis.

The problem has been solved.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.