Warning: session_name(): Cannot change session name when headers already sent in /var/www/html/cwcipedia/includes/Setup.php on line 241

Fatal error: Uncaught TypeError: Argument 1 passed to wfReportException() must be an instance of Exception, instance of Error given, called in /var/www/html/cwcipedia/includes/Exception.php on line 346 and defined in /var/www/html/cwcipedia/includes/Exception.php:281 Stack trace: #0 /var/www/html/cwcipedia/includes/Exception.php(346): wfReportException(Object(Error)) #1 [internal function]: wfExceptionHandler(Object(Error)) #2 {main} thrown in /var/www/html/cwcipedia/includes/Exception.php on line 281