Error when trying to create custom version of wordpress

Bug Summary

when i try to create a custom wordpress it show error.

Steps to reproduce

create custom:

Environment Info

Describe your environment.

  • Mac M1
  • Nginx, PHP, MySQL
  • Version 9.0.2+6676

Supporting info

Please provide your Local Log. See this Community Forum post for instructions on how to do so:

local-lightning.log (131.0 KB)

Include any screenshots or video recordings of the issue to help others reproduce.

Hi @kdamsre! So when you create a new site with the Preferred settings does that work like normal?

Hi @Nick-B

Yes Preferred is working normally.

I just tested this myself, and it worked fine on my Mac M3. However, I noticed that the PHP version in my dropdown is 8.0.30, while your screenshot shows 8.0.0. I’m not sure how you have that different version if you’re on the latest release. You might try a full uninstall and reinstall of Local. If you have any sites in the app currently, make sure you export or save them. The steps would be like this:

  • Export any sites that you have on Local and save them to a folder somewhere on your computer: Backup a Local Site - Local

  • Fully uninstall Local from your computer with the details here: Uninstall Local - Local

  • Install the latest version of Local on this link: Releases - Local

  • Once installed, please restart the computer.

  • Check and see if the issue still persists. If so, please provide us with an updated log. There are some different ways to access and share Local Logs. For us to be able to troubleshoot thoroughly, please click the Download Local Logs button from the Support tab in Local. This will generate a zip archive that contains the Local log along with some other diagnostic information to help quickly zero in on any issues that Local is encountering.

1 Like

you correct i have all latest version but i want to custom with that php old version to test old php code but it does not work with WPLocal

So you can’t use 8.0.30 it has to be 8.0.0?

ok. now i used 8.0.30 but i just want to report it error with 8.0.0. Thanks,

1 Like

Hey @kdamsre, Thanks for reporting this!

When new versions of PHP are released, Local doesn’t delete the ones that are already on your machine.

In this case, the latest patch release (8.0.30) is a lot newer and has some improvements over the 8.0.0 release. As you say, there are incompatibilities with the PHP 8.0.0 and the MySQL 8, so I would recommend just using the latest PHP patch version.

If you do want to clean up and remove old versions of PHP (or any lightning service) you can navigate to Local’s user-config folder and remove the old version. On a Mac, that location is:

~/Library/Application Support/Local/lightning-services


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