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

Creating theme throws error after entering destription. #71

Open
taaigo opened this issue Jan 17, 2024 · 1 comment
Open

Creating theme throws error after entering destription. #71

taaigo opened this issue Jan 17, 2024 · 1 comment

Comments

@taaigo
Copy link

taaigo commented Jan 17, 2024

After entering the Description when running the php artisan theme:create dark command, it throws an error.

/o/l/h/l/rhythm-hub (main) [1]> php artisan theme:create dark

 What is theme title?:
 > dark

 What is theme description? []:
 > dark theme


   Error 

  Call to undefined function Shipu\Themevel\Console\title_case()

  at vendor/shipu/themevel/src/Console/ThemeGeneratorCommand.php:128
    124▕     {
    125▕         $this->theme['title'] = $this->ask('What is theme title?');
    126▕ 
    127▕         $this->theme['description'] = $this->ask('What is theme description?', false);
  ➜ 128▕         $this->theme['description'] = !$this->theme['description'] ? '' : title_case($this->theme['description']);
    129▕ 
    130▕         $this->theme['author'] = $this->ask('What is theme author name?', false);
    131▕         $this->theme['author'] = !$this->theme['author'] ? 'Shipu Ahamed' : title_case($this->theme['author']);
    132▕ 

      +13 vendor frames 

  14  artisan:35
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
@llyynnxx
Copy link

llyynnxx commented Apr 5, 2024

upgrade to v3.0.4, cek composer.json

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

No branches or pull requests

2 participants