Recent Topics

Config:cache error

  • Hello, i'm trying to clear config cache but its showing error like :

    LogicException : Your configuration files are not serializable.

    at D:\adminmspmall\mspposmall\vendor\laravel\framework\src\Illuminate\Foundation\Console\ConfigCacheCommand.php:68
    64| require $configPath;
    65| } catch (Throwable $e) {
    66| $this->files->delete($configPath);

    68| throw new LogicException('Your configuration files are not serializable.', 0, $e);
    69| }
    71| $this->info('Configuration cached successfully!');
    72| }

    Exception trace:

    1 Error::("Call to undefined method stdClass::__set_state()")

    2 require()

    Please use the argument -v to see more details.

    How to fix this ? thank u

  • @darkuser123
    Please mention your bagisto version in which you have used this command.
    Also provide us the steps for reproducing the issue and mention your laravel version.

Log in to reply