Jump to content

After v3.0 upgrade - can only log in as supper user


Neeks
 Share

Recommended Posts

This one has me stumped.

When I login into the admin with any user but a super user I get this error:

Unknown Selector operator: '' -- was your selector value properly escaped? field='Array', value='', selector: 'Array, parent_id=31, templates_id=5
Parent=31 is the Admin > Access > Roles page
templates_id=5 is the permission template

Other than that I have so idea why selector is showing up empty and crashing the site.
I have uninstalled almost all the none-core modules in my system. 

Full Stack trace:

 Notice: Array to string conversion in /home/www/processwire/wire/core/User.phpon line 203

Warning: Illegal offset type in isset or empty in /home/www/processwire/wire/core/Permissions.phpon line 83

Warning: Illegal offset type in isset or empty in /home/www/processwire/wire/core/User.phpon line 219

Notice: Array to string conversion in /home/www/processwire/wire/core/PagesType.phpon line 283

Notice: Array to string conversion in /home/www/processwire/wire/core/PagesType.phpon line 287

Warning: strpos() expects parameter 1 to be string, array given in /home/www/processwire/wire/core/PagesType.phpon line 301

Notice: Array to string conversion in /home/www/processwire/wire/core/PagesType.phpon line 158

Warning: strpos() expects parameter 1 to be string, array given in /home/www/processwire/wire/core/PagesType.phpon line 159

Notice: Array to string conversion in /home/www/processwire/wire/core/PagesType.phpon line 169

Fatal error: Exception: Unknown Selector operator: '' -- was your selector value properly escaped? field='Array', value='', selector: 'Array, parent_id=31, templates_id=5' (in /home/www/processwire/wire/core/Selectors.php line 396) #0 /home/www/processwire/wire/core/Selectors.php(439): ProcessWire\Selectors->create('Array', '', '') #1 /home/www/processwire/wire/core/Selectors.php(159): ProcessWire\Selectors->extractString('Array, parent_i...') #2 /home/www/processwire/wire/core/Selectors.php(145): ProcessWire\Selectors->setSelectorString('Array, parent_i...') #3 /home/www/processwire/wire/core/PagesLoader.php(217): ProcessWire\Selectors->init('Array, parent_i...') #4 /home/www/processwire/wire/core/Pages.php(232): ProcessWire\PagesLoader->find('Array, parent_i...', Array) #5 /home/www/processwire/wire/core/Wire.php(386): ProcessWire\Pages->___find('Array, parent_i...', Array) #6 /home/www/processwire/wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod('___find', Array) #7 /home/www/processwire/wire/core/Wire.php( in /home/www/processwire/index.phpon line 64

Link to comment
Share on other sites

Can you please provide some descriptive information about what version of ProcessWire you upgraded from and what version you upgraded to?  Also information about how you did the upgrade process, to include your platform and PHP Version, would be very helpful?

 

  • Like 1
Link to comment
Share on other sites

The one module I didn't uninstall because it was so simple it could not possibly break anything was causing the problem. Added a name space to the module, and everything works like magic. I think the module compiler just had an issue that that module for some reason.

Thanks for suggestions.

 

  • Like 1
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...