Viewing 5 replies - 1 through 5 (of 5 total)
  • krkowallis

    (@krkowallis)

    I received the following error when installing:

    Fatal error: Call-time pass-by-reference has been removed in /homepages/31/d451794017/htdocs/app/wp-content/plugins/Add-From-Server1/class.add-from-server.php on line 137

    Error only occurs when attempting to access administrator functions.

    my blog is: http://www.liveitorlooseit.com

    krkowallis

    (@krkowallis)

    I made the following change to line 137 of the class.add-from-server.php of the plugin, and it worked.

    “Original String”: $this->settings = new add_from_server_settings(&$this);

    changed to this: $this->settings = new add_from_server_settings($this);

    Only difference being the “&”.

    The error I was receiving was:

    Fatal error: Call-time pass-by-reference has been removed in /homepages/31/d451794017/htdocs/app/wp-content/plugins/Add-From-Server1/class.add-from-server.php on line 137

    Thanks. Same error. Your solution worked. Seemed to have something to do with my host changing to php5.4

    —–Paul—–

    I’ve updated the line of code, and activated the plugin – but now the line of code is crudely inserted as text on my WordPress Dashboard!!

    What is up with this plugin?

    On Line 137 replace it with $this->settings = new add_from_server_settings($this); (removing the & ) this will make it compatible with PHP 5.4 and get rid of the error and works wonders like previously suggested.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘"Add From Server" Broken Plugin’ is closed to new replies.