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

Editing an invoice results in a 500 error with PHP 8.1

    Details

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

      Description

      To reproduce, use PHP 8.1 and click the "Edit" link for an invoice under a client's profile page.

      The following error is written to the logs:
      [2022-06-16T19:15:30.215307+00:00] general.ERROR: Uncaught Exception ArgumentCountError: "3 arguments are required, 2 given" at /home/blestar/public_html/vendors/minphp/language/src/Language.php line 125

      {"exception":"[object] (ArgumentCountError(code: 0): 3 arguments are required, 2 given at /home/blestar/public_html/vendors/minphp/language/src/Language.php:125)"}

        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:
              29/Jun/22

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 6 hours, 45 minutes
              6h 45m

                Agile