I found out that the problematic file was moodle/blocks/news_items/block_news_items.php it's line 23 is require_once($CFG->dirroot.'/course/lib.php'); I was not able to produce any errormessages by simply running that file. When I commented this line everything seems to work.
Is there a possibility that this file is not included beforehand and this require is needed at some point?
Installing and upgrading help
Weird behaviour with PHP 5.01. Course mainpage load stalls.
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.