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

Domain Manager: PHP 8 error when navigating configuration tabs backwards

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.6.0-b1
    • Component/s: Plugins, Staff Interface
    • Labels:
      None

      Description

      To reproduce, use PHP 8.1 and go to Packages > Domain Options > Configuration. Navigate the tabs from left to right, no issues. Move from a tab that is to the right to a tab that is to the left and a white page is encountered and the following written to the logs:

      ==> general-error-2022-08-22.log <==
      [2022-08-22T20:25:35.897038+00:00] general.ERROR: Uncaught Exception ArgumentCountError: "sprintf() does not accept unknown named parameters" at /home/blestar/public_html/vendors/minphp/language/src/Language.php line 125

      {"exception":"[object] (ArgumentCountError(code: 0): sprintf() does not accept unknown named parameters at /home/blestar/public_html/vendors/minphp/language/src/Language.php:125)"}

      [2022-08-22T20:25:40.876341+00:00] general.ERROR: Exception: tld_sync is not a valid method in controller AdminDomains in /home/blestar/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php:154 Stack trace: #0 /home/blestar/public_html/index.php(21): Dispatcher::dispatch('/admin/plugin/d...') #1

      {main}

      The URLs have ?tab=tld_sync appended to them going right to left.

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.6.0 Sprint 3 [ 158 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.6.0 Sprint 3 [ 158 ] 5.6.0 Sprint 3, 5.6.0 Sprint 4 [ 158, 168 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour, 22 minutes [ 4920 ]
        Worklog Id 16003 [ 16003 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] 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:
              15/Nov/22

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour, 22 minutes
              1h 22m

                Agile