Jump to content

Error: 'ProcessWire\WireData' Not Found


Matt_P
 Share

Recommended Posts

Hi Everyone, 

I was wondering whether anyone knows what this error is:

"Error: Class 'ProcessWire\WireData' not found (line 19 of /home/sitehost/public_html/dev/sitename/wire/modules/Page/PageFrontEdit/PageFrontEdit.module)"

This has been pulled from the logs.

I found the error after a password reset, though the error did not occur immediately. I only noticed this after reloading the site. This has taken down both the back-end and front-end, I only get a 500 internal server error back.

Is anyone familiar with this error?

Thanks,

Matt

 

Link to comment
Share on other sites

Hi FrancisChung,

I have not installed any module or upgraded Processwire. I have only added the line below into the home.php file to change the password. Then re-added the file without the line.

<?php $users->get("name")->setOutputFormatting(false)->set('pass', 'password!')->save(); ?>

Thanks,

Matt

Link to comment
Share on other sites

The error in the logs could be a symptom rather than the cause of the problem. When it comes to out-of-the-blue errors like this the usual suspect for me is mod_security - it would be worth disabling this to see if it resolves the issue. You may be able to disable mod_security via cPanel or htaccess, but if you're not sure ask your host.

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

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

×
×
  • Create New...