[wp-trac] [WordPress Trac] #58347: Error establishing a database connection when siteurl and home are set to null
WordPress Trac
noreply at wordpress.org
Thu May 18 11:59:28 UTC 2023
#58347: Error establishing a database connection when siteurl and home are set to
null
----------------------------+------------------------
Reporter: alexstandiford | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Database | Version: 6.2.1
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
----------------------------+------------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Hi there, thanks for the ticket!
Just to clarify, this happens because `is_blog_installed()`
[source:tags/6.2.1/src/wp-includes/functions.php?marks=1773,1779#L1756
specifically checks if the 'siteurl' option is not empty] as the way to
determine if a site has been installed, probably because that is the
[source:tags/6.2.1/src/wp-admin/includes/schema.php?marks=411#L403 first
option created during installation].
We're already tracking this issue in #29794, let's continue the discussion
there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58347#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list