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

License Manager: LicenseManager::validate argument is not an array

    Details

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

      Description

      In the event that LicenseManager::decryptData() returns something other than a serialized array, LicenseManager::validate() will raise an array_merge(): Argument #2 is not an array error.

      Originally reported here: http://www.blesta.com/forums/index.php?/topic/4372-supposed-bug-license-module/

      To fix: Only evaluate $data if it is an array. Otherwise return default status of "unknown".

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            cody Cody Phillips (Inactive)
            Reporter:
            cody Cody Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile