System error

error:  query error: Can't canonicalize query: BadValue bad skip value in query at /usr/local/apache/htdocs/vertical/category.html line 258.
context: 
... 
254:  <h5 class="text-uppercase strong separator bottom"><% $total_record %> Search results</h5>
255:  % my $counter = 1;
256:  % my @plist;
257:  % my $data2 = $collection_p1->find({ "cid" => $cid }, { "limit" => $entries_per_page })->skip(($current_page-1)*$entries_per_page);
258:  % while (my $object = $data2->next) {
259:  % push @plist, $object->{tid};
260:  % my $thumb = "http://s".($counter % 3).".aped.co/m/".$object->{tid}.".jpg";
261:  %# unless (-e '/usr/local/apache/htdocs/vertical/thumb/m/'.$object->{tid}.'.jpg') {
262:  %# if ($object->{image} =~ /^http/) {
... 
code stack:  /usr/local/apache/htdocs/vertical/category.html:258
/usr/local/apache/htdocs/vertical/index.html:13
raw error






























query error: Can't canonicalize query: BadValue bad skip value in query at /usr/local/apache/htdocs/vertical/category.html line 258.


Trace begun at /usr/local/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('query error: Can\'t canonicalize query: BadValue bad skip value in query at /usr/local/apache/htdocs/vertical/category.html line 258.^J') called at /usr/local/apache/htdocs/vertical/category.html line 258
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x4fa7e78)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /usr/local/apache/htdocs/vertical/index.html line 13
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2ea0118)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1297
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x4fd12e0)') called at /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x4fd12e0)') called at /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2759290)', 'Apache2::RequestRec=SCALAR(0x53a0db0)') called at /usr/local/apache/handler.pl line 14
MyMason::MyApp::handler('Apache2::RequestRec=SCALAR(0x53a0db0)') called at -e line 0
eval {...} at -e line 0