Title: Update error in theme file when plugin is enabled
Last modified: June 4, 2020

---

# Update error in theme file when plugin is enabled

 *  [tumutumu](https://wordpress.org/support/users/tumutumu/)
 * (@tumutumu)
 * [6 years ago](https://wordpress.org/support/topic/update-error-in-theme-file-when-plugin-is-enabled/)
 * When Salon Booking WordPress Plugin is enabled, update error occurs in the theme
   file (the part other than CSS).
 * ”The PHP changes have been canceled because the site cannot be contacted to check
   for fatal errors. You will need to upload your PHP file changes by other means,
   such as using SFTP.”
 * 1. After stopping all plugins, edit the theme “single.php” → Update → OK
    2. 
   Only the Salon Booking WordPress Plugin is enabled with the same theme, edit “
   single.php” of the theme → Update → NG 3. Activate only the Salon Booking WordPress
   Plugin, switch to the default theme, edit the theme “single.php” → update → NG
   As a result, it seems that this plugin is doing something.
 * Only this plugin gives an error. Is this plugin such a specification?
 * PHP version: 7.2
    WordPress version: 5.4.1 WordPress theme: Default theme “Twenty
   Twenty”

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Dimitri Grassi](https://wordpress.org/support/users/wordpresschef/)
 * (@wordpresschef)
 * [6 years ago](https://wordpress.org/support/topic/update-error-in-theme-file-when-plugin-is-enabled/#post-12942291)
 * Hi,
 * I don’t understand which is the error generate by Salon Booking…
 *  Thread Starter [tumutumu](https://wordpress.org/support/users/tumutumu/)
 * (@tumutumu)
 * [6 years ago](https://wordpress.org/support/topic/update-error-in-theme-file-when-plugin-is-enabled/#post-12943820)
 * Thank you for your reply.
 * There is no error in the salon reservation.
 * I’m getting an error when I try to update a PHP file from the theme editor in
   my WordPress dashboard with this plugin enabled.
 * It is the content of the error
    “The PHP changes were canceled because the site
   could not be reached to check for fatal errors. PHP file changes need to be uploaded
   by other means, such as by using SFTP.”

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Update error in theme file when plugin is enabled’ is closed to new replies.

 * ![](https://ps.w.org/salon-booking-system/assets/icon-256x256.gif?rev=3214950)
 * [Salon Booking System - Free Version](https://wordpress.org/plugins/salon-booking-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/salon-booking-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/salon-booking-system/)
 * [Active Topics](https://wordpress.org/support/plugin/salon-booking-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/salon-booking-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/salon-booking-system/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tumutumu](https://wordpress.org/support/users/tumutumu/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/update-error-in-theme-file-when-plugin-is-enabled/#post-12943820)
 * Status: not resolved