pastvne
Bruce Decker
I realize this is really a Joomla question but I've, so far, been unable to get an answer on Joomla's doc site or forums. I have some eval code that was working in J3:
And I see this Fabrik 3 forum post from Troester: https://www.fabrikar.com/forums/ind...lement-with-validation-php.51554/#post-269224
This now throws this error (which seems to be unrelated) if I call that method:
It is odd, because I'm not calling the getUser method but if comment out the call to the removeUserFromGroup method, the error goes away.
Anyone in this forum know where I might look to learn more about where this method went in J4?
Best,
Bruce
Code:
$cspResult = JUserHelper::removeUserFromGroup($thisUserId, $thisGroupId);
And I see this Fabrik 3 forum post from Troester: https://www.fabrikar.com/forums/ind...lement-with-validation-php.51554/#post-269224
This now throws this error (which seems to be unrelated) if I call that method:
An error has occurred with a eval'd field - please inform the web-site owner. Debug: Caught exception on eval of : Joomla\CMS\Factory::getUser() is deprecated. Load the user from the dependency injection container or via Joomla\CMS\Factory::getApplication()->getIdentity().
It is odd, because I'm not calling the getUser method but if comment out the call to the removeUserFromGroup method, the error goes away.
Anyone in this forum know where I might look to learn more about where this method went in J4?
Best,
Bruce
Last edited: