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

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        admin Paul Phillips made changes -
        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}
        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}

        jonathan Jonathan Reissmueller made changes -
        Sprint 5.5.0 Sprint 2 [ 154 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Summary Order: Error when logging in or creating an account on PHP 8 Error when logging in or creating an account on PHP 8
        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 38 minutes [ 2280 ]
        Worklog Id 15662 [ 15662 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        abdy Abdy Franco made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        abdy Abdy Franco made changes -
        Time Spent 38 minutes [ 2280 ] 1 hour, 10 minutes [ 4200 ]
        Worklog Id 15665 [ 15665 ]
        abdy Abdy Franco made changes -
        Status Reopened [ 4 ] 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:
              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