With regards to your first error, please have a look @ http://tracker.moodle.org/browse/CONTRIB-1008
The second error seems to be related to your server. Please restart your server to see if it solves your problem.
With regards to your first error, please have a look @ http://tracker.moodle.org/browse/CONTRIB-1008
The second error seems to be related to your server. Please restart your server to see if it solves your problem.