Extension list

Skip to main content

List of all our extensions

Create an account

PC Product > Multiple Items Gallery Source is not returning list of images

I noticed that when setting up a multiple items source on a YooThemePro element such as List, or Gallery, and set the items source to PC Product > Multiple Items: PC Product Gallery, there's no output, even though there definitely are multiple images specified for the product.

I also use Essentials by Zoolanders and I was able to add a custom DB source for the  _phocacart_product_images table, from where I was able to create a dynamic match by filtering by Product ID and then get the relevant image filenames as a multiple item list, which then just need prepending with the phocacart images folder structure to work in a gallery element, but this seems to be a bug in PCuikit and this should probably work out of the box without needing any 3rd party workarounds.

I would appreciate if you could look into that.

 
 
Last Edit:4 months 1 week ago by toby07801
Last edit: 4 months 1 week ago by toby07801.

Please Log in or Create an account to join the conversation.

 We have tested the PC product gallery multiple content source in our demo site seems all works good. If you faced issues kindly share the site credentials for testing. Thank you
 

For urgent help please create a support ticket extensions.joomlapro.com/support/tickets

Please Log in or Create an account to join the conversation.

I have opened a ticket on your support system with example URL and site credentials.

Please Log in or Create an account to join the conversation.

I've set up two elements (Gallery / List) using the default PCuikit multiple images source setup like in your example at the bottom of my Phoca Product template for you to test with.

 

Please Log in or Create an account to join the conversation.

There's also a notification with a callstack and an error shown, in case it helps:

Code:
{ "log": "Class \"JUri\" not found" }


#0 /var/www/html/templates/yootheme/packages/graphql/src/Utils/Middleware.php(37): JPPCDynmic\Source\PCProduct\PCProductGalleryType::product_image('uvex-revolt/csm...', Array, Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo))
#1 /var/www/html/templates/yootheme/packages/graphql/src/SchemaBuilder.php(317): YOOtheme\GraphQL\Utils\Middleware->__invoke('uvex-revolt/csm...', Array, Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo))
#2 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(744): YOOtheme\GraphQL\SchemaBuilder->resolveField('uvex-revolt/csm...', Array, Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo))
#3 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(652): YOOtheme\GraphQL\Executor\ReferenceExecutor->resolveFieldValueOrError(Object(YOOtheme\GraphQL\Type\Definition\FieldDefinition), Object(YOOtheme\GraphQL\Language\AST\FieldNode), Array, Array, 'uvex-revolt/csm...', Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo), Object(ArrayObject))
#4 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(1365): YOOtheme\GraphQL\Executor\ReferenceExecutor->resolveField(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), 'uvex-revolt/csm...', Object(ArrayObject), 'product_image', Array, Array, Object(ArrayObject))
#5 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(1304): YOOtheme\GraphQL\Executor\ReferenceExecutor->executeFields(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), 'uvex-revolt/csm...', Array, Array, Object(ArrayObject), Object(ArrayObject))
#6 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(1255): YOOtheme\GraphQL\Executor\ReferenceExecutor->collectAndExecuteSubfields(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Object(ArrayObject), Array, Array, 'uvex-revolt/csm...', Object(ArrayObject))
#7 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(928): YOOtheme\GraphQL\Executor\ReferenceExecutor->completeObjectValue(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo), Array, Array, 'uvex-revolt/csm...', Object(ArrayObject))
#8 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(783): YOOtheme\GraphQL\Executor\ReferenceExecutor->completeValue(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo), Array, Array, 'uvex-revolt/csm...', Object(ArrayObject))
#9 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(1025): YOOtheme\GraphQL\Executor\ReferenceExecutor->completeValueCatchingError(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo), Array, Array, 'uvex-revolt/csm...', Object(ArrayObject))
#10 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(906): YOOtheme\GraphQL\Executor\ReferenceExecutor->completeListValue(Object(YOOtheme\GraphQL\Type\Definition\ListOfType), Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo), Array, Array, Array, Object(ArrayObject))
#11 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(783): YOOtheme\GraphQL\Executor\ReferenceExecutor->completeValue(Object(YOOtheme\GraphQL\Type\Definition\ListOfType), Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo), Array, Array, Array, Object(ArrayObject))
#12 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(662): YOOtheme\GraphQL\Executor\ReferenceExecutor->completeValueCatchingError(Object(YOOtheme\GraphQL\Type\Definition\ListOfType), Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo), Array, Array, Array, Object(ArrayObject))
#13 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(1365): YOOtheme\GraphQL\Executor\ReferenceExecutor->resolveField(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Object(stdClass), Object(ArrayObject), 'productgallery', Array, Array, Object(ArrayObject))
#14 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(1304): YOOtheme\GraphQL\Executor\ReferenceExecutor->executeFields(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Object(stdClass), Array, Array, Object(ArrayObject), Object(ArrayObject))
#15 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(1255): YOOtheme\GraphQL\Executor\ReferenceExecutor->collectAndExecuteSubfields(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Object(ArrayObject), Array, Array, Object(stdClass), Object(ArrayObject))
#16 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(928): YOOtheme\GraphQL\Executor\ReferenceExecutor->completeObjectValue(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo), Array, Array, Object(stdClass), Object(ArrayObject))
#17 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(783): YOOtheme\GraphQL\Executor\ReferenceExecutor->completeValue(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo), Array, Array, Object(stdClass), Object(ArrayObject))
#18 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(662): YOOtheme\GraphQL\Executor\ReferenceExecutor->completeValueCatchingError(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Object(ArrayObject), Object(YOOtheme\GraphQL\Type\Definition\ResolveInfo), Array, Array, Object(stdClass), Object(ArrayObject))
#19 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(1365): YOOtheme\GraphQL\Executor\ReferenceExecutor->resolveField(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Array, Object(ArrayObject), 'productDet', Array, Array, Object(ArrayObject))
#20 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(310): YOOtheme\GraphQL\Executor\ReferenceExecutor->executeFields(Object(YOOtheme\GraphQL\Type\Definition\ObjectType), Array, Array, Array, Object(ArrayObject), Object(ArrayObject))
#21 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/ReferenceExecutor.php(249): YOOtheme\GraphQL\Executor\ReferenceExecutor->executeOperation(Object(YOOtheme\GraphQL\Language\AST\OperationDefinitionNode), Array)
#22 /var/www/html/templates/yootheme/packages/graphql/lib/Executor/Executor.php(184): YOOtheme\GraphQL\Executor\ReferenceExecutor->doExecute()
#23 /var/www/html/templates/yootheme/packages/graphql/lib/GraphQL.php(163): YOOtheme\GraphQL\Executor\Executor::promiseToExecute(Object(YOOtheme\GraphQL\Executor\Promise\Adapter\SyncPromiseAdapter), Object(YOOtheme\GraphQL\Type\Schema), Object(YOOtheme\GraphQL\Language\AST\DocumentNode), Array, Object(ArrayObject), NULL, NULL, NULL)
#24 /var/www/html/templates/yootheme/packages/graphql/lib/GraphQL.php(97): YOOtheme\GraphQL\GraphQL::promiseToExecute(Object(YOOtheme\GraphQL\Executor\Promise\Adapter\SyncPromiseAdapter), Object(YOOtheme\GraphQL\Type\Schema), Object(YOOtheme\GraphQL\Language\AST\DocumentNode), Array, Object(ArrayObject), NULL, NULL, NULL, Array)
#25 /var/www/html/templates/yootheme/packages/builder-source/src/Source.php(71): YOOtheme\GraphQL\GraphQL::executeQuery(Object(YOOtheme\GraphQL\Type\Schema), Object(YOOtheme\GraphQL\Language\AST\DocumentNode), Array, Object(ArrayObject), NULL, NULL, NULL, Array)
#26 /var/www/html/templates/yootheme/packages/builder-source/src/Source/SourceTransform.php(121): YOOtheme\Builder\Source->query(Object(YOOtheme\GraphQL\Language\AST\DocumentNode), Array, Object(ArrayObject), NULL, NULL, NULL, Array)
#27 /var/www/html/templates/yootheme/packages/builder-source/src/Source/SourceTransform.php(69): YOOtheme\Builder\Source\SourceTransform->querySource(Object(stdClass), Array)
#28 /var/www/html/templates/yootheme/packages/builder/src/Builder.php(277): YOOtheme\Builder\Source\SourceTransform->prerender(Object(stdClass), Array)
#29 /var/www/html/templates/yootheme/packages/builder/src/Builder.php(290): YOOtheme\Builder->applyTransforms('render', Object(stdClass), Array)
#30 /var/www/html/templates/yootheme/packages/builder/src/Builder.php(290): YOOtheme\Builder->applyTransforms('render', Object(stdClass), Array)
#31 /var/www/html/templates/yootheme/packages/builder/src/Builder.php(290): YOOtheme\Builder->applyTransforms('render', Object(stdClass), Array)
#32 /var/www/html/templates/yootheme/packages/builder/src/Builder.php(290): YOOtheme\Builder->applyTransforms('render', Object(stdClass), Array)
#33 /var/www/html/templates/yootheme/packages/builder/src/Builder.php(290): YOOtheme\Builder->applyTransforms('render', Object(stdClass), Array)
#34 /var/www/html/templates/yootheme/packages/builder/src/Builder.php(106): YOOtheme\Builder->applyTransforms('render', Object(stdClass), Array)
#35 /var/www/html/templates/yootheme/packages/builder/src/Builder.php(123): YOOtheme\Builder->load('{"type":"layout...', Array)
#36 /var/www/html/templates/yootheme/packages/builder-joomla-source/src/Listener/LoadTemplate.php(87): YOOtheme\Builder->render('{"type":"layout...', Array)
#37 /var/www/html/templates/yootheme/packages/container/src/Container.php(229): YOOtheme\Builder\Joomla\Source\Listener\LoadTemplate->handle(Object(YOOtheme\Theme\Joomla\LoadTemplateEvent))
#38 /var/www/html/templates/yootheme/packages/application/src/Application/EventLoader.php(66): YOOtheme\Container->call('YOOtheme\\Builde...', Array)
#39 /var/www/html/libraries/vendor/joomla/event/src/Dispatcher.php(454): YOOtheme\Application\EventLoader->{closure:YOOtheme\Application\EventLoader::addListener():64}(Object(YOOtheme\Theme\Joomla\LoadTemplateEvent))
#40 /var/www/html/templates/yootheme/packages/theme-joomla/src/Listener/LoadTemplate.php(45): Joomla\Event\Dispatcher->dispatch('onLoadTemplate', Object(YOOtheme\Theme\Joomla\LoadTemplateEvent))
#41 /var/www/html/templates/yootheme/packages/theme-joomla/src/StreamWrapper.php(59): YOOtheme\Theme\Joomla\Listener\LoadTemplate->{closure:YOOtheme\Theme\Joomla\Listener\LoadTemplate::handle():39}('views://0000000...')
#42 [internal function]: YOOtheme\Theme\Joomla\StreamWrapper->url_stat('views://0000000...', 6)
#43 /var/www/html/libraries/vendor/joomla/filesystem/src/Path.php(299): file_exists('views://0000000...')
#44 /var/www/html/libraries/src/MVC/View/HtmlView.php(394): Joomla\Filesystem\Path::find(Array, 'default.php')
#45 /var/www/html/libraries/src/MVC/View/HtmlView.php(204): Joomla\CMS\MVC\View\HtmlView->loadTemplate(NULL)
#46 /var/www/html/components/com_phocacart/views/item/view.html.php(306): Joomla\CMS\MVC\View\HtmlView->display(NULL)
#47 /var/www/html/libraries/src/MVC/Controller/BaseController.php(697): PhocaCartViewItem->display()
#48 /var/www/html/components/com_phocacart/controller.php(53): Joomla\CMS\MVC\Controller\BaseController->display(false, Array)
#49 /var/www/html/libraries/src/MVC/Controller/BaseController.php(730): PhocaCartController->display()
#50 /var/www/html/components/com_phocacart/phocacart.php(18): Joomla\CMS\MVC\Controller\BaseController->execute('')
#51 /var/www/html/libraries/src/Dispatcher/LegacyComponentDispatcher.php(71): require_once('/var/www/html/c...')
#52 /var/www/html/libraries/src/Dispatcher/LegacyComponentDispatcher.php(73): Joomla\CMS\Dispatcher\LegacyComponentDispatcher::{closure:Joomla\CMS\Dispatcher\LegacyComponentDispatcher::dispatch():70}('/var/www/html/c...')
#53 /var/www/html/libraries/src/Component/ComponentHelper.php(361): Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()
#54 /var/www/html/libraries/src/Application/SiteApplication.php(217): Joomla\CMS\Component\ComponentHelper::renderComponent('com_phocacart')
#55 /var/www/html/libraries/src/Application/SiteApplication.php(271): Joomla\CMS\Application\SiteApplication->dispatch()
#56 /var/www/html/libraries/src/Application/CMSApplication.php(320): Joomla\CMS\Application\SiteApplication->doExecute()
#57 /var/www/html/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#58 /var/www/html/index.php(51): require_once('/var/www/html/i...')
#59 {main}
Last Edit:4 months 1 week ago by toby07801
Last edit: 4 months 1 week ago by toby07801.

Please Log in or Create an account to join the conversation.

Time to create page: 0.321 seconds
Powered by Kunena Forum