Trying to upgrade from Spotlight 3.2 to 4.0 and getting following error..
13 views
Skip to first unread message
skus...@saintpeters.edu
unread,
Jul 23, 2025, 4:50:18 PMJul 23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Blacklight Development
Error: The application encountered the following error: undefined local variable or method `record_search_parameters' for CatalogController:Class (NameError) App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/blacklight-7.41.0/app/controllers/concerns/blacklight/catalog.rb:30:in `block in <module:Catalog>' App 20022 output:
Can anyone please help me out.
Thanks,
Sincerely,
Scott Kushner
skushner@spotlight:/var/www/spu_images$ RAILS_ENV=production /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/passenger-6.0.27/bin/passenger start -e production --address 127.0.0.1 --port 4001 =============== Phusion Passenger(R) Standalone web server started =============== PID file: /var/www/spu_images/tmp/pids/passenger.4001.pid Log file: /var/www/spu_images/log/passenger.4001.log Environment: production Accessible via: http://127.0.0.1:4001/
You can stop Phusion Passenger(R) Standalone by pressing Ctrl-C. Problems? Check https://www.phusionpassenger.com/library/admin/standalone/troubleshooting/ =============================================================================== [ N 2025-07-23 16:14:47.7828 19985/T6 age/Cor/SecurityUpdateChecker.h:518 ]: Security update check: no update found (next check in 24 hours) App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/2.7.0/net/protocol.rb:66: warning: already initialized constant Net::ProtocRetryError App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/net-protocol-0.2.2/lib/net/protocol.rb:68: warning: previous definition of ProtocRetryError was here App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/2.7.0/net/protocol.rb:206: warning: already initialized constant Net::BufferedIO::BUFSIZE App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/net-protocol-0.2.2/lib/net/protocol.rb:214: warning: previous definition of BUFSIZE was here App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/2.7.0/net/protocol.rb:503: warning: already initialized constant Net::NetPrivate::Socket App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/net-protocol-0.2.2/lib/net/protocol.rb:541: warning: previous definition of Socket was here D, [2025-07-23T16:14:48.604642 #20022] DEBUG -- : I18n::Backend::ActiveRecord::Translation Load (0.4ms) SELECT DISTINCT locale FROM "translations" WHERE "translations"."exhibit_id" IS NULL App 20022 output: DEPRECATION WARNING: Blacklight::Base is deprecated and will be removed in Blacklight 8.0.0. App 20022 output: Include Blacklight::Configurable and Blacklight::SearchContext as needed (included in Blacklight::Catalog). (called from include at /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/blacklight-7.41.0/app/controllers/concerns/blacklight/catalog.rb:9) App 20022 output: DEPRECATION WARNING: Blacklight::Base is deprecated and will be removed in Blacklight 8.0.0. App 20022 output: Include Blacklight::Configurable and Blacklight::SearchContext as needed (included in CatalogController). (called from include at /var/www/spu_images/app/controllers/catalog_controller.rb:6) App 20022 output: Error: The application encountered the following error: undefined local variable or method `record_search_parameters' for CatalogController:Class (NameError) App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/blacklight-7.41.0/app/controllers/concerns/blacklight/catalog.rb:30:in `block in <module:Catalog>' App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/activesupport-6.1.7.10/lib/active_support/concern.rb:136:in `class_eval' App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/activesupport-6.1.7.10/lib/active_support/concern.rb:136:in `append_features' App 20022 output: /var/www/spu_images/app/controllers/catalog_controller.rb:6:in `include' App 20022 output: /var/www/spu_images/app/controllers/catalog_controller.rb:6:in `<class:CatalogController>' App 20022 output: /var/www/spu_images/app/controllers/catalog_controller.rb:5:in `<main>' App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/bootsnap-1.18.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' App 20022 output: /home/skushner/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/bootsnap-1.18.6/lib/bootsnap/load_path_cache/
Justin Coyne
unread,
Aug 1, 2025, 8:27:09 AMAug 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message