Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Config:cache error

    Bug Report
    2
    2
    735
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      darkuser123 last edited by

      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);
      67|

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

      Exception trace:

      1 Error::("Call to undefined method stdClass::__set_state()")
      D:\adminmspmall\mspposmall\bootstrap\cache\config.php:4316

      2 require()
      D:\adminmspmall\mspposmall\vendor\laravel\framework\src\Illuminate\Foundation\Console\ConfigCacheCommand.php:64

      Please use the argument -v to see more details.

      How to fix this ? thank u

      1 Reply Last reply Reply Quote 0
      • J
        Jyoti last edited by Jyoti

        @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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post