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

cPanel: "count" on null value causes notice in php 7.2

    Details

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

      Description

      See https://www.blesta.com/forums/index.php?/topic/11928-php-72-cpanel-module/

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

      php 7.2 now raises an error if passing a non-Countable parameter to count()

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              22/Oct/18

              Time Tracking

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

                Agile