Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading pghero page #21

Open
edbond opened this issue Sep 14, 2018 · 0 comments
Open

Error loading pghero page #21

edbond opened this issue Sep 14, 2018 · 0 comments

Comments

@edbond
Copy link

edbond commented Sep 14, 2018

database.yml contains only one production: key

gem 'rails', '4.2.10'

pghero mounted as
config/routes.rb

  authenticate :admin do
    mount PgHero::Engine, at: "/pghero"
  end

Log:

I, [2018-09-14T05:45:53.893343 #9815]  INFO -- : Processing by PgHero::HomeController#index as HTML
E, [2018-09-14T05:45:53.896241 #9815] ERROR -- : [ReplicaPools] Error during #select_all: undefined method `empty?' for nil:NilClass
E, [2018-09-14T05:45:53.896298 #9815] ERROR -- : [ReplicaPools] Current Connection: ActiveRecord::Base
E, [2018-09-14T05:45:53.896367 #9815] ERROR -- : [ReplicaPools] Current Pool Name: default
E, [2018-09-14T05:45:53.896430 #9815] ERROR -- : [ReplicaPools] Current Pool Members: [ReplicaPools::DefaultStocktalk(abstract)]
E, [2018-09-14T05:45:53.896477 #9815] ERROR -- : [ReplicaPools] leader Depth: 0
E, [2018-09-14T05:45:53.896838 #9815] ERROR -- : [ReplicaPools] Error during #cache_sql: undefined method `empty?' for nil:NilClass
E, [2018-09-14T05:45:53.896887 #9815] ERROR -- : [ReplicaPools] Current Connection: ActiveRecord::Base
E, [2018-09-14T05:45:53.896927 #9815] ERROR -- : [ReplicaPools] Current Pool Name: default
E, [2018-09-14T05:45:53.896976 #9815] ERROR -- : [ReplicaPools] Current Pool Members: [ReplicaPools::DefaultStocktalk(abstract)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant