Fatal error : Class MediaWiki\Parser\Parsoid\Config\SiteConfig contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Wikimedia\Parsoid\Config\SiteConfig::incrementCounter, Wikimedia\Parsoid\Config\SiteConfig::observeTiming) in /home/vol9_6/infinityfree.com/if0_37425562/htdocs/includes/parser/Parsoid/Config/SiteConfig.php on line 65
If a class has one or more abstract functions, it MUST be declared as an abstract class
Here is example for you:
abstract class CI_Controller_Rest extends CI_Controller {
public function __construct() {
parent::__construct();
}
abstract public function index();
abstract public function get();
abstract public function head();
abstract public function post();
abstract public function put();
abstract public function delete();
}
Also check whats up with the mentioned code line for error:
/includes/parser/Parsoid/Config/SiteConfig.php on line 65
You can try that change and see if that fixes it, but I would be very careful making changes to other people’s code like that, because it may just generate a new error down the line.
It’s weird through because when I check the official source code, I see that this class is supposed to be abstract and always appears to have been. So it’s strange that your code is different.