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?
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.
opened 09:45PM - 30 Mar 23 UTC
closed 03:00PM - 10 Aug 23 UTC
dyld: Symbol not found: __ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4openEPK… cj
Referenced from: /Users/michele/Documents/DigitalNext/Python/gpt4all/chat/./gpt4all-lora-quantized-OSX-m1 (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
zsh: abort ./gpt4all-lora-quantized-OSX-m1
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)
Nick-B
July 6, 2024, 7:46pm
10
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:
What issue or error are you experiencing?
I bought a new Macbook last week and I’m new to both WordPress and Local. So far, I do really like the Local server as it downloads and installs WP automatically. This is a terrific feature and saves me some trouble. However, I can’t access the WP dashboard unless I select php 7.3.5. My concern is that if I do any client work, I may need to be using a newer version of PHP.
Any help would be much appreciated. Thanks a million!
What steps can be taken t…
For some users it looks like they had to try reinstalling PHP:
Every now and then, the Local team pushes out updates to the downloadable Lightning Services (PHP, MySQL, web servers, etc) in Local.
Reasons for these updates include config changes to better facilitate local development, adjusting PHP extensions, or general bug fixes/improvements limited to the scope of the service.
Local does not have a way to update Lightning Services in the UI so it must be done manually. (Note: we have plans to add a way to do so!)
Updating Lightning Services
Quit Lo…
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.
Nick-B
July 6, 2024, 9:50pm
12
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
system
Closed
October 4, 2024, 9:50pm
13
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.