WordPress / WordPress/wordpress-playground

[Database] Exported and hosted Playground site can't connect to Jetpack

Open
#708 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Aspect] Sqlite [Type] Bug
Dominant language
JavaScript
Stars
2k
Forks
462
Avg merge
18h 44m
Merged PRs (30d)
33

Description

When connecting a Playground site to Jetpack, the following error shows up:

CleanShot 2023-10-17 at 11 36 17@2x

@sergeymitr pointed out there must be some database issue in the Playground site:

Looks like the site experiences issues with the database.
The site gets registered successfully, but it’s unable to save the blog ID or connection token. Then it generates the URL to establish user connection, tries to load blog ID from the options and fails.
So it doesn’t seem to be a connection issue, rather inability to properly connect the site due to option saving issues.

Jetpack is a commercial plugin, but the error is likely related to the SQLite integration in WordPress Playground and may affect other plugins.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Jetpack connection failure on an exported or hosted Playground site, then inspect the SQLite integration around saving and loading WordPress options. Done means the blog ID and connection token persist correctly and the Jetpack connection completes without the database error.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite, wasm, wordpress
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.