Jump to content

Recommended Posts

Posted

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? 

 

Posted
1 minute ago, netcarver said:

Not sure, but have you tried "ProcessWire" rather than "Processwire"

Class and function names are case insensitive in php.

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
  • Recently Browsing   0 members

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