Comments (4)
Hi, I've received this report before, but there was never enough information to debug it:
So please, provide the full stack trace, or at least the part of the stack trace that indicates that this exception comes from will_paginate. Otherwise I won't be able to track this down. Thank you!
from will_paginate.
Hello,
Here is the full trace.
Tell me if you need anything else (hoping this time we'll manage to fix this issue :))
[actionview (6.1.5.1) lib/action_view/helpers/translation_helper.rb:70:in `translate'](http://localhost:3000/users#)
[will_paginate (3.1.8) lib/will_paginate/view_helpers/action_view.rb:83:in `will_paginate_translate'](http://localhost:3000/users#)
[will_paginate (3.1.8) lib/will_paginate/view_helpers.rb:77:in `will_paginate'](http://localhost:3000/users#)
[bootstrap-will_paginate (1.0.0) config/initializers/will_paginate.rb:15:in `will_paginate'](http://localhost:3000/users#)
[app/views/users/index.html.erb:4](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/base.rb:247:in `public_send'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/base.rb:247:in `_run'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/template.rb:154:in `block in render'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/notifications.rb:205:in `instrument'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/template.rb:345:in `instrument_render_template'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/template.rb:152:in `render'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/renderer/template_renderer.rb:61:in `block (2 levels) in render_template'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/notifications.rb:203:in `block in instrument'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/notifications.rb:203:in `instrument'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/renderer/template_renderer.rb:56:in `block in render_template'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/renderer/template_renderer.rb:71:in `block in render_with_layout'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/notifications.rb:203:in `block in instrument'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/notifications.rb:203:in `instrument'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/renderer/template_renderer.rb:70:in `render_with_layout'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/renderer/template_renderer.rb:55:in `render_template'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/renderer/template_renderer.rb:11:in `render'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/renderer/renderer.rb:29:in `render_to_object'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/rendering.rb:117:in `block in _render_template'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/base.rb:273:in `in_rendering_context'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/rendering.rb:116:in `_render_template'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/streaming.rb:218:in `_render_template'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/rendering.rb:103:in `render_to_body'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/rendering.rb:52:in `render_to_body'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/renderers.rb:142:in `render_to_body'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/abstract_controller/rendering.rb:25:in `render'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/rendering.rb:36:in `render'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render'](http://localhost:3000/users#)
[/home/anthony/.rbenv/versions/3.0.3/lib/ruby/3.0.0/benchmark.rb:308:in `realtime'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/core_ext/benchmark.rb:14:in `ms'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/instrumentation.rb:46:in `block in render'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/instrumentation.rb:86:in `cleanup_view_runtime'](http://localhost:3000/users#)
[activerecord (6.1.5.1) lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/instrumentation.rb:45:in `render'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/implicit_render.rb:35:in `default_render'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action'](http://localhost:3000/users#)
[<internal:kernel>:90:in `tap'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/abstract_controller/base.rb:228:in `process_action'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/rendering.rb:30:in `process_action'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/abstract_controller/callbacks.rb:42:in `block in process_action'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/callbacks.rb:117:in `block in run_callbacks'](http://localhost:3000/users#)
[actiontext (6.1.5.1) lib/action_text/rendering.rb:20:in `with_renderer'](http://localhost:3000/users#)
[actiontext (6.1.5.1) lib/action_text/engine.rb:59:in `block (4 levels) in <class:Engine>'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/callbacks.rb:126:in `instance_exec'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/callbacks.rb:126:in `block in run_callbacks'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/callbacks.rb:137:in `run_callbacks'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/abstract_controller/callbacks.rb:41:in `process_action'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/rescue.rb:22:in `process_action'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/notifications.rb:203:in `block in instrument'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/notifications.rb:203:in `instrument'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/instrumentation.rb:33:in `process_action'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal/params_wrapper.rb:249:in `process_action'](http://localhost:3000/users#)
[activerecord (6.1.5.1) lib/active_record/railties/controller_runtime.rb:27:in `process_action'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/abstract_controller/base.rb:165:in `process'](http://localhost:3000/users#)
[actionview (6.1.5.1) lib/action_view/rendering.rb:39:in `process'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal.rb:190:in `dispatch'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_controller/metal.rb:254:in `dispatch'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/routing/route_set.rb:33:in `serve'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/journey/router.rb:50:in `block in serve'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/journey/router.rb:32:in `each'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/journey/router.rb:32:in `serve'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/routing/route_set.rb:842:in `call'](http://localhost:3000/users#)
[rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call'](http://localhost:3000/users#)
[rack (2.2.3) lib/rack/etag.rb:27:in `call'](http://localhost:3000/users#)
[rack (2.2.3) lib/rack/conditional_get.rb:27:in `call'](http://localhost:3000/users#)
[rack (2.2.3) lib/rack/head.rb:12:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/http/permissions_policy.rb:22:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/http/content_security_policy.rb:19:in `call'](http://localhost:3000/users#)
[rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context'](http://localhost:3000/users#)
[rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/cookies.rb:689:in `call'](http://localhost:3000/users#)
[activerecord (6.1.5.1) lib/active_record/migration.rb:601:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/callbacks.rb:98:in `run_callbacks'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/executor.rb:14:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'](http://localhost:3000/users#)
[web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app'](http://localhost:3000/users#)
[web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call'](http://localhost:3000/users#)
[web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch'](http://localhost:3000/users#)
[web-console (4.2.0) lib/web_console/middleware.rb:17:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'](http://localhost:3000/users#)
[railties (6.1.5.1) lib/rails/rack/logger.rb:37:in `call_app'](http://localhost:3000/users#)
[railties (6.1.5.1) lib/rails/rack/logger.rb:26:in `block in call'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/tagged_logging.rb:99:in `block in tagged'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/tagged_logging.rb:37:in `tagged'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/tagged_logging.rb:99:in `tagged'](http://localhost:3000/users#)
[railties (6.1.5.1) lib/rails/rack/logger.rb:26:in `call'](http://localhost:3000/users#)
[sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/request_id.rb:26:in `call'](http://localhost:3000/users#)
[rack (2.2.3) lib/rack/method_override.rb:24:in `call'](http://localhost:3000/users#)
[rack (2.2.3) lib/rack/runtime.rb:22:in `call'](http://localhost:3000/users#)
[activesupport (6.1.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/executor.rb:14:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/static.rb:24:in `call'](http://localhost:3000/users#)
[rack (2.2.3) lib/rack/sendfile.rb:110:in `call'](http://localhost:3000/users#)
[actionpack (6.1.5.1) lib/action_dispatch/middleware/host_authorization.rb:148:in `call'](http://localhost:3000/users#)
[rack-mini-profiler (2.3.4) lib/mini_profiler/profiler.rb:393:in `call'](http://localhost:3000/users#)
[webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request'](http://localhost:3000/users#)
[rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call'](http://localhost:3000/users#)
[railties (6.1.5.1) lib/rails/engine.rb:539:in `call'](http://localhost:3000/users#)
[puma (5.6.4) lib/puma/configuration.rb:252:in `call'](http://localhost:3000/users#)
[puma (5.6.4) lib/puma/request.rb:77:in `block in handle_request'](http://localhost:3000/users#)
[puma (5.6.4) lib/puma/thread_pool.rb:340:in `with_force_shutdown'](http://localhost:3000/users#)
[puma (5.6.4) lib/puma/request.rb:76:in `handle_request'](http://localhost:3000/users#)
[puma (5.6.4) lib/puma/server.rb:441:in `process_client'](http://localhost:3000/users#)
[puma (5.6.4) lib/puma/thread_pool.rb:147:in `block in spawn_thread'](http://localhost:3000/users#)
from will_paginate.
Thank you! Could you try upgrading will_paginate in your app? This problem might have been fixed with 1e26621
from will_paginate.
Thanks, everything is working now ! I missed v.3.3.x of will_paginate.
from will_paginate.
Related Issues (20)
- Can there be better error encapsulation if the infered collection is nil as a result of being a hash (particularly a nested one)? HOT 1
- The @search variable appears to be empty. Did you forget to pass the collection object for will_paginate? HOT 1
- How to remember checkbox which has been selected in previous page? HOT 1
- Set custom total_pages value HOT 1
- Routes error causes will_paginate to crash HOT 4
- Rails 6.1 with page_entries_info bug HOT 6
- Page doesn't go top after clicking a different page number on mobile HOT 1
- [Bug] page_entries_info does not work any more with Rails 6.1.3 HOT 6
- "?page=false" is not a number. Add a configuration to skip the error and to convert it as 0, or 1 or something HOT 1
- Would it be possible to get one last release of `will_paginate`? HOT 1
- wrong number of arguments (given 2, expected 1) HOT 2
- Remove deprecated ARIA-DISABLED attribute from SPAN element
- Ruby 3.x - ArgumentError - wrong number of arguments (given 2, expected 1) HOT 1
- `raw_rnum_` being added to queried results and paged results wrong. HOT 3
- Re pagination sequel query HOT 3
- Página principal HOT 1
- New Gem Version HOT 1
- Custom link renderer broken by changes to `previous_or_next_page`
- Limit number of (pages of) results HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from will_paginate.