Please help with wordpress fatal error

Discussion in 'WordPress' started by mphoto1, Mar 15, 2011.

  1. #1
    I installed and activated the backup and move plugin and then got this message

    Fatal error: Call to undefined function home_url() in /home/coolintr/public_html/mydomainname.com/wp-content/plugins/backup-and-move/backup_and_move.php on line 148

    I cannot login to the wordpress cms anymore because whenever I try to I get the above message.

    I have deleted the plugin - that did not work
    I upadted wordpress - that did not work
    I reinstalled the plugin - that did not work

    How can I fix this issue?
     
    mphoto1, Mar 15, 2011 IP
  2. otjutt

    otjutt Member

    Messages:
    166
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #2
    which version of WordPress are you using?
     
    otjutt, Mar 15, 2011 IP
  3. mphoto1

    mphoto1 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I was on an old version when I installed the plugin but now I am on the current version
     
    mphoto1, Mar 15, 2011 IP
  4. otjutt

    otjutt Member

    Messages:
    166
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #4
    I've WordPress 3.1 on my localhost. I installed the plugin and it successfully installed. I can logout and login without any problem. Tell me which previous version was you using?
     
    otjutt, Mar 15, 2011 IP
  5. mphoto1

    mphoto1 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I am not entirely sure of the previous version 2.something though

    I also have heatmap theme installed, not sure if that matters or not
     
    mphoto1, Mar 15, 2011 IP
  6. robaid

    robaid Member

    Messages:
    126
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    35
    #6
    What's located at that (and around that line of code) of plug-in?
     
    robaid, Mar 15, 2011 IP
  7. mccomf

    mccomf Active Member

    Messages:
    517
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #7

    Login to your file manager and delete the plugin and all files asociated with it.
     
    mccomf, Mar 15, 2011 IP
  8. otjutt

    otjutt Member

    Messages:
    166
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #8
    @mccomf

    As mentioned he has already deleted the plugin.
     
    otjutt, Mar 15, 2011 IP
  9. mphoto1

    mphoto1 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    How do I go about figuring this out?
     
    mphoto1, Mar 15, 2011 IP
  10. otjutt

    otjutt Member

    Messages:
    166
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #10
    @robaid

    Below is the line from Recently downloaded plugin.

     
    otjutt, Mar 15, 2011 IP
  11. otjutt

    otjutt Member

    Messages:
    166
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #11
    Well I've pasted the code segment but you can achieve this by opening the plugin folder and then opening the file backup_and_move.php with a text editor.

    You will need a text editor which can display the line number otherwise it will be too hard to count and reach that line.

    If you are on Windows you can use Notepad++.
     
    otjutt, Mar 15, 2011 IP
  12. mphoto1

    mphoto1 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Thanks to everyone for looking into this. I hope there is a solution in here somewhere.
     
    mphoto1, Mar 15, 2011 IP
  13. mphoto1

    mphoto1 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I do not know how this works exactly but can I just define the function home_url() somehow? Any guidance here would be appreciated
     
    mphoto1, Mar 15, 2011 IP
  14. mccomf

    mccomf Active Member

    Messages:
    517
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #14
    It doesnt look like the plugin was deleted.Maybe He ment "deactivated".
     
    mccomf, Mar 15, 2011 IP
  15. mphoto1

    mphoto1 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Solved! changed plugins folder to plugins.hold and was able to access admin dashboard


    Thanks guys!
     
    mphoto1, Mar 15, 2011 IP
  16. mphoto1

    mphoto1 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Ok - I logged in for a minute and then deleted the plugin but now I am having the same exact problem.
     
    mphoto1, Mar 15, 2011 IP
  17. mccomf

    mccomf Active Member

    Messages:
    517
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #17
    What else did you do?
     
    mccomf, Mar 16, 2011 IP
  18. mphoto1

    mphoto1 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    I didn't really do anything else other than delete the plugin and change plugins.hold back to plugins. I got back into the admin dashboard, left my computer for a few minutes, came back to find that I needed to log back in again and then it looks as if the changes that I made in order to get back to the admin were reverted.

    I got back in once again by removing line 149 from the plugins php file but then a few hours later I got the original error and it looks like line 149 is now back in the php file.
     
    mphoto1, Mar 16, 2011 IP
  19. mccomf

    mccomf Active Member

    Messages:
    517
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #19
    Did you remove line in backup_and_move.php?
    You will have to remove the plugin folder.
    Go to wp-content/plugins/ and remove backup-and-move folder.
     
    mccomf, Mar 16, 2011 IP
  20. robaid

    robaid Member

    Messages:
    126
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    35
    #20
    You're doing something terribly wrong but I can't follow the changes you made...

    if you deleted the plugin, why is it reporting the same error?
     
    robaid, Mar 16, 2011 IP