chipperfield
New Member
Form has email plugin to send on submission.
Send is to email field on form, identified as placeholder.
Form submission fails with error:
An error has occurred with a eval'd field - please inform the web-site owner. Debug: Caught exception on eval in email emailto : Joomla\CMS\Factory::getLanguage() is deprecated. Load the language from the dependency injection container or via Joomla\CMS\Factory::getApplication()->getLanguage().
Eval for EmailTo is as below:
use Joomla\CMS\Factory;
$name = '{ltsc_entries___EmailAddress}';
// logic to allow for debug addresses....
return $name;
Send is to email field on form, identified as placeholder.
Form submission fails with error:
An error has occurred with a eval'd field - please inform the web-site owner. Debug: Caught exception on eval in email emailto : Joomla\CMS\Factory::getLanguage() is deprecated. Load the language from the dependency injection container or via Joomla\CMS\Factory::getApplication()->getLanguage().
Eval for EmailTo is as below:
use Joomla\CMS\Factory;
$name = '{ltsc_entries___EmailAddress}';
// logic to allow for debug addresses....
return $name;