Switching from PHP5.6 to PHP7.1 (which is recommended for Drupal 8.4.3) results in the website not appearing and the following appearing instead (trying again later does not help or change anything):

"The website encountered an unexpected error. Please try again later."

Note: A sample of other Drupal 8 themes do not have this problem. This behavior occurred with Mayo on an existing Drupal 8 installation which has been updated to Drupal 8.4.3. After the Drupal 8.4.3 update, Mayo worked until the PHP was switched from PHP5.6 to PHP7.1.

The problem was also encountered consistently on multiple attempted installs of Mayo on fresh new installations of Drupal 8.4.3 that use PHP7.1. The same message appears whenever trying to install Mayo using the built in theme installer of the Appearance page to download directly to the website's server on newly installed Drupal 8.4.3 websites that use PHP7.1.

When Mayo is instead manually installed by simply copying the download into the themes folder, the Appearance page simply does not show Mayo anywhere at all in the list of uninstalled themes along with all the other uninstalled themes which do appear.

Clearly it is the use of PHP7.1 that breaks Mayo when other themes have no problem.

Comments

PghFreeNet created an issue.

PghFreeNet’s picture

The problem persists with Drupal 8.4.4 upgrade and using the built in theme installer produces this error message:

"Cannot extract temporary://update-cache-7c1e9d17/8.x-1.3, not a valid archive."

I hope that helps. Thank you.

Renrhaf’s picture

This is a major issue as PHP < 7.1 will be deprecated at the end of the year.

maartendeblock’s picture

Tried Mayo on PHP 7.2.18 and seems to be working fine.