Jump to content

Class 'Processwire\WireHttp' not found


Zeka
 Share

Recommended Posts

In a method of a custom process module, I try to force file download.

$http = new WireHttp();
or 
$http = $this->wire(new WireHttp());

Processwire namespace is defined in the file. I'm getting Class 'Processwire\WireHttp' not found.

The question is why? 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...