One-click Admin and WordPress Version keeps loading forever (non WP sites)

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):

image

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.

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