A Problem You Can Duplicate is Easy To Fix
This is not true 100% of the time, but the majority of the time this is correct. There have been times, I “fixed” a problem. Only to realize I didn’t fix anything. However, I did break working code. After you have done this a few times, you will learn.
In an attempt to reduplicate the problem, here are a few questions that may help. How did this happen? What are the steps taken that caused this problem? What has changed that I don’t know about? When was the last time this worked? Answers to these questions will uncover the steps that lead to the problem.
The process of fixing bugs is not magic. Chances are something was overlooked or a scenario was not accounted for. Again, not magic. Get into the habit of trying to reduplicate the issue. Once you can reduplicate a problem, it’s usually pretty straightforward to resolve.