Navigation

    Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Alex81
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Alex81

    @Alex81

    0
    Reputation
    3
    Posts
    6
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Alex81 Follow

    Posts made by Alex81

    • Does not work in production

      Hi!
      I'm trying to migrate the project to production and I can't, it generates this error:

      file_put_contents (J: \ xampp \ htdocs \ bagisto \ storage \ framework / sessions / ftPnX9yBGgW1xZuxzAKMfZ72mCp5nMUxoczclL3S): failed to open stream: No such file or directory
      

      It should be noted that I already did
      composer dump-autoload
      php artisan config: cache

      I hope you can help me.

      First of all, Thanks.

      posted in Installing Bagisto
      A
      Alex81
    • RE: Scope Laravel

      @devansh-webkul Hi!
      This is to make a report, but I have already managed to do it, thank you very much.

      posted in General Discussion
      A
      Alex81
    • Scope Laravel

      Hello, it's a pleasure to greet everyone in the forum.
      I would like to know how I can use Laravel's Scope function in Bagisto, since I have tried to use it normally to make reports and it generates this error.

      TypeError thrown with message "Argument 1 passed to Symfony \ Component \ HttpFoundation \ Response :: setContent () must be of the type string or null, object given, called in J: \ xampp \ htdocs \ bagisto \ vendor \ laravel \ framework \ src \ Illuminate \ Http \ Response.php on line 65 "
      Model:

      public function scopeAccountPeriod($query, $period)
      {
          if ($period != '') {
                $sdate = Carbon::parse('last monday')->subWeek(1)->toDateString();
                $edate = Carbon::parse('last monday')->toDateString();
                return $result = $query->whereBetween('account_pays.created_at', [$sdate,$edate])->orderby('account_pays.id', 'DESC');
          }
      }
      
      

      Beforehand thank you very much.

      posted in General Discussion
      A
      Alex81