D
D
Dmitry2021-12-07 11:12:38
Yii
Dmitry, 2021-12-07 11:12:38

Why is the class not visible from the vendor folder?

Installed the unisender package via composer, specified use Unisender\ApiWrapper\UnisenderApi in the controller; namespace in controller - namespace frontend\controllers; when instantiating $result= new Unisender() FATAL occurs: invalid class name Unisender\ApiWrapper\UnisenderApi screenshot attached below. Also in the console there was a 500 error with the text that the script is trying to access the frontend\controllers\Unisender\ApiWrapper\UnisenderApi class, although it is in the vendor folder61af184254b96265268872.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lander, 2021-12-07
@usdglander

\Unisender\ApiWrapper\UnisenderApi?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question