Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
I added a product to the shopping cart without a problem. However when i click on the cart icon and then select view cart, i get the following error message:
Unexpected error: Undefined variable: album in 95-include-2.0.0-1-34-menu_9-admin.view-1.template on line 562
please help
Offline
.
Last edited by ryankenner (2018-09-21 13:46:38)
Offline
I can’t offer any specific help, but if you can post a link to a cart enabled album it could help in troubleshooting.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
The system is hosted locally and only has a local IP.... can't link to it.
I checked the cart log file and this is the error:
[21-Sep-2018 05:24:20] ERROR: Call to a member function getType() on unknown|#0 /Applications/MAMP/htdocs/backlight/modules/module-designer/application/helpers/CacheHelper.php(62): require_once()#1 /Applications/MAMP/htdocs/backlight/modules/module-designer/application/models/GenericEngine.php(575): CacheHelper::includeCachedFile('95-include-2.0....', Array)#2 /Applications/MAMP/htdocs/backlight/modules/module-designer/application/helpers/EngineFactory.php(174): GenericEngine->renderView('page', Object(EngineFactory))#3 /Applications/MAMP/htdocs/backlight/modules/module-framework/helpers/ViewHelper.php(14): EngineFactory->renderViewForApp('1', 'cart/cart', Array, Array, Array)#4 /Applications/MAMP/htdocs/backlight/modules/module-cart/application/controllers/CartController.php(796): ViewHelper::renderBacklightInclude('cart/cart', Array, '1', Array, Array)#5 /Applications/MAMP/htdocs/backlight/modules/module-cart/application/controllers/CartController.php(35): CartController->renderInclude('cart/cart', Array, '1')#6 /Applications/MAMP/htdocs/backlight/modules/module-framework/controllers/Controller.php(56): CartController->index()#7 /Applications/MAMP/htdocs/backlight/modules/module-framework/models/Dispatchable.php(135): Controller->dispatch(Array)#8 /Applications/MAMP/htdocs/backlight/modules/module-framework/Framework.php(73): Dispatchable->dispatch()#9 /Applications/MAMP/htdocs/backlight/index.php(32): Framework->route()#10 {main}|URL: /backlight/index.php
Offline
Can you find the file backlight/data/designer/cache/ 95-include-2.0.0-1-34-menu_9-admin.view-1.template via FTP and email it to me?
If that filename has changed since you first created this thread, then whatever the latest filename in the error is. Also, *after you've sent it to me*, can you try clearing your template cache (Designe > Templates > Clear Template Cache) and see if that resolves it?
Offline
Hi Ryan, thanks for the file. Are you logged in as admin and using the Auto Refresh function? (enabled by clicking the refresh icon in the footer).
There's a bug there that I encountered a while ago but had not yet got a chance to look into. Can you provide the URL of the page you're on when the error occurs, either here or via email?
Offline
Also, to make sure this isn't impacting your site users, please try that link in another browser or private window.
Offline
Disabling Auto Refresh (clicking on the button) worked. I can now view the cart.
THANK YOU!!!!
Offline
Pages: 1