Module is not Mentioned inside Composer.json

Laraship QuestionsCategory: TechnicalModule is not Mentioned inside Composer.json
petewal2014 asked 6 years ago
App is using following module and composer .json dodes not metioned following module those are giving errors. its very frustrating for us local.ERROR: Trait 'CviebrockEloquentSluggableSluggable' not found {"userId":1,"email":"superuser@corals.io","exception":"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 1): Trait 'Cviebrock\EloquentSluggable\Sluggable' not found at /home/wwfishinginfo/public_html/Corals/modules/Directory/Models/Listing.php:25) [stacktrace] 0 {main} "} [2018-11-20 07:06:24] local.ERROR: Class 'TorannCurrencyCurrencyServiceProvider' not found {"userId":1,"email":"superuser@corals.io","exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class 'Torann\Currency\CurrencyServiceProvider' not found at /home/wwfishinginfo/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:635) [stacktrace]
2 Answers
Best Answer
laraship Staff answered 6 years ago

Hello,

As Expected you have messed up composer.json file !

We have restored the composer.json file and run composer update and every thing work flawlessly.

Please note that fixes like this weill be chargeable next time as you per our terms , the customizations you're making that causes issues to the applications wont be supported and your platform will be out of warranty.

You should have referred to us before making such changes, we have tested the system carefully before launching it to clients.

https://www.screencast.com/t/ImPwygpwQGtl

laraship Staff answered 6 years ago

Hello, Each module has his composer.json where you can add the dependancies related there, not all modules are under root modules.json.

Torran Currency is under Payment Module.

Sluggable is under Utilities Module

petewal2014 replied 6 years ago

Once I tried to install payment module giving error :

local.ERROR: Class 'Torann\Currency\CurrencyServiceProvider' not found {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Class 'Torann\\Currency\\CurrencyServiceProvider' not found at /home/wwfishinginfo/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:208)
[stacktrace]

And Also

Most of The page links does not working

specially isting pages:

please ehck following links
https://worldwidefishinginfo.com/listings
https://worldwidefishinginfo.com/listings?search=&sort=&category=

laraship Staff replied 6 years ago

You need to run composer update

petewal2014 replied 6 years ago

I already updated 10-20 times

petewal2014 replied 6 years ago

nothing happend

petewal2014 replied 6 years ago

can I send you server info? Will you setup my app in your end? i am frustrated with your services

laraship Staff replied 6 years ago

You must have made changes on your side then to make it not working, send us the server details at info@corals.io

petewal2014 replied 6 years ago

i am sending you a server info

petewal2014 replied 6 years ago

Did you get server info? i already sent you couple of hrs ago

laraship Staff replied 6 years ago

Already replied, please check above

petewal2014 replied 6 years ago

your last massages : You must have made changes on your side then to make it not working, send us the server details at info@corals.io

petewal2014 replied 6 years ago

I want to confirm from your side. site is setup now? we can use or you are sill working on server