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

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.5.0 Sprint 2 [ 154 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 46 minutes [ 2760 ]
        Worklog Id 15656 [ 15656 ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          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