UltimatePOS

  1. Home
  2. Docs
  3. UltimatePOS
  4. Technical
  5. Error: Replicating claims as headers is deprecated and will removed from v4.0. Please manually set the header if you need it replicated.

Error: Replicating claims as headers is deprecated and will removed from v4.0. Please manually set the header if you need it replicated.

Error: Replicating claims as headers is deprecated and will removed from v4.0. Please manually set the header if you need it replicated.

Sometimes this error happens for some hostings. To fix this error, follow these steps:

  1. Open this file: app\Providers\AppServiceProvider.php
  2. In line 25 (inside the boot function) add this statements:
  3. Save it and this will be fixed.
if (config('app.debug')) {
    error_reporting(E_ALL & ~E_USER_DEPRECATED);
} else {
    error_reporting(0);
}
Was this article helpful to you? Yes No

How can we help?