Warning: Wrong parameter count for array_slice() in /Library/WebServer/Documents/moodle/lib/datalib.php on line 837
According to the PHP docs, the fourth parameter to array_slice was added in PHP 5.0.2. I'm running PHP 4.
This is in Moodle 1.8.2 latest (not sure which date it was released, but the bug is confirmed by someone with a different version); Moodle 1.8.2 stable (as of today anyway) is OK.
To reproduce:
1. As admin, browser the list of all users (Users/Accounts/Browsel list of users in Site Administration tab)
2. Click on the name of a user to visit user/view.php
I may be understating the severity of the error; with debugging off I don't see a problem, but I spoke to someone who I believe encountered a blank page.
- has been marked as being related by
-
MDL-11023 When view one's own profile there is this error - Warning: Wrong parameter count for array_slice() in /var/www/html/moodle/lib/datalib.php on line 709
-
- Closed
-