PWaddict Posted December 23, 2016 Share Posted December 23, 2016 I've just upgrade from 3.0.45 to 3.0.46 and I'm getting the following error on both front-end and back-end: Warning: Declaration of ProcessWire\User::editUrl() should be compatible with ProcessWire\Page::editUrl($options = Array) in C:\xampp\htdocs\mysite.com\wire\core\User.php on line 479. Link to comment Share on other sites More sharing options...
adrian Posted December 23, 2016 Share Posted December 23, 2016 Just for reference: https://github.com/processwire/processwire-issues/issues/130 If you want a quick fix until @ryan gets this sorted, just add the $options argument to the User version of the method, eg. public function editUrl($options = array()) { on this line: https://github.com/processwire/processwire/blob/e8b9f1294311a9e57d05b5cb5b7395b7685e951b/wire/core/User.php#L448 3 Link to comment Share on other sites More sharing options...
adrian Posted December 25, 2016 Share Posted December 25, 2016 Fixed by: https://github.com/processwire/processwire/commit/622896e028aba214a5431b34606f94518b35953d 2 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