Details

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

      Description

      Someone reported receiving this error when adding a server/module row in the ISPConfig module.

      count(): Parameter must be an array or an object that implements Countable on line 72 in /path/to/components/modules/ispconfig/views/default/add_row.pdt

      Tyson suggested we change line 72 from:

      $num_servers = count($this->Html->ifSet($vars->name_servers));

      to:

      $num_servers = count($this->Html->ifSet($vars->name_servers, []));

        Activity

        admin Paul Phillips created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Sprint 4.6.0 Sprint 4 [ 80 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Resolution Fixed [ 1 ]
        Status In Review [ 5 ] Reopened [ 4 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 22 minutes [ 1320 ]
        Worklog Id 12046 [ 12046 ]
        jonathan Jonathan Reissmueller made changes -
        Status Reopened [ 4 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              4/Apr/19

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 22 minutes
              22m

                Agile