LocalWP v. 9.2.5 critical error on starting most sites

What issue or error are you experiencing?

I just installed LocalWP version 9.2.5 and I started getting the following error on several of my older WP sites:

At the same time, a couple of other sites worked normally. All the sites I tried are running nginx as the web server. All the sites that worked have PHP v. 8.2.27, but one of the sites not working also had the same version (the other having older 8.1.x versions).

I resolved the problem by downgrading to LocalWP v. 9.2.4 - all the sites work now.


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

  • install LocalWP v. 9.2.5
  • start a previous server

System Details

  • Local Version: 9.2.5

  • Operating System (OS) and OS version:
    OS Name Ubuntu 22.04.5 LTS
    OS Type 64-bit
    GNOME Version 42.9
    Windowing System Wayland


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
local-lightning.log (727.7 KB)

Thank you for the report, @mihaipmp.

Were the sites that started all running the newer (and new default version) MySQL 8.0.35?

We had a report of MySQL 8.0.16 timeouts with Local 9.2.5. I haven’t yet been able to reproduce it with Ubuntu, but there are some changes to 8.0.35 that we could backport to 8.0.16 if MySQL connection failures are specific to that version.

You can check the MySQL version for each site in the “database” row:

Hi @nickc , you are correct - I just checked and all the sites that were working have the latest MySQL version (8.0.35), while the sites that did not work have the older version (8.0.16). Somehow I missed this difference that should have been obvious to me from the first time, since I was getting a MySQL error.

If there is anything else I can help with (from my logs / system configuration) to get you to replicate the error, please let me know.

1 Like