Unable to locate the model you have specified: Mdl_settings

Hi there,

I can’t get my install to work (latest).
I am trying to update from 1.4.X to 1.5.11 and I did everything the docs say. I don’t think this has to do with updating.

I keep getting this error:

An uncaught Exception was encountered
Type: RuntimeException

Message: Unable to locate the model you have specified: Mdl_settings

Filename: /home/u45320p86964/domains/mydomain.com/public_html/invoice/vendor/codeigniter/framework/system/core/Loader.php

Line Number: 348

Backtrace:

File: /home/u45320p86964/domains/mydomain.com/public_html/invoice/application/third_party/MX/Loader.php
Line: 248
Function: model

File: /home/u45320p86964/domains/mydomain.com/public_html/invoice/application/core/Base_Controller.php
Line: 68
Function: model

File: /home/u45320p86964/domains/mydomain.com/public_html/invoice/application/core/User_Controller.php
Line: 29
Function: __construct

File: /home/u45320p86964/domains/mydomain.com/public_html/invoice/application/core/Admin_Controller.php
Line: 26
Function: __construct

File: /home/u45320p86964/domains/mydomain.com/public_html/invoice/index.php
Line: 325
Function: require_once

My log is:

DEBUG - 2021-01-29 19:41:26 --> UTF-8 Support Enabled
DEBUG - 2021-01-29 19:41:26 --> No URI present. Default controller set.
DEBUG - 2021-01-29 19:41:26 --> Global POST, GET and COOKIE data sanitized
DEBUG - 2021-01-29 19:41:26 --> Dashboard MX_Controller Initialized
DEBUG - 2021-01-29 19:41:26 --> Config file loaded: /home/u45320p86964/domains/mydomain.com/public_html/invoice/application/config/invoice_plane.php
DEBUG - 2021-01-29 19:41:26 --> Encryption: Auto-configured driver 'openssl'.
ERROR - 2021-01-29 19:41:26 --> Severity: error --> Exception: Unable to locate the model you have specified: Mdl_settings /home/u45320p86964/domains/mydomain.com/public_html/invoice/vendor/codeigniter/framework/system/core/Loader.php 348

Someone with an idea?
Thanks!

Are you very sure you have first migrated to 1.5.0 and then to 1.5.11?

Like described here?
https://wiki.invoiceplane.com/en/1.5/getting-started/updating-ip#upgrade-from-previous

If this does not solve the problem please provide us much more infos.
As you can see:

The problem is directly related to CodeIgniter 3 which this system is based on. Searching in google shows up a lot of results which indicated this is a common problem, but if you would have migrated correctly this hould not happen. So I assume you did not migrate correct.

Anyway if the problem still persists please provide more infos about your setup AND a debug log:

https://community2.invoiceplane.com/t/topic/6905

Seems that there were some files that weren’t uploaded correctly.
But anyway, I did the whole thing again, step by step like described and then I had database errors.

So I decided to have a legacy version for old invoices and installed a brand new installation in a new folder that works as expected.

Thank you!