ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "categories" does not exist
LINE 1: SELECT "categories"."id" FROM "categories" WHERE "categories...
^
)
lib/freedom_patches/fast_pluck.rb:41:in `select_raw'
lib/freedom_patches/fast_pluck.rb:59:in `pluck'
lib/guardian/category_guardian.rb:69:in `allowed_category_ids'
app/models/tag.rb:102:in `top_tags'
app/serializers/site_serializer.rb:160:in `top_tags'
(eval):20:in `_fast_attributes'
app/models/site.rb:181:in `json_for'
app/controllers/application_controller.rb:605:in `preload_anonymous_data'
app/controllers/application_controller.rb:417:in `preload_json'
app/controllers/application_controller.rb:397:in `block in with_resolved_locale'
app/controllers/application_controller.rb:397:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:71:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:356:in `call'
config/initializers/100-quiet_logger.rb:23:in `call'
config/initializers/100-silence_logger.rb:31:in `call'
lib/middleware/enforce_hostname.rb:23:in `call'
lib/middleware/request_tracker.rb:198:in `call'
Can you give some more detail on what the issue you’re facing is?
2 Likes
Is this dev? Looks like you haven’t run your migrations?
3 Likes
there are a few plugins, I didn’t do anything else, I don’t know why it’s coming out
ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation “categories” does not exist LINE 1: SELECT “categories”.“id” FROM “categories” WHERE "categories…
ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "categories" does not exist
LINE 1: SELECT "categories"."id" FROM "categories" WHERE "categories...
^
)
lib/freedom_patches/fast_pluck.rb:41:in `select_raw'
lib/freedom_patches/fast_pluck.rb:59:in `pluck'
lib/guardian/category_guardian.rb:69:in `allowed_category_ids'
app/models/tag.rb:102:in `top_tags'
app/serializers/site_serializer.rb:160:in `top_tags'
(eval):20:in `_fast_attributes'
app/models/site.rb:181:in `json_for'
app/controllers/application_controller.rb:605:in `preload_anonymous_data'
app/controllers/application_controller.rb:417:in `preload_json'
app/controllers/application_controller.rb:397:in `block in with_resolved_locale'
app/controllers/application_controller.rb:397:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:71:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:356:in `call'
config/initializers/100-quiet_logger.rb:23:in `call'
config/initializers/100-silence_logger.rb:31:in `call'
lib/middleware/enforce_hostname.rb:23:in `call'
lib/middleware/request_tracker.rb:198:in `call'
Is this a standard install or something else?
Why do you need to repeat the error? We can read the first one. Please don’t do that, it’s long enough as it is.
I installed it on my own server