I am experiencing an issue with the latest version of WP Local. After installing the latest update, I am unable to add any new websites. Every time I try to add a site, it fails to allow me to proceed.
Steps Taken:
Installed the latest version of WP Local.
Attempted to add a new website.
Reinstalled WP Local to troubleshoot.
Encountered the same issue after reinstallation.
Despite reinstalling WP Local, the problem persists. I would like to know what might be causing this issue and how I can resolve it.
Can provide the Local Logs? You can get a zip of those logs by clicking the “Download Local Log” button from the “Support” tab of Local. See this help doc for more information:
yes initially it was space issue but now I have removed data from that drive and now 20GB is available still I am not able to add a single website. Also I am not using any external hardware.
Install the latest version of Local on this link: Releases - Local
Once installed, please restart the computer.
When the computer is restarted and turned on, close any applications that automatically run in the background (AntiVirus, Firewall, and other Developer applications included).
After following all the the provided instructions and guidelines and closing all the background application I am still not been able to add sites in local wp.
{"level":"warn","message":"Unable to import site.","stack":"SyntaxError: %%userDataPath%%\\sites-organization.json: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at Object.readFileSync (%%appPath%%\\node_modules\\jsonfile\\index.js:63:17)\n at UserData.get (%%appPath%%\\main\\app\\UserData.js:1:1674)\n at SitesOrganizationService._getSitesOrganizationData (%%appPath%%\\main\\sites\\SitesOrganizationService.js:1:2210)\n at SitesOrganizationService._getDefaultSiteGroupsData (%%appPath%%\\main\\sites\\SitesOrganizationService.js:1:638)\n at SitesOrganizationService._getSiteGroupsData (%%appPath%%\\main\\sites\\SitesOrganizationService.js:1:1589)\n at SitesOrganizationService.moveSitesToGroup (%%appPath%%\\main\\sites\\SitesOrganizationService.js:67:4196)\n at ImporterGeneric.<anonymous> (%%appPath%%\\main\\importer\\Importer.js:1:4192)\n at Generator.next (<anonymous>)\n at %%appPath%%\\main\\importer\\Importer.js:1:1047","timestamp":"2024-07-29T16:15:44.752Z"}
I think what might have happened is that when the drive ran out of space, one of the configuration files became corrupted.
Can you try:
Close local
Open the Local configuration folder at %AppData%\Roaming\Local
Delete the sites-organization.json file
Start Local and try adding another site
Deleting that file will mean that any sites that were organized into groups will no longer be organized in groups, but given that the file seems to be corrupted, it’s probably ok to remove it.