After upgrading from 2.x to 3.x skipped config is null

Created on 3 April 2024, 3 months ago
Updated 15 May 2024, about 2 months ago

Issue

After upgrading if you immediately go into /admin/reports/security-review page you get the "The website encountered an unexpected error. Try again later." blank page.

Cause

This is due to a check being done within the security_review/src/SecurityReview.php file.
The isCheckSkipped method on line 201 runs the command:
$skipped_array = $this->config->get('skipped');
Which returns a null value. Thus an error is generated on the next line which expects an array.

Workaround

Go to /admin/config/security-review and save your settings. This resets the skipped config value and allows you to view the /admin/reports/security-review page once more.

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡΄Colombia jucedogi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jucedogi
  • Status changed to Postponed: needs info 3 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Before digging into it did you uninstall 2.x first?

  • πŸ‡¨πŸ‡΄Colombia jucedogi

    @smustgrave, no. Did the upgrade without uninstalling.
    Also, just noticed that the update script has to run for the error to occur.
    On the multidev where I noticed this the update script had not been yet executed.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Would recommend uninstalling first as there is no upgrade path between 2.x and 3.x

  • Status changed to Closed: outdated about 2 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Going to close out but if still experiencing an issue please reopen.

Production build 0.69.0 2024