Neeks Posted July 29, 2017 Share Posted July 29, 2017 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 83Warning: Illegal offset type in isset or empty in /home/www/processwire/wire/core/User.phpon line 219Notice: Array to string conversion in /home/www/processwire/wire/core/PagesType.phpon line 283Notice: Array to string conversion in /home/www/processwire/wire/core/PagesType.phpon line 287Warning: strpos() expects parameter 1 to be string, array given in /home/www/processwire/wire/core/PagesType.phpon line 301Notice: Array to string conversion in /home/www/processwire/wire/core/PagesType.phpon line 158Warning: strpos() expects parameter 1 to be string, array given in /home/www/processwire/wire/core/PagesType.phpon line 159Notice: Array to string conversion in /home/www/processwire/wire/core/PagesType.phpon line 169Fatal 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 More sharing options...
cstevensjr Posted July 29, 2017 Share Posted July 29, 2017 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? 1 Link to comment Share on other sites More sharing options...
szabesz Posted July 29, 2017 Share Posted July 29, 2017 @Neeks Did you try changing PHP/MySQL version of the site? v3 might choke on something that was ok with your current server setup. 1 Link to comment Share on other sites More sharing options...
Neeks Posted July 29, 2017 Author Share Posted July 29, 2017 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. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now