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

Error when logging in or creating an account on 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: Plugins
    • Labels:
      None

      Description

      When checking out and logging in or creating a new account on 5.4.0-b1 under PHP 8.0.17, a white page is encountered and the following error written to the error log:

      [2022-04-14T22:18:15.718969+00:00] general.ERROR: Exception: Gateway type '' is not a recognized gateway type in /home/blestar/public_html/components/gateways/gateways.php:44 Stack trace: #0 /home/blestar/public_html/plugins/order/controllers/checkout.php(1031): Gateways::create('', NULL) #1 /home/blestar/public_html/plugins/order/controllers/checkout.php(263): Checkout->setAchView(Object(stdClass), false, true) #2 /home/blestar/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): Checkout->index() #3 /home/blestar/public_html/index.php(21): Dispatcher::dispatch('/order/checkout...') #4

      {main}

      A similar error occurs when clicking to make a payment in the admin area under a client profile:

      [2022-04-14T22:29:39.862854+00:00] general.ERROR: Exception: Gateway type '' is not a recognized gateway type in /home/blestar/public_html/components/gateways/gateways.php:44 Stack trace: #0 /home/blestar/public_html/app/controllers/admin_clients.php(4650): Gateways::create('', NULL) #1 /home/blestar/public_html/app/controllers/admin_clients.php(3891): AdminClients->setAchView(Object(stdClass), Object(stdClass), false, true) #2 /home/blestar/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminClients->makePayment() #3 /home/blestar/public_html/index.php(21): Dispatcher::dispatch('/admin/clients/...') #4 {main}

        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:
              21/Apr/22

              Time Tracking

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

                Agile