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

When will the Bajitsu 2.1.2 version be released? #247

Open
imanbahmani opened this issue Apr 1, 2024 · 6 comments
Open

When will the Bajitsu 2.1.2 version be released? #247

imanbahmani opened this issue Apr 1, 2024 · 6 comments

Comments

@imanbahmani
Copy link

I have version 2.1.2 and I'm having trouble installing it through Composer
I wanted to know when a version compatible with this version will be released?

@imanbahmani
Copy link
Author

please help me about this

@AHMED-GAMAL-AG
Copy link

i have the same problem @vivek-webkul ?

installing using composer i get

Symfony\Component\ErrorHandler\Error\FatalError

  Declaration of Webkul\GraphQLAPI\Models\CatalogRule\CatalogRule::catalog_rule_products() must be compatible with Webkul\CatalogRule\Models\CatalogRule::catalog_rule_products(): Illuminate\Database\Eloquent\Relations\HasMany

  at vendor\bagisto\graphql-api\src\Models\CatalogRule\CatalogRule.php:14
     10▕ {
     11▕     /**
     12▕      * Get the Catalog rule Product that owns the catalog rule.
     13▕      */
  ➜  14▕     public function catalog_rule_products()
     15▕     {
     16▕         return $this->hasMany(CatalogRuleProductProxy::modelClass());
     17▕     }
     18▕


   Whoops\Exception\ErrorException

  Declaration of Webkul\GraphQLAPI\Models\CatalogRule\CatalogRule::catalog_rule_products() must be compatible with Webkul\CatalogRule\Models\CatalogRule::catalog_rule_products(): Illuminate\Database\Eloquent\Relations\HasMany

  at vendor\bagisto\graphql-api\src\Models\CatalogRule\CatalogRule.php:14
     10▕ {
     11▕     /**
     12▕      * Get the Catalog rule Product that owns the catalog rule.
     13▕      */
  ➜  14▕     public function catalog_rule_products()
     15▕     {
     16▕         return $this->hasMany(CatalogRuleProductProxy::modelClass());
     17▕     }
     18▕

  1   vendor\filp\whoops\src\Whoops\Run.php:510
      Whoops\Run::handleError("Declaration of Webkul\GraphQLAPI\Models\CatalogRule\CatalogRule::catalog_rule_products() must be compatible with Webkul\CatalogRule\Models\CatalogRule::catalog_rule_products(): Illuminate\Database\Eloquent\Relations\HasMany", "C:\Users\ahmed\Herd\bagisto\vendor\bagisto\graphql-api\src\Models\CatalogRule\CatalogRule.php")

  2   [internal]:0
      Whoops\Run::handleShutdown()

PHP Fatal error:  Declaration of Webkul\GraphQLAPI\Models\CatalogRule\CatalogRule::catalog_rule_products() must be compatible with Webkul\CatalogRule\Models\CatalogRule::catalog_rule_products(): Illuminate\Database\Eloquent\Relations\HasMany in C:\Users\ahmed\Herd\bagisto\vendor\bagisto\graphql-api\src\Models\CatalogRule\CatalogRule.php on line 14
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255

@Anmol-Chauhan
Copy link
Collaborator

@AHMED-GAMAL-AG, I have checked and there is no such issue if you use Bagisto v2.0.0 and GraphQL v2.0.0, all is working fine. APIs are not compatible with the latest version of bagisto, The Team is working on it and will provide the updated APIs soon.

Screenshot from 2024-05-08 11-21-15
Screenshot from 2024-05-08 11-20-41
Screenshot from 2024-05-08 11-20-22

@Anmol-Chauhan
Copy link
Collaborator

@imanbahmani, The Team is working on it and will provide the updated APIs soon.

@imanbahmani
Copy link
Author

@imanbahmani, The Team is working on it and will provide the updated APIs soon.

It will be fully updated in about two weeks?

@Anmol-Chauhan
Copy link
Collaborator

@imanbahmani, In two weeks, we will update the front end completely.

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

3 participants