dashwood
Member
Posted 1 year ago #
Hello
I uploaded and activated a new plugin and the following message came up
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/fhlinux133/r/resolutioncoaching.co.uk/user/htdocs/wp-content/plugins/user-access-manager/class/UserAccessManager.class.php on line 525
Fatal error: Call to undefined function home_url() in /home/fhlinux133/r/resolutioncoaching.co.uk/user/htdocs/wp-content/plugins/user-access-manager/class/UserAccessManager.class.php on line 295
Now when I try to login in or view my webiste I get this message so I can't go in and delete the plugin. Can you give me some advice as to what to do.
I'd really appreciate any help
my webiste is http://www.resolutioncoaching.co.uk
Many thanks
Wendy
dashwood
Member
Posted 1 year ago #
I've gone into the site via my Filezilla FTP and deleted the plugin! So all sorted!
No response needed except to say does anyone know a good plugin that I can use to create a private members area on my webiste and which won't corrupt it?
Thanks for your help
Regards
Wendy
Hi Wendy,
I don't know if this way can be the solution, but I think you should upgrade the wordpress version to 3.0.
I also ever met the same problem on my client site which still use WP 2.9.2. But I test the plugin before on my own site which use WP 3.0 and it work fine.
If you somehow want to upgrade the WP version, it will be wise if you make a back-up for the site files & folders and also the database. Especially if you ever edit the core WP files (any files except files under wp-content folder and wp-config.php file) for the design.
Hope that help.
Regards,
Alexa
Hi again Wendy,
I've another solution if you don't want to upgrade the WP version.
Edit the UserAccessManager.class.php file under 'includes' folder.
Change home_url() with get_option('home') on line 295
and home_url('/') with get_option('home') . '/' on line 1508 & 1637
I've just tried it and it works on my client site which is WP 2.9.2, hope that work on WP 2.7.1.
Regards,
Alexa