WordPress.org

Support

Support » Plugins and Hacks » Call-time pass-by-reference has been removed

Call-time pass-by-reference has been removed

Viewing 1 replies (of 1 total)
  • In file class-add-from-server.php Line 137 is

    $this->settings = new add_from_server_settings(&$this);
    change to
    $this->settings = new add_from_server_settings($this);

    Then in file class.add-from-server-settings.php Line 4 is

    function __construct($afs) {
    Change to
    function __construct(&$afs) {

    Should be fine after that…

Viewing 1 replies (of 1 total)
  • The topic ‘Call-time pass-by-reference has been removed’ is closed to new replies.