Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Authentication from store failed #1035

Closed
theanh8898 opened this issue Dec 15, 2021 · 4 comments
Closed

Authentication from store failed #1035

theanh8898 opened this issue Dec 15, 2021 · 4 comments

Comments

@theanh8898
Copy link

TypeError
Osiset\ShopifyApp\Storage\Observers\Shop::creating(): Argument #1 ($shop) must be of type Osiset\ShopifyApp\Contracts\ShopModel, App\Models\User given, called in /home/theanhhp/Documents/shopify_app/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php on line 424

Failure Logs
TypeError
Osiset\ShopifyApp\Storage\Observers\Shop::creating(): Argument #1 ($shop) must be of type Osiset\ShopifyApp\Contracts\ShopModel, App\Models\User given, called in /home/theanhhp/Documents/shopify_app/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php on line 424

Osiset\ShopifyApp\Storage\Observers\Shop::creating
vendor/ohmybrew/laravel-shopify/src/Storage/Observers/Shop.php:41

Osiset\ShopifyApp\Storage\Commands\Shop::make
vendor/ohmybrew/laravel-shopify/src/Storage/Commands/Shop.php:53

Illuminate\Database\Eloquent\Model::fireModelEvent
vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasEvents.php:189

@theanh8898
Copy link
Author

@osiset please help me!

@theanh8898
Copy link
Author

I tried following this tutorial (https://weeklyhow.com/shopify-app-development-with-laravel/) with my custom app and development store but when I choose store to install it shows the above error screen

@KimKJDesigns
Copy link

Try following the steps outlined in the wiki.

@theanh8898
Copy link
Author

Try following the steps outlined in the wiki.

oh, I followed the instructions and it worked, thank you very much

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants