About the Publish Error Log

When you publish your Wix site, Wix automatically checks your site code for errors. If errors are detected, Wix provides an error log that helps you identify and understand issues in your code before your changes goes live.

View the error log

When Wix detects errors in your code, it displays detailed information about the issues through the View Error Log option in the publishing prompt. When you click View Error Log, the build.log file opens in the editor and provides more comprehensive error details.

Note: The build.log file is kept for 30 days. After that, the status shows Awaiting publish until you publish again.

How Wix validates your code before you publish

Wix analyzes all your code files, except for certain service plugin files, and validates syntax that may prevent your site from working properly. For example, Wix checks for undeclared variables and reassignment of const variables.

Note: Wix only reports code errors if there have been changes to the code since the last time the site was published. If no modifications were made to the code, Wix publishes your site without requiring additional confirmation.

Did this help?