Jump to content

WireUpload not found


Entice
 Share

Recommended Posts

Hi.

I've been plugging away with my new site back on 2.8. I recently upgraded to 3.x and everything seemed fine.

But then until I noticed that my ajax-image-upload script wasn't working anymore. The error I'm getting back is

Error:     Class 'Processwire\WireUpload' not found (line 31)

That line in my script is this:

$i = new WireUpload('file');
//also tried the following:
//$i = new Processwire\WireUpload('file');
//$i = new \Processwire\WireUpload('file');

 None of the above works. I'm so confused on what I'm missing as I do have a copy for 2.8 that works fine. Haven't done any modifications to the file since the update to 3.x

Have I missed something for 3.x regarding the namespaces? Any insight is greatly appreciated.

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...