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

Call to undefined method Cachet\Cachet::cssVariables() #4450

Open
Setsuneh opened this issue Jan 7, 2025 · 5 comments
Open

Call to undefined method Cachet\Cachet::cssVariables() #4450

Setsuneh opened this issue Jan 7, 2025 · 5 comments
Assignees
Labels
Support Need support? Start here. Issues will be closed if not a bug.
Milestone

Comments

@Setsuneh
Copy link

Setsuneh commented Jan 7, 2025

Hi,

I've launched cachet v3 on Debian 12, and i have this error on cachet.XXX.com : Call to undefined method Cachet\Cachet::cssVariables()

Here is some informations

PHP 8.2.26 (cli) (built: Nov 25 2024 17:21:51) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.26, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.26, Copyright (c), by Zend Technologies
Server version: Apache/2.4.62 (Debian)
Server built:   2024-10-04T15:21:08

Any idea ?

@jbrooksuk
Copy link
Member

@Setsuneh can you try pulling cachethq/cachet again and running composer install -o --no-dev.

@jbrooksuk jbrooksuk self-assigned this Jan 7, 2025
@jbrooksuk jbrooksuk added the Support Need support? Start here. Issues will be closed if not a bug. label Jan 7, 2025
@jbrooksuk jbrooksuk added this to the v3.x milestone Jan 7, 2025
@Setsuneh
Copy link
Author

Setsuneh commented Jan 7, 2025

I don't use Docker for it.

I've launched again composer without any change

Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 0 installs, 0 updates, 42 removals
  - Removing theseer/tokenizer (1.2.3)
  - Removing ta-tikoma/phpunit-architecture-test (0.8.4)
  - Removing symfony/yaml (v7.2.0)
  - Removing sebastian/version (4.0.1)
  - Removing sebastian/type (4.0.0)
  - Removing sebastian/recursion-context (5.0.0)
  - Removing sebastian/object-reflector (3.0.0)
  - Removing sebastian/object-enumerator (5.0.0)
  - Removing sebastian/lines-of-code (2.0.2)
  - Removing sebastian/global-state (6.0.2)
  - Removing sebastian/exporter (5.1.2)
  - Removing sebastian/environment (6.1.0)
  - Removing sebastian/diff (5.1.1)
  - Removing sebastian/complexity (3.2.0)
  - Removing sebastian/comparator (5.0.3)
  - Removing sebastian/code-unit-reverse-lookup (3.0.0)
  - Removing sebastian/code-unit (2.0.0)
  - Removing sebastian/cli-parser (2.0.1)
  - Removing phpunit/phpunit (10.5.36)
  - Removing phpunit/php-timer (6.0.0)
  - Removing phpunit/php-text-template (3.0.1)
  - Removing phpunit/php-invoker (4.0.0)
  - Removing phpunit/php-file-iterator (4.1.0)
  - Removing phpunit/php-code-coverage (10.1.16)
  - Removing phar-io/version (3.2.1)
  - Removing phar-io/manifest (2.0.4)
  - Removing pestphp/pest-plugin-laravel (v2.4.0)
  - Removing pestphp/pest-plugin-arch (v2.7.0)
  - Removing pestphp/pest-plugin (v2.1.1)
  - Removing pestphp/pest (v2.36.0)
  - Removing nunomaduro/collision (v8.5.0)
  - Removing myclabs/deep-copy (1.12.1)
  - Removing mockery/mockery (1.6.12)
  - Removing laravel/sail (v1.39.1)
  - Removing laravel/pint (v1.19.0)
  - Removing laravel/pail (v1.2.1)
  - Removing jean85/pretty-package-versions (2.1.0)
  - Removing hamcrest/hamcrest-php (v2.0.1)
  - Removing filp/whoops (2.16.0)
  - Removing fidry/cpu-core-counter (1.2.0)
  - Removing fakerphp/faker (v1.24.1)
  - Removing brianium/paratest (v7.4.8)
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.

  anourvalar/eloquent-serialize ............................................................................................................... DONE
  blade-ui-kit/blade-heroicons ................................................................................................................ DONE
  blade-ui-kit/blade-icons .................................................................................................................... DONE
  cachethq/core ............................................................................................................................... DONE
  filament/actions ............................................................................................................................ DONE
  filament/filament ........................................................................................................................... DONE
  filament/forms .............................................................................................................................. DONE
  filament/infolists .......................................................................................................................... DONE
  filament/notifications ...................................................................................................................... DONE
  filament/spatie-laravel-settings-plugin ..................................................................................................... DONE
  filament/support ............................................................................................................................ DONE
  filament/tables ............................................................................................................................. DONE
  filament/widgets ............................................................................................................................ DONE
  kirschbaum-development/eloquent-power-joins ................................................................................................. DONE
  laravel/sanctum ............................................................................................................................. DONE
  laravel/tinker .............................................................................................................................. DONE
  livewire/livewire ........................................................................................................................... DONE
  nesbot/carbon ............................................................................................................................... DONE
  nunomaduro/termwind ......................................................................................................................... DONE
  ryangjchandler/blade-capture-directive ...................................................................................................... DONE
  spatie/laravel-data ......................................................................................................................... DONE
  spatie/laravel-query-builder ................................................................................................................ DONE
  spatie/laravel-settings ..................................................................................................................... DONE
  spatie/php-structure-discoverer ............................................................................................................. DONE

84 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

@jbrooksuk
Copy link
Member

jbrooksuk commented Jan 7, 2025

No Docker needed here, @Setsuneh!

Can you try running rm -rf resources/views/vendor/cachethq?

@Setsuneh
Copy link
Author

Setsuneh commented Jan 7, 2025

Ah ok @jbrooksuk ! I understand better.
I've tried it, but it does nothing ... Already the same error

@jbrooksuk
Copy link
Member

Okay, can you try php artisan view:clear too, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Need support? Start here. Issues will be closed if not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants