Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-20852

Error uploading module archive

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: None
    • Labels:
      None
    • ToDo:

      Description

      Trying to upload a module file from my computer I get a Whoops error screen "count(): Parameter must be an array or an object that implements Countable".

      On line 1773 of `modulefunctions.class.php` there is no type checking happening before use of `count()`. This should be fixed, or `_process_archive()` should be fixed to always return an array.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                miken32 miken32
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.