Issue Summary
One-click Admin and WordPress Version keeps “loading” forever.
Replication
For a non WP website, after removing all WP files from app/public directory, WordPress Version in Local is displayed like this (forever):
Keeping wp-includes/version.php there (or putting it back), Local displays the WP version described in the file.
Clicking the Database tab (which displays errors about “DB_” constants not present in wp-config.php) and then back in Overview tab, then One-click Admin item shows the same “loading” status - forever.
System Details
-
Which version of Local is being used?
- 6.1.5+5536
-
What Operating System (OS) and OS version is being used?
- Linux Mint
-
Attach the Local Log. See this Community Forum post for instructions on how to do so:
- Nothing relevant in the logs
My main concern: is there something really running in the background while the “loading” animation is displayed or is it just missing a defined behaviour (hide/stop animation) to the cases the files are not there?
And a suggestion: in the absence of wp-config.php and wp-includes/version.php Local could display a more friendly message. In the case of Database tab, it could say only once the wp-config.php is missing and mention what are the defaults for each item (host, database name, username, password) instead displaying 4 errors.