Loading...


Related Products


Date Published: January 28, 2022

ACSF staging issues due to incompatible PHP version

Issue

When staging from a Site Factory production environment to a non production environment, if the lower environment has a different PHP version than production, staging may fail due to incompatible code, even if the current code on non production is compatible.

Example error:

Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/www/html/factorycustomer.01testup/path/to/file.php on line 21

       

      Resolution

      The code on production needs to be compatible with the PHP version on the non production environment that you are staging down to. The solution is to do the following:

      • Switch to the PHP version on non production to match production
      • Stage down from production to non production
      • Switch the PHP version on non production back to the desired version

      Did not find what you were looking for?

      If this content did not answer your questions, try searching or contacting our support team for further assistance.

      Back to Section navigation
      Back to Site navigation