Reply To: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export

SimpleInvoices Group Forum Forums Fearless359 SimpleInvoices Discussion Group Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export Reply To: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export

#1050
RRowley
Participant

If the result of the previous query is LOWER_CASE_TABLE_NAMES 0, then I suspect you are running on a system that is using a case sensitive file system. So while the change I made fixes the issue you are having (hopefully), there are other issue that will be encountered.

The fix, I believe, is to set LOWER_CASE_TABLE_NAMES to 2. This performs all comparisons in lower case. Unfortunately, you have to make this change in the configuration file. You will have to find this file and add the following to it.

First, look to see if there is a section for [mariadb]. If not add this section at the end of the file. If it does exist, you don’t need to add this section.

Immediately following the mariadb section line, add the following:
lower_case_table_names=2

Save the configuration file and restart your mysql database and test SI. Hopefully this will solve your problem.