Attempting to use the cv command on a Joomla 5 installation. I'm calling the command as follows using the www-data user:
$ cv api job.execute --user=cronuser cwd=/var/www/joomla
and receiving the following error:
In Joomla.php line 651:
Attempted to load class "JFactory" from the global namespace.
Did you forget a "use" statement?
Please advise, as this is putting a hold on the implementation.
Thank you