Docs

Troubleshooting

What to check when the toolbar or a pencil is missing, a save is refused, the site can't reach W-Pencil, connecting fails or an update is refused.

12 min read WordPress 6.6+ Updated 1 Dec 2026

Where to look first

  • wp w-pencil status says whether the site is connected, how many edits are left and whether it's offline, a copy or a local site. WP-CLI commands explains each row.
  • W-Pencil › Activity lists every save made on the page: when, who, what and whether it cost a credit.
  • Tools › Site Health has W-Pencil's checks: signing, its tables, one address for the site and its admin, the hourly sync, the key and the cloud. Network and servers.
  • PHP's error log. A save that fails is logged after "W-Pencil:". With WP_DEBUG on, so is every problem with w-pencil.cloud; with WP_DEBUG_LOG too, in wp-content/debug.log.

The toolbar

Nobody gets a toolbar
  • The capability. The role needs Edit on the page: tick it under W-Pencil › Editing, Who can edit on the page. Administrators and editors have it from activation.
  • The page. The toolbar shows on the site's front-end pages only. Not in wp-admin, and not in a preview, the Customizer or a page builder's own editor.
  • The theme. It must call wp_footer(), where W-Pencil prints its script. Block themes always do.
  • A cache in front of the site. A cache that serves logged-in people the same page as visitors hides it. Requests with a wordpress_logged_in_ cookie must reach WordPress. Network and servers.
  • A filter. A theme or plugin can switch editing off for a page with w_pencil_active. Hooks and the toolbar.
  • The browser's console shows a script that was blocked or failed, for example by a strict Content Security Policy.
The toolbar shows, but nothing has a pencil
  • Editing is off. The toolbar reads Editing off. Press it, Alt Shift E, or Edit on the page in the admin bar.
  • The counter is empty. Nothing on this page is marked for this person. See the next question.
Some text, a link or an image has no pencil
  • The theme prints it without WordPress's functions. A value read straight from the database, like $post->post_title, isn't marked. Hooks and the toolbar explains.
  • Its mode is off, or its plugin wasn't found. W-Pencil › Integrations shows each mode, whether its plugin is there and whether it's on.
  • It's left out. Post types, block types and Elementor widgets ticked under W-Pencil › Left out get no pencils, and nor does anything inside them.
  • An ACF field's On the page setting. Fields set to More fields only or Off get no pencil. Field modes.
  • Access. The person must be allowed to edit it in WordPress: the page (edit_post), a term, menus (edit_theme_options), the site's title (manage_options) or an options page.
  • Where it's shown. Lists of other posts, automatic excerpts and the admin bar are never marked, and nothing inside an element with the data-w-pencil-ignore attribute gets a pencil. Themes use it for copies of content, like a carousel's cloned slides. How markers work.
  • It's empty. An empty text field prints nothing to point at. Fill it through More fields… or the backend.
  • It isn't stored anywhere. Words written into a template can't be edited on the page. Move them into a block, a field or an option first.

Saving

"This content changed while you were editing"

Someone saved the same thing after the popup opened. Nothing is lost without a choice: Use latest version or Overwrite with my version. In WordPress's own editor, in the popup, the message is "Someone saved this since you opened it. Close this and reload the page to see the latest version." Undo, revisions and conflicts has the details.

"Being edited in the backend"

Someone has the page open in WordPress's editor, which holds its lock, so the popup doesn't open an editor: "Sam Taylor is editing this page in the backend right now. Try again when they have finished." When they close it, or their lock runs out, the pencil works again.

"Someone else is saving this page right now. Try again in a moment."

Saves of the same page wait for each other, for up to 10 seconds. A save that waited longer is refused without changing anything. Press Save again. If it keeps happening, look in PHP's error log for "W-Pencil: saving on the page failed".

"The change could not be saved. Nothing was changed. Try again, or use the backend."

WordPress refused the save, often because another plugin threw an error while saving. PHP's error log has the reason, after "W-Pencil: saving on the page failed:" or "W-Pencil: saving a form on the page failed:". The save took no edit.

Credits and connection

"No edits left this month"

The account has used this period's edits. Editors can still use Edit in the backend, and Undo still works.

  • Add a pack: admins see Add a pack in the panel, or open Billing on w-pencil.cloud. The next popup opens normally, as the site asks again at most once a minute.
  • Or wait for the date in the message, like "They come back on 1 Dec."
  • Shared edits. An account's edits are shared by all its sites, so another site may have used them. Your dashboard shows each site's use.
"Can't reach W-Pencil since 10:42"

The site's last request to w-pencil.cloud failed: a network error, a timeout after 3 seconds or an error on w-pencil.cloud's side. Editing goes on for up to 50 edits, counted once the site is back. When those are used too, popups say "The 50 offline edits are used. Editing on the page comes back when this site can reach W-Pencil again."

From the web server, check that it can make HTTPS requests to w-pencil.cloud:

Terminal
$ curl -sS https://w-pencil.cloud/api/v1/health
{"ok":true,"time":1796083200}
  • A firewall must let the server make outbound HTTPS requests to w-pencil.cloud.
  • A proxy for outbound requests goes in WordPress's WP_PROXY_HOST and WP_PROXY_PORT constants: W-Pencil uses WordPress's HTTP API. Network and servers has more.
  • Site Health's "W-Pencil cloud" check says whether this server reached it, and why not.
  • The log, with WP_DEBUG on, says why, after "W-Pencil: the cloud can't be reached:".

Once the server can reach it, the next save or wp cron event run w_pencil_sync reports the waiting saves, and the notice goes.

"This site looks like a copy of example.org"

The site answers on another host than the one it was connected from, and that host isn't a local one. W-Pencil then counts nothing here, so a copy can't spend the live site's edits.

  • A staging copy of the live database: run wp w-pencil disconnect --local on it, or press Disconnect on its W-Pencil › Account. The live site stays connected. Connect the copy separately if editors use it. The signing key and copies explains.
  • The live site on a second address, like www.example.org when it was connected as example.org: redirect every visitor to one address, the one it was connected from. Edits made on the other address aren't counted.
  • The site moved to a new address for good: press Connect separately to connect the new address, then disconnect the old one in your dashboard.
"W-Pencil isn't connected any more"

w-pencil.cloud stopped accepting the site's key: someone disconnected it in the dashboard, the site was connected again from somewhere else, or W_PENCIL_KEY changed. With WP_DEBUG on, the log says "W-Pencil: the cloud disconnected this site". Editors can use the edits left on the site. Connect it again on W-Pencil › Account.

The Connect W-Pencil notice doesn't show
  • Only admins see it, with the w_pencil_admin capability, which administrators have.
  • Only on three screens: the Dashboard, Plugins and W-Pencil's own page.
  • Only while it's needed: not once the site is connected.
  • Not on local sites, like *.ddev.site or *.local, where edits are free and connecting is optional.

W-Pencil › Account always has Connect W-Pencil, with Paste a site key under it. When no browser of yours can reach the site's admin, connect with a site key: make one on the Sites page of your W-Pencil dashboard, then paste it there or run wp w-pencil connect --key=…. Install and connect walks through it.

Connecting

W-Pencil › Account says connecting failed

After w-pencil.cloud sends you back, W-Pencil › Account says what happened:

  • "This connect request was not started here, or it expired. Press Connect W-Pencil again." You came back in another browser than the one that pressed the button, or the request was more than 10 minutes old.
  • "This connect request was started by another admin. Press Connect W-Pencil to connect as yourself."
  • "The connect code expired before this site could use it.", "That connect code was already used." or "The connect code is not valid." Press Connect W-Pencil again.
  • "W-Pencil can't be reached from this server. Check that it can make HTTPS requests to https://w-pencil.cloud, then press Connect W-Pencil again." Your browser reached w-pencil.cloud, but your server didn't. Check it as for "Can't reach W-Pencil" above.
  • "This site was connected to another account in the meantime. Ask its owner to disconnect it first."
  • "Too many connect attempts from this server. Try again in an hour."
  • "This site shares its address with the main site of the network, so it can't be connected on its own yet. Edits here use the trial." Multisite.

With WP_DEBUG on, the log has more, after "W-Pencil: connecting failed:".

The site key is refused

W-Pencil › Account says why under Paste a site key, and wp w-pencil connect --key prints the same:

  • "That doesn't look like a site key. Keys look like WPK-XXXX-XXXX-XXXX-XXXX." Copy the whole key, from WPK on. Case, spaces and missing dashes don't matter.
  • "That site key isn't right. Check it, or make a new one in your W-Pencil dashboard, under Sites." It was mistyped, or whoever made it is no longer an owner or admin of the account.
  • "That site key has expired: keys work for 30 minutes. Make a new one in your W-Pencil dashboard, under Sites."
  • "That site key was already used. Make a new one in your W-Pencil dashboard, under Sites." A key works for one try, even one that failed.
  • "Too many wrong site keys from this server. Try again in an hour." After 10 failed tries in an hour from the server's address.
  • "This site was connected to another account in the meantime. Ask its owner to disconnect it first." The site's address is connected to another account.
  • "W-Pencil can't be reached from this server. Check that it can make HTTPS requests to https://w-pencil.cloud, then try the key again." Check it as for "Can't reach W-Pencil" above.

It can also say "Paste the site key from your W-Pencil dashboard." when the field is empty.

w-pencil.cloud says it can't connect the site
  • "This connect link doesn't work": it expired, or the address was cut short when it was copied. Press Connect W-Pencil again. If it keeps happening, update W-Pencil.
  • "This request has expired": connect requests last 10 minutes.
  • "Can't connect example.org": the site is connected to another account you can't see. Ask its owner to disconnect it, or contact us.
  • "You can't connect sites to that account. Pick another one.": you need to be an owner or admin of the account.
  • "Try again later": too many connect requests from your network. Try again in an hour.
  • "Already connected": there's nothing to do. After reinstalling W-Pencil, press Connect again to give the site a new key.
The consent page says the site doesn't use HTTPS, but it does

WordPress sees plain HTTP because a proxy or load balancer in front of it handles HTTPS. W-Pencil takes the site's address from WordPress, so make WordPress see https, for example by setting $_SERVER['HTTPS'] = 'on' in wp-config.php when the proxy sends X-Forwarded-Proto: https. Then press Connect W-Pencil again. Network and servers has more.

wp w-pencil connect never finishes
  • Open the address it printed in a browser that's logged in to the site as an administrator. w-pencil.cloud sends the browser back to the site to finish.
  • The address works for 10 minutes. After that, run the command again.
  • No browser can reach the site? Use a site key instead: wp w-pencil connect --key=… connects at once. WP-CLI commands has the details.

Updates

No update is offered, or "View details" says W-Pencil couldn't get its details

W-Pencil asks w-pencil.cloud for the newest release at most every 6 hours, and an hour after a failure. Check again on Dashboard › Updates asks at once. If the server can't reach w-pencil.cloud, check it as for "Can't reach W-Pencil" above. "View details" then says "W-Pencil could not get its details from w-pencil.cloud. Try again later."

"The W-Pencil update was refused"

Before it installs anything, W-Pencil checks the release against the signature it ships with and the zip's SHA-256:

  • "The W-Pencil update was refused: the downloaded file is not the one w-pencil.cloud signed." The zip that arrived isn't the release, for example because a proxy changed or cut it.
  • "The W-Pencil update was refused: it is not the release w-pencil.cloud signed. Try again later." The update WordPress offered doesn't match w-pencil.cloud's signed manifest.

Nothing is changed and the installed version stays. Try again later. If it keeps happening, download the zip from w-pencil.cloud/download/w-pencil.zip and tell us.

Next in Troubleshooting and FAQ

FAQ.

Short answers about page builders, visitors, what's sent, costs, staging sites, site keys, updates and uninstalling.