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

        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:
              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