Not instantiable An internal server error occurred after edit config/main.php

Hi, I have a problem with my yii2-advanced after editing config/main.php.

I have added

        'formatter' => [
            'class' => 'yii\i18n\formatter',
            'thousandSeparator' => '.',
            'decimalSeparator' => ',',

In main/config.php, it works in local but when I deploy it to production it is an error.

It might be a case-sensitivity problem.


            'class' => 'yii\i18n\Formatter',
1 Like

Yup, that was a case-sensitivity problem. Thanks for the response.