IP 1.5.9 and 1.5.10.1 compliant with PHP 7.3


#1

below are the changes to be made to the code

04/02/2019 start of coding
already a patch for PHP7.3 04/02/2019 gbobard@gmail.com
script /root/application/third_party/MX_router.php
fix FIX chr($suffix)

public function set_class($class)
{
$suffix = $this->config->item(‘controller_suffix’);
if (strpos($class, chr($suffix)) ==== false) {
$class .= $suffix;
}
parent::set_class($class);
}

patch of 17/02/2019
root/application/modules/payments/controllers/payments.php
115 online use of the mdl_payment_custom model not loaded

public function form($id = null)
{
    $this->load->model('custom_fields/mdl_payment_custom');// BYOOS_tag load this model for all the method 02/2019


PS delete line 75 of the same form method // duplicate the model is already loaded

Gabriel


#2

We appreciate your work, but you could be more specific in the values following an order of the code, given that the value to be replaced and the lines it refers to are not exactly understood.


#3

And for everyone reading this: 1.5.10.1 should be compatible with PHP 7.3. There’s at least a fix in github (if you think it’s needed), but all you should need is either the 1.5.10.1 branch or the master branch to run InvoicePlane on PHP 7.3


#4

Hello gentleman, where do I download this version?
The one that is known is the v1.5.9 published on its website, in any case the v2.1.0 I do not have a thread on where to get it


#5

You can download this Version from GitHub but this Version is not released yet!
Pls keep that in mind