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

GoCardless: Indirect modification error

    Details

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

      Description

      When paying a client you may get a notice:
      Indirect modification of overloaded property GoCardlessPro\Resources\RedirectFlow::$redirect_url has no effect on line 427 in path_to_blesta\components\gateways\nonmerchant\gocardless\gocardless.php

      This is caused by passing the property by reference to the Gateway::ifSet() method. Just remove the ifset since the statement is already in a try/catch block that will handle the error gracefully if the property is not defined.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Sep/19

              Agile