Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning during Multisite Install: sequence _blog_id_seq not yet defined #95

Open
dilyanpalauzov opened this issue Jan 19, 2024 · 1 comment

Comments

@dilyanpalauzov
Copy link

With PG4WP 3.2 I follow the instructions at https://wordpress.org/documentation/article/create-a-network/ to create a network. I add define( 'WP_ALLOW_MULTISITE', true ); in wp-config.php, then go to Administration → Tools → Network Setup. I select Subdomains → Install.

Now I see "Warning: pg_query(): Query failed: ERROR: currval of sequence "wp_blogs_blog_id_seq" is not yet defined in this session in /example/wp-content/pg4wp/driver_pgsql.php on line 1122".

@mattbucci
Copy link
Collaborator

This sequence is created in my test environment but I don't set this up via the web so maybe there is a bug there.

image

I'm also not using subdomains but I install my test environment by using the wp cli like the following

wp core multisite-install --title="Welcome to My Site" --admin_user="root" --admin_password="mypassword" --admin_email="[email protected]" --url="https://mydomain.com/site/" --base="/site/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants