Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4623

Amazon S3 backups do not work with PHP 8

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.0-b1
    • Fix Version/s: 5.4.0-b2
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When visiting Settings > System > Backup > Amazon S3, a 500 error is thrown in the browser. The following is logged to disk:

      ==> general-alert-2022-04-18.log <==
      [2022-04-18T17:53:49.112047+00:00] general.ALERT: Fatal Error (E_COMPILE_ERROR): Array and string offset access syntax with curly braces is no longer supported

      {"code":64,"message":"Array and string offset access syntax with curly braces is no longer supported","file":"/home/blestar/public_html/vendors/blesta/amazon-s3-php-class/S3.php","line":2360,"trace":null}

      It appears that this vendor code for Amazon S3 is incompatible with PHP 8. Is there a newer version that supports PHP 7.2-8.1+?

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Apr/22

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 46 minutes
              46m

                Agile