Since update, cannot add a New Site

Ever since the update, I can’t make a New Site.

This is the error it gives:

Error: Command failed: /Users/brendan/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/brendan/Local Sites/practice/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/brendan/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

Hi @sword90

We would be happy to assist with your Local troubleshooting! Could you provide some more details to help us take a further look?

  • What is your OS?

  • What version of Local are you on?

  • Please attach a copy of your Local Logs

Keep us posted and we’d be happy to help further!

I’m using MacOS 11.7.10.

Local Version 9.0.4+6699

local-logs.zip (105.7 KB)

I noticed if I use an older version of PHP, it works.

@sword90

I started searching that error you originally shared:

dyld: Symbol not found: __ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj

I’m seeing some threads with this exact error around the web, in most cases it seems the fix was updating to a more recent MacOS, at least Ventura.

Are you able to update your OS any further to see if that resolves the issue?

I updated my Mac, but I still get the error. Maybe my Mac is too old? It’s Big Sur.

From the Local side of things anything from MacOS 10.15 on up should still work, unless there is something other external conflict happening. Maybe after updating you could try a big refresh here with these steps:

  • 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: Uninstall Local - Local

  • 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).

  • Check and see if the issue still persists. If so, please provide us with an updated log: Retrieve Local’s Log File - Local

Still gives the error.

I attached the logs.
local-lightning-verbose.log (936.1 KB)
local-lightning.log (188.1 KB)

The logs are still full of the same error with the dyld: Symbol not found: message. Searching this on in the Forums here and turning up a lot of similar solutions to the above one I shared where updating the OS was enough to resolve this:

For some users it looks like they had to try reinstalling PHP:

I’ll just use the previous version. It works fine.

Is there a way I can get it to stop sending me update notifications?

Thanks for your help! I appreciate it.

Okay sounds good we have some instructions for downgrading here if you need:

There isn’t a way to disable those update notifications at this time, but let us know if you need anything else :slight_smile:

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