Not able to add a new site - php notice

I’m having a multitude of issues with EE4. The latest is that I’m unable to add any new WP site as I get this

PHP Notice: Undefined index: site_fs_path in phar:///usr/local/bin/ee/vendor/easyengine/site-type-wp/src/WordPress.php on line 1405

And in logs I get

 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' 

I resolved this by completely re-installing. Now, though I get an “Error establishing database connection” on the site and when I try to restart services it says

No such service: db

And I’m unable to create new sites. Could not create user. Log of course mentions mysql.

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)  

And I’m back to the PHP notice mentioned in the first reply.

PHP Notice:  Undefined index: site_fs_path

When creating a site.

I would like to know how to resolve the second issue as well when/if it comes up again.

This looks to be resolved with the latest EE4 updates :slight_smile: