MAIN MENU NO LONGER WORKS

Posted under /swa/

>Unexpected error: NoMethodError.
NoMethodError exception raised
app/components/post_preview_component/post_preview_component.html.erb:27:in `block (2 levels) in call'
app/components/post_preview_component/post_preview_component.html.erb:2:in `block in call'
app/components/post_preview_component/post_preview_component.html.erb:1:in `call'
app/components/post_gallery_component/post_gallery_component.html.erb:7:in `block in call'
app/components/post_gallery_component/post_gallery_component.html.erb:6:in `each'
app/components/post_gallery_component/post_gallery_component.html.erb:6:in `call'
app/helpers/components_helper.rb:25:in `render_post_gallery'
app/views/posts/index.html.erb:178
app/views/posts/index.html.erb:61
app/controllers/application_controller.rb:80:in `respond_with'
app/controllers/posts_controller.rb:29:in `index'
app/logical/rack_server_timing.rb:19:in `call'

TEETHINGUS-SAMA DO SOMETHING

In the process of figuring this out. Since this begins where the thumbnail image goes to, it's probably a scenario regarding an ultra-specific case that I couldn't account for. Sussing out the culprit post rn.

Right now, you can put "?page=2" directly after posts if you want to continue to browse collective. It's something on page 1 throwing the error.

@OPShredder, you were the last one to post in the last thirty minutes. I thought I was onto something, and I still might be. I'm going to delete some posts available on the first page to test which one triggers the error. I'll undelete them afterwards, but if my hunch is correct, the deleted post will break the deleted page and give me an indication of what the problem is.

It was my Clown Domestic Dispute thumbnail that was acting up (can someone undelete that post?) I removed the thumbnail and am looking into why it did that. No one use custom thumbnails until I fix it. I can probably recreate the problem easily on my local build, so whatever happened will be fixed in no time.

BTB, the first page loads again.

Updated

Okay, it looks like I managed to recreate the issue on my development build and I'm currently compiling it for my local production build to finish fixing it. The problem seemingly stems from checking the status of a custom thumbnail that returns as nil, despite it having a value. I'm unsure why it does that, but if I can fix it properly, this should never be an issue again.

1