Trouble adding Divi theme...throws a 405 error

405 error…cannot load Divi theme

When I try to load Divi theme, Local throws a 405 error without any other info. Theme will not install.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular? All sites

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser? yes

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

System Details

  • Which version of Local is being used? 6.1.2

  • What Operating System (OS) and OS version is being used? Mac OS Big Sur 11.5.2

    • For example: macOS Catalina or Windows 10 Professional
  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

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.

Hi there,

Can you provide a little more context on the error you’re seeing? I’m assuming you see the 405 in browser after you attempt to launch the site?

To help understand what is happening, could you upload your Local log so we can take a look? Here are some instructions on how to upload that; that will help us know where to start digging in!

Without seeing the actual error or screenshot of what’s going on, it’s hard to know what the issue is.

A 405 error isn’t something I see often, so as a refresher, I looked it up on Mozilla:

It looks like it’s Method Not Allowed – meaning the browser (or whatever client was being used) wasn’t making the correct request.

In addition to what Austin asked – can you describe in a little more detail how you are trying to load Divi? Bonus points if you can include screenshots to help get us oriented!

local-lightning.log (93.8 KB)

Thanks for providing that Local log – it really helps in knowing the kinds of things that Local is running into!

I’m seeing a number of lines that look like this:

{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [emerg] open() \"/Users/michaelphilipson/Local Sites/wex-energy/logs/nginx/error.log\" failed (2: No such file or directory)","timestamp":"2021-09-21T15:11:01.388Z"}

Note that part that talks about “No such file or directory”

Local Sites/wex-energy/logs/nginx/error.log\" failed (2: No such file or directory)

That’s not the exact error you’re seeing, but maybe it’s related?

Since this seems like maybe it’s less about the Local app and more about the individual Nginx process, do you see any errors within the Router Log? If you’d like me to take a look, I can – just upload the file that you find when clicking “Help > Reveal Local Router’s Logs”

I’m still a little confused about how Divi is being loaded. Can you describe in a little more detail about how and where you are seeing this error?

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