Support the ongoing development of Laravel.io →
posted 3 months ago
Laravel
0
moderator

Hello @boukharilina

The error message Your configuration files are not serializable. means that it is not possible to create a cache from your config. This is most of the time because there is a closure in a config file.

Like

<?php
return  [
 'key' => function() {
    return 'something';
},
];

That is not cachable, if you find that config part you can decide how to fix it.

boukharilina liked this reply

1

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.