What issue or error are you experiencing?
I Just downloaded local by flywheel and I am very excited to start using wordpress, however, when i made my first site, everything worked till I tried to open the site I created. When it opens on chrome, it says “502 Bad Gateway nginx/1.16.0”. I have searched and searched and tried a lot of fixes and they haven’t worked.
This is what it looks like when I set up the site…
I get the feeling it may be because my mac has had issues with local things in the past. For example when I tried using Domestika locally it didn’t work, I had to make it global for it to work. The thing is when I did it for Domestika it didn’t really matter if it was local or global but for this I don’t know if it would make a difference and I don’t even know how I would do it.
What steps has been taken to resolve the issue?
I have already tried to restart everything, use different settings, even ChatGPT couldn’t help me ;-;
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.
The issue is due to your OS version (10.13) no longer being supported with the latest releases of Local. Per our minimum requirements, Local will only work on MacOS 10.15 or higher. You may still be able to use older versions of Local by downloading them from the releases page directly, but in order to use the latest along with the latest versions of things like PHP, you’ll have to update your OS.
I’m not certain but you might have to go back to a Local version in the v5.0 to v6.0 range.
You might be able to spin up a site in current Local app, but you might need to try downgrading your PHP and MySQL versions to the lowest available if you want to try that as well.
OMG thank you very much! I got version 6.4.3 and it works now so far. Although I don’t know how much it will affect my learning curve that I have a much later version of it. How different do you think it would be? and do you think I am better off getting the latest version and reducing the PHP and SQL versions?
If you’re just using Local as an instructional tool to learn, it’s not too much of a concern. If you’re working on a site that you’ll want to take live eventually, that’s where things can become tricky. Depending on your webhost, they will likely have minimum versions of WP/PHP/MySQL you will have to use. Due to things like security and performance, it’s always a good idea to keep these as up to date as possible. So it all comes back to what you’re using Local for.
If you are planning to make a site or sites to take live, you could always move them into a Dev or Staging environment first or move them to a live site with privacy mode or something enabled. That way you can test updating the versions of everything first to make sure it doesn’t the break the site before it’s public.
For now, I plan on using it to learn how to use wordpress. My plan is to learn how to use it to make websites then start freelancing to make money as a side hustle. I really hope this works out for me! Since it will be quite a while before my first customer, I assume, I think I will leave that problem till I get there. Hopefully by then I can get a better computer. Do you have any tips for my journey? I already know how to make websites using HTML, CSS and a bit of JavaScript.
As far as WordPress-specific tips, it’s a big world, but there are a lot of great resources out there. You can obviously learn a lot from YouTube and other blogs and so on for free, but there are also some great resources out there like WPBeginner that I’d highly recommend if you’re brand new. They’ll become very helpful as you progress.
As far as using Local, you already know where the forums are which you can post and search in for answers but we also have a library of help docs you can use here as well:
oh ok. Well, I’m learning something everyday! It has been quite difficult as a self programming learner having nobody who can help me. But now I have found a few ways I can ask for help which is great!