#2701 - An ActiveRecord::PreparedStatementCacheExpired occurred in people#index:
An ActiveRecord::PreparedStatementCacheExpired occurred in people#index:
ERROR: cached plan must not change result type
app/models/person.rb:909:in `can_send_message?'
-------------------------------
Request:
-------------------------------
* URL : https://www.internal.bikelink.org/people.xml?email=trimet-beaverton-kiosk%40bikelink.org&page=2&password=%3DTQjsycQ2U%3Fqd5Er1PVr&since=2021-08-12T01%3A32%3A07Z&with_access_code_log=true
* HTTP Method: GET
* IP address : 127.0.0.1
* Parameters : {"page"=>"2", "since"=>"2021-08-12T01:32:07Z", "with_access_code_log"=>"true", "controller"=>"people", "action"=>"index", "format"=>"xml", "person"=>{"email"=>"trimet-beaverton-kiosk@bikelink.org", "password"=>"[FILTERED]"}, "kiosk_hack_email"=>nil}
* Timestamp : 2021-08-12 14:24:43 UTC
* Server : www-4.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 12239
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {"session_id"=>"26fc5eb05c532feb9b22959cc410ae65",
"password_session_token"=>"8f00be529dc5978167c73edb",
"warden.user.person.key"=>[[5392], "TpykXMGI_PdM_C7CfZya"]}
------------------------------
Backtrace:
-------------------------------
app/models/person.rb:909:in `can_send_message?'
app/models/person.rb:92:in `block in <class:Person>'
app/controllers/application_controller.rb:101:in `person'
app/controllers/application_controller.rb:52:in `person_is_inactive?'
app/controllers/application_controller.rb:62:in `authenticate_person!'
