First, a question - "Should I learn to code?"
No.
Yes, everyone should learn to code a little. They should learn to speak a foreign language. They should learn the names of all the different cloud formations.
Not when you're trying to build a business. Building a business is 80% marketing, plus another 20% marketing. Distracting yourself by trying to pick up a new, complicated skill in the middle of things is not the greatest idea.
But if you must...
Here is some advice on doing it successfully. I've been programming for nearly 20 years, working for companies as large as CitiCorp and the Tennessee Valley Authority and as small as 100 different "startups" and SaSS companies. I've seen many, many projects that were started by bootstrapped founders. This means I've seen "you" a year into the future. So, with the benefit of future sight, let me say a few things.
- Don't wait until you have an idea to start learning how to code.
If you think you are going to have a lot of ideas that you'd like to try out, and that you may need to do a lot of the initial building for, start learning now. Make a bunch of throw away projects: learn how to make landing pages, some modern css styling, the correct way to connect a form to a database, your email options. Then when you wake up in the middle of the night with that idea for TinderBits (Tinder for Kitties), you can focus on the marketing like you should be. - Don't code it yourself.
Professional programmers don't code more than they have to. They look for existing libraries. They build from frameworks. They reserve their own efforts for domain logic that only they know how to implement. You should, too.
Read up on building "no code" applications and use as many tools as you can to get started. Play a game with yourself - consider every time that you have to open an IDE to be a failure and stick a dollar in your "I Wrote Code" jar.
(A small word of warning - many of the sites that help you build a "beautiful website with no code" don't allow you to export that code later, or stick you with a lot of proprietary stock images, etc. Understand the next step you want to take and ensure you can get there when choosing one of those). - Don't fall in love with The Code
Coders are cool. A coder walks into a bar, all heads turn. No one cares about founders and entrepreneurs anymore.
You'll find yourself falling into the trap of wanting to spend all your time trying to tweak the code and make the site look and feel like what's in your head. This is natural. Sales and marketing are hard, and are mostly rejection all day, every day. You change some css attribute - voila! Instant gratification.
Don't fall into this trap. You will, but don't. You will go out of business - or never get the business off the ground in the first place.
You are not a professional programmer. You are here out of necessity, nothing more. Stay focused on the business. - Don't throw around buzz words.
Programming is an engineering discipline. Its terms have specific meanings. You will confuse the hell out of everyone you talk to if you try to be cool and talk like Dilbert's boss.
Learn how to describe things clearly and succinctly. It will take you far. - Write a scalable business. Forget about scalable code.
You're not going to max out your servers. You don't need Cloud services for the first year. You don't need MongoDB "web scale".
The only scaling you need to worry about is in your business processes. Full stop. - Use Laravel, Rails or Django/Flask - in that order.
That howling sound you hear is coming from the hordes of other programmers who each have their favorite tools & prejudices.
The problem programmers have is we are incredibly poor at empathizing with anyone who doesn't have our same skill level. I have seen - and this is real, I'm not joking - someone ask a simple question about setting up Wordpress on Windows for his 40's-something sister who wanted to blog about her last trip to Europe - and been advised that "she really needs to set up a Docker instance and learn to do things correctly from the beginning". I did not make that up.
What you want is a proven resource with as large a community of helpful people and libraries as you can find. You are not trying to become a programmer. Facebook uses Php. You'll survive with it.
Before making this decision, try to confirm with someone who you can explain your idea to. That said, my suggestions are:
Use Python-based frameworks (Django/Flask) if your idea will involve a lot of heavy numbers crunching and analytics. Python and R are the languages for that, and since Python is more versatile (ie, can also create web pages) and R can be incorporated into it later, I think that's a good choice because of the specialized libraries is has. Mind you, I'm talking heavy math here.
Use Ruby & Rails if you have some friends in that community who are happy to help you get started. Perfectly good tools, slightly more complicated to work with than Php and you may need more hand-holding. If someone is offering to do that, go for it - you won't regret. If you're on your own, you might do better with Php.
Use Laravel as your default. A solid Php framework (based on many of Rail's concepts), and very large, very helpful community, and "opinionated" (meaning, there is typically a preferred way of doing each task, so less figuring out how to do things). As well, many code libraries that will help you quickly create a first version of your application.
Did you notice I didn't talk much about code in any of that? Good. It's not about code.
Coding is fun. Coding is rewarding. Coding is NOT what you should be thinking about when building your business. Pick it up as a hobby if you want, but not as a business skill.
Just like the doctor who hires a kid to mow his lawn, you should be looking to minimize your time with the code itself and off-loading it as quickly as you can.
Hope that helped!