UPDATE:
think I have made it compatible with PHP v7.3.x
But I think this needs a bit of testing.
What I changed:
/application/third_party/MX/Router.php
Row 221-228
public function set_class($class)
{
$suffix = $this->config->item('controller_suffix');
if (strpos($class, $suffix) === false) {
$class .= $suffix;
}
parent::set_class($class);
}
changed to:
public function set_class($class)
{
$suffix = (string) $this->config->item('controller_suffix');
parent::set_class($class);
}
I think casting $suffix to string is appropriate if controller_suffix is(or can be) empty.
Can someone pls confirm its working?
Just added it here: https://github.com/InvoicePlane/InvoicePlane/pull/680#issuecomment-453630154