Howdy folks! Hope everyone is having a great weekend.
I have a slight problem.
I am no longer able to login from the admin page. It continuously displays the login page.
I have not changed my password or my user name, nor made any changes in /wire.
I tried this approach, processwire-recipes.com/recipes/resetting-admin-password-via-api/ but I get the following errors:
Trying to get property of non-object in /[localhost]/sc/wire/core/Page.php on line 1459
Fatal error: Call to a member function hasField() on a non-object in /[localhost]/sc/wire/core/Page.php on line 1459
Error: Call to a member function hasField() on a non-object (line 1459 of /[localhost]/sc/wire/core/Page.php)
The last entry in apache error log that was not a stack trace was:
PHP Notice: Object of class InputfieldSelect could not be converted to int in /[localhost]/sc/wire/core/InputfieldWrapper.php on line 652, referer: http://localhost/sc/scadmin/setup/field/edit?id=127
Any suggestions would be greatly appreciated.
P.S. Speaking of the apache error log. Is there any way of turning off all the entries? I have error_reporting( E_ALL & ~E_DEPRECATED & ~E_NOTICE ); set in /site/config.php but my error log is currently over 3M worth of stack traces just from today's work.
P.P.S. I think I will pour myself a glass of scotch. Cheers!