Details
Description
Appears to work on PHP 7.4, but returns this error on PHP 8.1 and 8.2
A white screen is encountered when making changes to a SolusVM service. It appears to happen when a cron runs for pending service changes (upgrade/downgrade) but the same error occurs when simply setting an override price, even with "Use Module" unchecked.
To reproduce:
- Edit a SolusVM service
- Check "Override Price", set a new price and uncheck "Use Module"
- Save
Note the white screen, and the following error in ../logs_blesta/ logs
[2024-10-10T15:54:23.238925+00:00] general.ERROR: Uncaught Exception TypeError: "array_key_exists(): Argument #2 ($array) must be of type array, stdClass given" at /home/user/public_html/511dev/components/modules/solusvm/solusvm.php line 451
Unknown macro: {"exception"}
Activity
Paul Phillips
created issue -
Paul Phillips
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Paul Phillips
made changes -
Summary | SolusVM: Making service changes results in an exception | SolusVM: Making service changes results in an exception PHP 8 |
Paul Phillips
made changes -
Description |
A white screen is encountered when making changes to a SolusVM service. It appears to happen when a cron runs for pending service changes (upgrade/downgrade) but the same error occurs when simply setting an override price, even with "Use Module" unchecked.
To reproduce: # Edit a SolusVM service # Check "Override Price", set a new price and uncheck "Use Module" # Save Note the white screen, and the following error in ../logs_blesta/ logs {quote}[2024-10-10T15:54:23.238925+00:00] general.ERROR: Uncaught Exception TypeError: "array_key_exists(): Argument #2 ($array) must be of type array, stdClass given" at /home/user/public_html/511dev/components/modules/solusvm/solusvm.php line 451 {"exception":"[object] (TypeError(code: 0): array_key_exists(): Argument #2 ($array) must be of type array, stdClass given at /home/user/public_html/511dev/components/modules/solusvm/solusvm.php:451)"}{quote} |
Appears to work on PHP 7.4, but returns this error on PHP 8.1 and 8.2
A white screen is encountered when making changes to a SolusVM service. It appears to happen when a cron runs for pending service changes (upgrade/downgrade) but the same error occurs when simply setting an override price, even with "Use Module" unchecked. To reproduce: # Edit a SolusVM service # Check "Override Price", set a new price and uncheck "Use Module" # Save Note the white screen, and the following error in ../logs_blesta/ logs {quote}[2024-10-10T15:54:23.238925+00:00] general.ERROR: Uncaught Exception TypeError: "array_key_exists(): Argument #2 ($array) must be of type array, stdClass given" at /home/user/public_html/511dev/components/modules/solusvm/solusvm.php line 451 {"exception":"[object] (TypeError(code: 0): array_key_exists(): Argument #2 ($array) must be of type array, stdClass given at /home/user/public_html/511dev/components/modules/solusvm/solusvm.php:451)"}{quote} |
Jonathan Reissmueller
made changes -
Sprint | 5.11.0 Sprint 5 [ 204 ] |
Jonathan Reissmueller
made changes -
Rank | Ranked lower |
Abdy Franco
made changes -
Assignee | Abdy Franco [ abdy ] |
Abdy Franco
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Abdy Franco
made changes -
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 28 minutes [ 1680 ] | |
Worklog Id | 17422 [ 17422 ] |
Abdy Franco
made changes -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Jonathan Reissmueller
made changes -
Status | In Review [ 5 ] | Closed [ 6 ] |
Jonathan Reissmueller
made changes -
Sprint | 5.11.0 Sprint 5 [ 204 ] |