Support » Fixing WordPress » Fatal error: Class ‘Requests_Hooks’ not found

  • Resolved bartekp


    I have a problem with WordPress 4.8.3. Everything works on localhost in xampp (php 5.6.3 and php 7.1) but doesn’t work after coppying it to hosting server.

    What did I do to resolve the problem:
    1. Re-copy all wordpress files
    2. Change php version from oldest to 7

    You can see this problem here: Link to website
    You can see how it should work: IMAGE

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @bartekp,

    Do you have FTP or SFTP access to your dev server? If so, could you manually add the missing PHP file to your install?

    Yes, I have. But I don’t know what is the missing file. I think it’s file with ‘Request Hooks’ controller or something like that, but I don’t know where should I looking for it.

    I’m trying to copy all the files one time more via WinSCP. It’s funny because in localhost everything is okay. Maybe Total Commander (I used it before) didn’t copy some files?!

    Okay. Now I know everything about resolving this problem.
    Total Commander copied files without file with function (Request Hooks) in.
    WinSCP did it better and now everything works perfectly.

    Thanks 🙂

    Excellent news! I’m glad to hear that it’s all running smoothly again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Class ‘Requests_Hooks’ not found’ is closed to new replies.