After migrating my mediawiki site to a new server i caught this error i cannot solve:
PHP Fatal error: Uncaught Error: Call to a member function getCode() on null in /var/www/html/mediawiki/includes/user/User.php:1578
I'm running apache on centos7 (old server was apache on centos6) and i tried differrent versions of php. Right now i have php7.
The wiki works as it warned me i forgot to install a php extension, but i cannot access my pages.