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

Order: 500 error when checking out to pay

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.7.1
    • Component/s: Plugins
    • Labels:
      None

      Description

      On PHP 8.1, when clicking to "Checkout & Pay", a 500 error is encountered and the following is written to the general error log:

      [2023-06-14T17:39:27.912731+00:00] general.ERROR: Uncaught Exception TypeError: "strlen(): Argument #1 ($string) must be of type string, array given" at /home/blestau/public_html/570/vendors/minphp/input/src/Input.php line 72

      {"exception":"[object] (TypeError(code: 0): strlen(): Argument #1 ($string) must be of type string, array given at /home/blestau/public_html/570/vendors/minphp/input/src/Input.php:72)"}

      To reproduce:

      1. Create an order form with a test product using no module. Using the "Wizard List" but it does not only occur for this template.
      2 Login as the client, place the order.
      3. When clicking "Checkout & Pay" the error is encountered.

        Activity

          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:
              20/Jun/23