كيفية تتبع أخطاء المكونات الإضافية

I installed a bunch of plugins and then rebuilt the app. Now I am seeing this banner error:

I can play wack-a-mole by removing the plugin from the yml and then rebuilding but this is gonna take a while. I am wondering if there’s an easier way. I looked in the /logs but didn’t see anything good:

Should I look somewhere else for logs?

These are the plugins I am trying out:

I played enable/disable wack-a-mole and found out it was the image gallery plugin. I’d be interested in a better way to track it down though.

إعجابَين (2)

You can look in the Javascript inspector in your browser, it will usually give you the ID of the errant theme component (not sure about plugins). You can also look in the logs for rails errors and infer who to blame by the path of the files mentioned in the error.

4 إعجابات

Very good. I’ll look into these options. Thank you :blush:.

إعجاب واحد (1)

As a general rule unless your site hasn’t launched I would recommend you try new plugins on a staging copy beforehand.

Official plugins (the ones with the green tick) are usually more trustworthy, disabling the third party stuff first is usually a safe bet.

إعجاب واحد (1)

Good point. I love test environments. I should do that sooner rather than later.

And I’d generally recommend adding third party plugins one at a time.

إعجاب واحد (1)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.