borestad / blocklist-abuseipdb

Aggregated AbuseIPDB blocklists with worst IPv4 & IPv6 offenders (~100% confidence) - Also with stats & dynamic Hall of Shame blocklists.
https://github.com/borestad/blocklist-abuseipdb
143 stars 11 forks source link

"Your configuration files are not serializable." when running `php artisan config:cache` #7

Closed thyseus closed 2 months ago

thyseus commented 2 months ago
php artisan config:cache

gives me:

In ConfigCacheCommand.php line 73:
Your configuration files are not serializable.
In config.php line 13:
Call to undefined method Closure::__set_state()
exit code 1 (General error)

because of a fn() in the config file.

Please provide a solution where config caching (php artisan optimize) is possible.

Thanks a lot for this great package!

borestad commented 2 months ago

Hi! Sorry, this package contains zero amount of PHP, only ips in text format. You have debug your application layer 😊