vmError: renderMail get Template failed: The selected vmtemplate is not existing

Started by gba, November 30, 2020, 17:12:08 PM

Previous topic - Next topic

gba

Hello!

VM 3.8.6.10373
Joomla!3.9.23

I am getting this error message on order done page:
"vmError: renderMail get Template failed: The selected vmtemplate is not existing"

I have no idea why.
I cannot even find the place in the source code, where this error is fired.
Could anyone, please, give me any useful hint, how I can find out the source of this error message?

Thank you very much in advance!

Kind regards,
Gerald

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

gba

Hi!

Thank you for your quick response!
The error message is appearing independently from the template - also with Beez3.
And the menu item concerned has no template set - just 'Use default'.

Why do I not find the error text anywhere in the source code?
If I would, maybe I could locate the error source ...

Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

components\com_virtuemart\helpers\vmtemplate.php

loadVmTemplateStyle()
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gba

Quote from: GJC Web Design on December 01, 2020, 10:38:25 AM
components\com_virtuemart\helpers\vmtemplate.php

loadVmTemplateStyle()

This function is firing other errors:
"vmError: renderMail get Template failed: Not able to load default template"
"vmError: loadVmTemplateStyle failed: Could not load default template style"



gba

In the past the shopfunctionsf.php seems to have had code firing exactly that error in function renderMail():189.
(see https://hotexamples.com/de/examples/-/VirtueMartControllerVirtuemart/-/php-virtuemartcontrollervirtuemart-class-examples.html#0xbfb5c242c7cf6554c2fcb4ae7d4454dabb02567eb97e7dd95e0049d896d1b1e0-141,,202,)

But now that function does not have that code anymore.
I am quite desperate, because I even cannot find the code firing that error message ...  :'(