Can't create new sites with Local 9.0.5 and WordPress 6.6

What issue or error are you experiencing?

CANNOT IMPORT OR CREATE NEW SITES.


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Importing zips taken with wp migrate leads to error saying zip not compatible; creating site from scratch comes up with error command failed. This always happens to me at the worst possible times. Would be sweet for you guys to stop jacking with things ever release

System Details

  • Local Version:

  • 9.0.5 and tried to roll back to 9.0.4 but didn’t work. NOT THE FIRST TIME YOU GUYS HAVE DONE THIS.

  • Operating System (OS) and OS version:
    MAC OSX


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
“class”:“Process”,“level”:“warn”,“message”:" Referenced from: %%userDataPath%%/lightning-services/php-8.1.29+0/bin/darwin/sbin/…/dylibs/libvmaf.3.dylib (which was built for Mac OS X 13.0)“,“process”:“phpFpm”,“thread”:“main”,“timestamp”:“2024-08-21T02:47:30.355Z”}
{“class”:“Process”,“level”:“warn”,“message”:” Expected in: /usr/lib/libc++.1.dylib",“process”:“phpFpm”,“thread”:“main”,“timestamp”:“2024-08-21T02:47:30.355Z”}
{“class”:“Process”,“level”:“warn”,“message”:“”,“process”:“phpFpm”,“thread”:“main”,“timestamp”:“2024-08-21T02:47:30.355Z”}
{“class”:“Process”,“level”:“warn”,“message”:“dyld: Symbol not found: __ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj”,“process”:“phpFpm”,“thread”:“main”,“timestamp”:“2024-08-21T02:47:30.883Z”}
{“class”:“Process”,“level”:“warn”,“message”:" Referenced from: %%userDataPath%%/lightning-services/php-8.1.29+0/bin/darwin/sbin/…/dylibs/libvmaf.3.dylib (which was built for Mac OS X 13.0)“,“process”:“phpFpm”,“thread”:“main”,“timestamp”:“2024-08-21T02:47:30.883Z”}
{“class”:“Process”,“level”:“warn”,“message”:” Expected in: /usr/lib/libc++.1.dylib",“process”:“phpFpm”,“thread”:“main”,“timestamp”:“2024-08-21T02:47:30.883Z”}
{“class”:“Process”,“level”:“warn”,“message”:“”,“process”:“phpFpm”,“thread”:“main”,“timestamp”:“2024-08-21T02:47:30.884Z”}
{“class”:“WordPressInstaller”,“level”:“error”,“message”:“Error installing WordPress”,“stack”:“Error: Error: Command failed: %%userDataPath%%/lightning-services/php-8.1.29+0/bin/darwin/bin/php %%resourcesPath%%/bin/wp-cli/wp-cli.phar --path=/Users/matthewediger/Local Sites/lmkbn/app/public --require=%%resourcesPath%%/bin/wp-cli/local-wpcli-error-reporting.php --skip-plugins --skip-themes core config --skip-check --dbname=local --dbuser=root --dbpass=root\ndyld: Symbol not found: __ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj\n Referenced from: %%userDataPath%%/lightning-services/php-8.1.29+0/bin/darwin/bin/…/dylibs/libvmaf.3.dylib (which was built for Mac OS X 13.0)\n Expected in: /usr/lib/libc++.1.dylib\n\n\n at WordPressInstaller. (%%appPath%%/main/sites/wp/WordPressInstaller.js:1:9264)\n at Generator.throw ()\n at o (%%appPath%%/main/sites/wp/WordPressInstaller.js:1:900)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)”,“thread”:“main”,“timestamp”:“2024-08-21T02:47:42.115Z”}
{“eventId”:“d4c3e56627bc4c02ad9f5afa7a2a3d88”,“level”:“warn”,“message”:“Unhandled Rejection.”,“p”:{},“reason”:{},“thread”:“main”,“timestamp”:“2024-08-21T02:48:03.889Z”}


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.

I’m sorry that you ran into this, @edigermatthew.

Local 9.0.5 was tested by our team. I can’t reproduce the issue on macOS where new sites can’t be created or imported, but it might relate to the new version of WP (6.6) that was released about the same time as Local 9.0.5.

You could try this in case it fixes things for you:

  1. Quit Local.
  2. Open the Finder.
  3. Choose Go → Go to Folder…
  4. Paste ~/Library/Application Support/Local/cached-wordpress and press Enter.
  5. Delete all the wordpress-[version].tar.gz files you see in the Finder window that opens.
  6. Start Local and try to create a new site.

It does appear to be only my environment. My work computer local works fine on 9.0.5.

I tried to delete the cached WP versions but that did not work. For what its worth, it does fail right after downloading WP on the install.

This is the error I get when trying a fresh install:

Error: Command failed: /Users/edigermatthew/Library/Application Support/Local/lightning-services/php-8.1.29+0/bin/darwin/bin/php /Applications/Local.app/Contents/Resources/extraResources/bin/wp-cli/wp-cli.phar --path=/Users/matthewediger/Local Sites/test/app/public --require=/Applications/Local.app/Contents/Resources/extraResources/bin/wp-cli/local-wpcli-error-reporting.php --skip-plugins --skip-themes core config --skip-check --dbname=local --dbuser=root --dbpass=root
dyld: Symbol not found: __ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj
Referenced from: /Users/edigermatthew/Library/Application Support/Local/lightning-services/php-8.1.29+0/bin/darwin/bin/../dylibs/libvmaf.3.dylib (which was built for Mac OS X 13.0)
Expected in: /usr/lib/libc++.1.dylib

Apparently it was the new patch version of PHP 8.2.20… 8.2.10 works fine still for me with zip’s or creating new sites.

Thanks for sharing that, @edigermatthew. What macOS version are you using (on the device where it fails)? Are you on Intel or Apple Silicon?

I can’t reproduce the above error with macOS 14.6.1 and PHP 8.2.20 so far under Apple Silicon but would be interested to see if it’s specific to one OS version.

This was on an Intel macOS 11.7.10 Big Sur.

Thanks for that info, it looks like macOS 11 is EoL: Apple macOS | endoflife.date. Newer versions of PHP that Local offers link against C libs that didn’t ship with macOS 11.

I’m glad you found a workaround by using an older PHP version, and I’m sorry that Local didn’t offer a better error message in this case.

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