Fry the bacon in a big skillet over medium heat until it's crispy. After draining onto paper towels, crumble when cold.
In the frying pan, set aside 2 tablespoons of the bacon fat. Saute the garlic and onion until they become transparent over medium heat. There is no need to precook green onions if using them.
Crumbled bacon, mashed potatoes, sautéed onion, shredded cheese, eggs, basil, and parsley should all be combined in a medium-sized bowl with salt and pepper. After thoroughly mixing, gradually add flour until the potato cakes come together. Not all of the flour may be required.
In a sanitized skillet, melt 1 tablespoon of butter (or any remaining bacon fat) over medium heat.
Form a ball out of about ¼ of a cup of the potato mixture. After placing it in the heated pan, use a spatula to flatten it until it is between ½ and ¾ thick. Continue with the leftover potato cakes, cooking them in batches if necessary.
The potato patties should be crisp and golden brown after 3 to 4 minutes of cooking on each side.
Serve immediately while hot and crispy for optimal results.
Add some ketchup, sour cream, or green onions on top.