Jump to content

cannot login + errors wire/core/PagesEditor.php


Emile
 Share

Recommended Posts

Hello,

 

I cannot login to the admin panel : ProcessLogin: admin - Login failed

I tried to follow this post : 

 

and add :

$u = $users->get('admin');

$u->of(false);

$u->pass = 'superSecretPassword';

$u->save();

 

but I get :

Notice: Trying to get property of non-object in /var/www/html/esad-gv.from-to.www/processwire-master/wire/core/PagesEditor.php on line 246

Notice: Trying to get property of non-object in /var/www/html/esad-gv.from-to.www/processwire-master/wire/core/PagesEditor.php on line 249

Notice: Trying to get property of non-object in /var/www/html/esad-gv.from-to.www/processwire-master/wire/core/PagesEditor.php on line 258

Fatal error: Call to a member function numChildren() on null in /var/www/html/esad-gv.from-to.www/processwire-master/wire/core/PagesEditor.php on line 382

 

Any ideas ?

Thank you :)

Link to comment
Share on other sites

You maybe need to replace 'admin' with the name of your superuser, if it is not 'admin'.
If your 'superuser' is 'admin' check in the database if a page (user) named 'admin' exist and if the correct parent (29) is assigned.

  • Like 3
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

×
×
  • Create New...