• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Help url bagisto

General Discussion
2
3
487
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    fajar last edited by 27 Dec 2024, 02:49

    Uncaught Error: Call to a member function url() on null in /mnt/sdc/inv/packages/Webkul/Theme/src/Themes.php:246
    Stack trace:
    #0 /mnt/sdc/inv/packages/Webkul/Theme/src/Http/helpers.php(25): Webkul\Theme\Themes->url()
    #1 /mnt/sdc/inv/storage/framework/views/76fa426b48c0efcd2d36c0b24ffabe38.php(69): bagisto_asset()
    #2 /mnt/sdc/inv/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('...')
    #3 /mnt/sdc/inv/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem{closure}()
    #4 /mnt/sdc/inv/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire()
    #5 /mnt/sdc/inv/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(72): Illuminate\View\Engines\PhpEngine->evaluatePath()

    1 Reply Last reply Reply Quote 0
    • Rishabh-Webkul
      Rishabh-Webkul last edited by 27 Dec 2024, 10:19

      Hello @fajar

      Have you made any changes in your themes.php file kindly confirm ?

      Might be there is a cache issue or a path issue. Did you activate your theme from the channel?

      Thanks & Regards

      F 1 Reply Last reply 30 Dec 2024, 03:21 Reply Quote 0
      • F
        fajar @Rishabh-Webkul last edited by 30 Dec 2024, 03:21

        @Rishabh-Webkul
        no, I never touched the theme.php or theme.php file but the error from the laravel log always appears as follows:

        2024-12-28 13:34:00 production Call to a member function url() on null (View: /mnt/sdc/inv/packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php) (View: /mnt/sdc/inv/packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php) Log index 136. Click the button to copy link to this log entry.
        136
        Call to a member function url() on null (View: /mnt/sdc/inv/packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php) (View: /mnt/sdc/inv/packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php)
        Context:

        {
        "exception": "[object] (Illuminate\View\ViewException(code: 0): Call to a member function url() on null (View: /mnt/sdc/inv/packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php) (View: /mnt/sdc/inv/packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php) at /mnt/sdc/inv/packages/Webkul/Theme/src/Themes.php:246)
        [stacktrace]
        #0 /mnt/sdc/inv/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException()
        #1 /mnt/sdc/inv/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(72): Illuminate\View\Engines\PhpEngine->evaluatePath()

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post