Temper
Menu

Troubleshooting

The messages Temper shows when something goes wrong, what they mean, and how to fix them.

On this page

Messages are quoted as Temper shows them. Use your browser's find, or the docs search, to jump to yours.

Access#

There's no Temper menu. You need to be an administrator who can edit themes and plugins; on multisite, a super admin. DISALLOW_FILE_MODS turns Temper off, and so does DISALLOW_FILE_EDIT unless TEMPER_IGNORE_FILE_EDIT is set. A temper_can_use filter may also be narrowing access. See Permissions and security.

"You are not allowed to preview the working copy." The same rules apply to previews. Sign in as a user who can use Temper.

Folders and files#

"Could not copy the theme into wp-content/temper. Check that the folder is writable." (or "the plugin") Temper couldn't make the working copy. Make wp-content writable by the web server, or create wp-content/temper and make it writable.

"Could not stage the new version next to the live theme. Check that wp-content/themes is writable.", "Could not install the theme into wp-content/themes. Check that the folder is writable." Publishing writes next to the installed folder. Make wp-content/themes (or wp-content/plugins) writable. Nothing was changed.

"Could not move the new version into place. The live theme was restored." The swap failed halfway and was undone. Check permissions on the theme or plugin folder, then publish again.

"Plugin previews need a small file in wp-content/mu-plugins, and it could not be written. Make that folder writable." Create wp-content/mu-plugins if it's missing, and make it writable. See Preview.

".htaccess changes how the web server runs this folder, so Temper doesn't write it. Add it on the server instead." Temper never writes .htaccess, .user.ini, php.ini or web.config. Add the file on the server.

"Paths must stay inside the theme folder.", "Use only letters, numbers, dots, dashes, underscores and slashes in file paths." Rename the file. Paths can't contain .. or .git.

"Could not add file. This plugin is the single file name in wp-content/plugins, so it has nowhere to keep other files." A single-file plugin can only hold its own file. Start a folder plugin and move the code there.

"File is larger than 2 MB." Files over 2 MB can't be saved as text.

Saving and publishing#

"file was not saved. Fix the errors and save again." The file failed a save check. The error is marked on its line and shown in the status bar.

"1 file has errors. Fix it before publishing." A changed file fails the save checks, for example one brought in by a pull. The publish dialog lists each file and line.

"Publishing broke the site, so the previous version was put back. Visitors saw an error for well under a second. Fix this and publish again: …" The health check saw an error after the swap. The message includes the error with its file and line. Fix it, preview, and publish again. The broken version is kept as a snapshot.

"Publishing broke the site (…), and putting the previous version back failed too: … Roll back from History now." Open History and click Restore on the newest snapshot.

"The build is out of date. Open Temper and click Build, then publish." Pro Open the Build tab and click Build. See Asset builds.

"Restoring a snapshot from before the last publish is part of Temper Pro" Without Pro, only the newest snapshot can be restored. See Snapshots and rollback.

Preview#

"The working copy stopped with a PHP error" Your working copy has an error at the file and line shown. Only your preview is affected.

"This theme uses Composer packages that are not installed." Pro Open the Build tab and click Install next to PHP dependencies. See Composer packages.

"AI tools changed this working copy." or "Review the AI changes first" Pro An AI assistant changed files. Review them in the Changes tab, then choose to preview. See the hold.

The preview shows the live site. Save your file first: the preview shows saved files. For a child theme, the parent must be installed.

AI#

"Add an AI API key in Temper settings first." Add a key in Settings › AI. See AI with your own key.

"Anthropic rejected the API key. Check it in Settings." Paste the key again, or create a new one with your provider.

"Could not reach Anthropic: …", "Could not reach the AI provider: …" Your server couldn't connect to the provider. Check its outgoing connections, a proxy, or the API base URL.

"The response was cut off. Try a smaller file or a narrower instruction." The answer hit the model's length limit.

"The connection to Anthropic closed before the answer finished. Try again." or "The AI stopped partway: … Try again." The stream broke. Try again.

"The AI returned something other than JSON. Try again." The model didn't follow the format. Try again, or choose a model that supports JSON output.

"The model declined this request." The provider refused the instruction. Rephrase it.

Your AI key stopped working after a security change. Changing the site's salts makes stored secrets unreadable. Enter the key again.

AI assistants over MCP Pro#

"Missing or invalid Temper key. Create one in Temper › Settings › AI tools (MCP)." The key is wrong, revoked, or belongs to a user who can no longer use Temper. Create a new key.

"Connecting AI assistants over MCP is part of Temper Pro: https://temperwp.com/pricing" MCP needs an active Temper Pro licence. Activate or renew it in Settings › Licence.

"The site owner has not allowed AI tools to publish or commit. Ask them to review the changes in Temper and publish from there." Turn on Let AI tools run code, publish and commit in Settings › AI tools (MCP), or publish from Temper yourself.

ChatGPT or claude.ai can't connect. They connect from the cloud, so the site must be on public HTTPS. A local site can only be reached from your own computer, by Claude Code or a desktop client.

Licence Pro#

"This licence key wasn't recognised. Copy the whole key from your purchase email (it starts with TPR-) and try again." Check the key on your account page.

"This licence is already active on n of n sites. Deactivate it on one of them, or upgrade to a plan with more sites." See Move a licence.

"This licence expired on date. Renew it from your account to activate sites and receive updates." Renew from your account.

"This licence key has been deactivated. Please contact support if you think this is a mistake." The licence was revoked, for example after a refund.

"The licence server's answer is for a different site address." The site's address changed, or this is a copy of another site. Activate the key again on this address.

"Could not reach the licence server: …" The site couldn't reach temperwp.com. Pro keeps working on its last answer for 14 days; click Check in the Licence tab when the connection is back.

"Temper Pro needs a licence key. Enter yours in Temper › Settings › Licence." Activate your key. See Install Temper Pro.

"Temper Pro is missing some of its files. Download it again from your account and reinstall it." Download Temper Pro from your account and install it again.

Git Pro#

"Connect GitHub in Settings › GitHub to commit. Public repositories can be pulled without it." See Connect GitHub.

"GitHub rejected the token. It may have expired or been revoked. Connect GitHub again in Settings › GitHub." Click Reconnect in Settings › GitHub.

"The token can read this repository but cannot push. Give it Contents: Read and write." Give a fine-grained token write access, or connect with Connect GitHub.

"The token can read this project but cannot push to it. Pushing needs the Developer role or higher on the project." Ask for the Developer role on the GitLab project, or use one you own.

"The branch has commits you have not pulled. Pull first, then commit." Pull, deal with any conflicts, then commit.

"Someone pushed to the branch while you were committing. Pull, then commit again." Another commit landed during yours. Pull, then commit again.

"Connect a repository of your own from the Git menu to commit. The source repository is only pulled from." See Link a repository.

"This repository is too large to read in one request. Set "Folder inside the repository" to narrow it down." Set the folder in Repositories….

"Nothing to commit. The working copy matches the branch." Your changes are already on the branch.

Builds and Composer Pro#

A Tailwind build fails on a plugin or a tailwind.config.js. Browser builds don't support Tailwind plugins or JavaScript config files. Use CSS-first configuration with @theme and @utility.

"This theme has no composer.lock. Run composer update once on a computer and commit the lock file; Temper installs exactly what it lists." Add the lock file to the project.

"package has no zip download in composer.lock, so it cannot be installed without Composer." That package can't be installed this way.

Updates#

"The downloaded update does not match the one temperwp.com signed, so it was not installed." The download was changed on the way. Try again later.

"This copy of Temper Pro is linked from its repository. Update it there instead." A development copy never updates from a release.

"Your licence has expired. Renew it to get this update." Pro See Renewals and expiry.

Still stuck?#

Email support@temperwp.com with the message you see and what you were doing.