Laravel-Backpack / theme-tabler

UI for Backpack v6 that uses Tabler and Bootstrap v5.
MIT License
21 stars 12 forks source link

Call to undefined function backpack_theme_config() #52

Closed onktak closed 1 year ago

onktak commented 1 year ago

Hello,

backpack_theme_config() is undefined on a fresh installation of backpack.

Write your answer here.

php : 8.2 Database : MySQL

"require": {
        "php": "^8.0",
        "backpack/crud": "^5.6",
        "backpack/pro": "^1.6",
        "backpack/theme-tabler": "1.0.x-dev",
        "fruitcake/laravel-cors": "^2.0.5",
        "guzzlehttp/guzzle": "^7.2",
        "laravel/framework": "^9.0",
        "laravel/sanctum": "^2.14",
        "laravel/tinker": "^2.7"
    },
    "require-dev": {
        "backpack/generators": "^3.3",
        "fakerphp/faker": "^1.9.1",
        "laravel/sail": "^1.0.1",
        "mockery/mockery": "^1.4.4",
        "nunomaduro/collision": "^6.1",
        "phpunit/phpunit": "^9.5.10",
        "spatie/laravel-ignition": "^1.0"
    },

When I run php artisan backpack:version the output is:

backpack/basset: 0.15.0 backpack/crud: 5.6.1 backpack/generators: 3.3.16 backpack/pro: 1.6.4 backpack/theme-tabler: dev-main

pxpm commented 1 year ago

Hello @onktak

To use backpack v6 beta please follow the installation guide for v6: https://backpackforlaravel.com/docs/6.x/installation https://backpackforlaravel.com/docs/6.x/upgrade-guide

NOTE: they are not 100% complete, we still in beta!

Also note you are requiring twice the theme-tabler, and requiring backpack 5.6 (backpack_theme_config() is only available in v6).

Cheers

onktak commented 1 year ago

Thank you, I am making a production application so I will remove the package for now.

pxpm commented 1 year ago

v6 final release will be in a month, so if you are developing now it's a good thing to start with the most up-to-date version. We are not pushing more breaking changes into v6.

It's in beta but should be pretty stable to use 🙏

onktak commented 1 year ago

Thank you for the update. I happy with that, I will start using v6 and report if I experience any issues.