Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      Error:

      preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
      

      Affected Files:

      • /app/models/contacts.php (Line 789)

      Possible solution:

              $prefix = preg_replace('/[^0-9]+/', '', $prefix ?? '');
              $number = preg_replace('/[^0-9]+/', '', $number ?? '');
      

        Activity

        abdy Abdy Franco created issue -
        abdy Abdy Franco made changes -
        Field Original Value New Value
        Fix Version/s 5.7.0-b1 [ 11737 ]
        admin Paul Phillips made changes -
        Fix Version/s 5.7.0 [ 11800 ]
        Fix Version/s 5.7.0-b1 [ 11737 ]
        admin Paul Phillips made changes -
        Fix Version/s 5.8.0-b1 [ 11742 ]
        Fix Version/s 5.7.0 [ 11800 ]
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            abdy Abdy Franco
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              4/Aug/23

              Agile