WordPress.org

Ready to get started?Download WordPress

Forums

Add From Server
"Add From Server" Broken Plugin (6 posts)

  1. NIkesh Kr Yadav
    Member
    Posted 1 year ago #

    I have tried to install this plugin i got message "Fatal error: Call-time pass-by-reference has been removed in /home/stagings/public_html/wp-content/plugins/add-from-server/class.add-from-server.php on line 137"

    Please help me.

    http://wordpress.org/extend/plugins/add-from-server/

  2. krkowallis
    Member
    Posted 1 year ago #

    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

  3. krkowallis
    Member
    Posted 1 year ago #

    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

  4. pwright2
    Member
    Posted 1 year ago #

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

    -----Paul-----

  5. tini_man_anga
    Member
    Posted 1 year ago #

    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?

  6. aaron.fitzell
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic