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

Getting Error while selecting images for upload #9

Open
siripravi opened this issue Feb 29, 2024 · 1 comment
Open

Getting Error while selecting images for upload #9

siripravi opened this issue Feb 29, 2024 · 1 comment

Comments

@siripravi
Copy link

What steps will reproduce the problem?

In ActiveWindow popup, clicking the checkbox against to an image for selection, giving an eror.

What is the expected result?

The selected image should be added to the existing album.

What do you get instead? (A Screenshot can help us a lot!)

Error: Call to a member function toArray() on bool in C:\luyashopadmin\vendor\luyadev\luya-module-admin\src\aws\ImageSelectCollectionActiveWindow.php:144
Stack trace:
#0 C:\luyashopadmin\vendor\luyadev\luya-module-admin\src\aws\ImageSelectCollectionActiveWindow.php(202): luya\admin\aws\ImageSelectCollectionActiveWindow->getImageArray(223)
#1 [internal function]: luya\admin\aws\ImageSelectCollectionActiveWindow->callbackAddImageToIndex('62')
#2 C:\luyashopadmin\vendor\luyadev\luya-core\helpers\ObjectHelper.php(186): call_user_func_array(Array, Array)
#3 C:\luyashopadmin\vendor\luyadev\luya-module-admin\src\ngrest\render\RenderActiveWindowCallback.php(41): luya\helpers\ObjectHelper::callMethodSanitizeArguments(Object(luya\admin\aws\ImageSelectCollectionActiveWindow), 'callbackAddImag...', Array)
#4 C:\luyashopadmin\vendor\luyadev\luya-module-admin\src\ngrest\NgRest.php(55): luya\admin\ngrest\render\RenderActiveWindowCallback->render()
#5 C:\luyashopadmin\vendor\luyadev\luya-module-admin\src\ngrest\base\Api.php(750): luya\admin\ngrest\NgRest->render(Object(luya\admin\ngrest\render\RenderActiveWindowCallback))
#6 [internal function]: luya\admin\ngrest\base\Api->actionActiveWindowCallback()
#7 C:\luyashopadmin\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#8 C:\luyashopadmin\vendor\yiisoft\yii2\base\Controller.php(178): yii\base\InlineAction->runWithParams(Array)
#9 C:\luyashopadmin\vendor\yiisoft\yii2\base\Module.php(552): yii\base\Controller->runAction('active-window-c...', Array)
#10 C:\luyashopadmin\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('admin/api-galle...', Array)
#11 C:\luyashopadmin\vendor\luyadev\luya-core\web\Application.php(52): yii\web\Application->handleRequest(Object(luya\web\Request))
#12 C:\luyashopadmin\vendor\yiisoft\yii2\base\Application.php(384): luya\web\Application->handleRequest(Object(luya\web\Request))
#13 C:\luyashopadmin\vendor\luyadev\luya-core\base\Boot.php(251): yii\base\Application->run()
#14 C:\luyashopadmin\vendor\luyadev\luya-core\base\Boot.php(195): luya\base\Boot->applicationWeb()
#15 C:\luyashopadmin\public_html\index.php(8): luya\base\Boot->run()
#16 {main}

LUYA Check ouput (run this script and post the result: luyacheck.php)

Additional infos

Q A
LUYA Version
PHP Version
Platform Apache/XAMPP/MAMPP/etc.
Operating system Windows/Linux Server/OSX/etc.
@nadar
Copy link
Contributor

nadar commented Feb 29, 2024

what luya version do you use?

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

2 participants