Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved filter attribute functions to separate classes for error "Your configuration files are not serializable." #1898

Merged
merged 6 commits into from
Mar 30, 2025

Conversation

arkdev1
Copy link
Contributor

@arkdev1 arkdev1 commented Mar 27, 2025

⚡ PowerGrid - Pull Request

  • Bug fix
  • Enhancement
  • New feature
  • Breaking change

Description

Working on thi error.

   INFO  Caching framework bootstrap, configuration, and metadata.  

  config ............................................................................................................................... 7.83ms FAIL

   LogicException 

  Your configuration files are not serializable.

  at vendor/laravel/framework/src/Illuminate/Foundation/Console/ConfigCacheCommand.php:73
     69▕             require $configPath;
     70▕         } catch (Throwable $e) {
     71▕             $this->files->delete($configPath);
     72▕ 
  ➜  73▕             throw new LogicException('Your configuration files are not serializable.', 0, $e);
     74▕         }
     75▕ 
     76▕         $this->components->info('Configuration cached successfully.');
     77▕     }

  1   bootstrap/cache/config.php:1147
      Error::("Call to undefined method Closure::__set_state()")
      +29 vendor frames 

  31  artisan:16
      Illuminate\Foundation\Application::handleCommand()

Related Issue(s):

Documentation

This PR requires Documentation update?

  • Yes
  • No
  • I have already submitted a Documentation pull request.

arkdev1 and others added 4 commits March 27, 2025 14:10
…olean, and number.

- Moved filter attribute functions to separate classes for error " Your configuration files are not serializable."
- Simplified the attribute structure for input and select fields in the InputText class.
…ire:model usage.

- Update wire:model usage in Boolean, InputText, and Number filter attribute classes.
- Remove unnecessary imports from the code.
@luanfreitasdev luanfreitasdev marked this pull request as ready for review March 28, 2025 11:36
@luanfreitasdev luanfreitasdev merged commit cc9a182 into Power-Components:6.x Mar 30, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants