Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempted to load class "JFactory" from the global namespace. Did you forget a "use" statement? #192

Open
lgwapnitsky opened this issue Apr 9, 2024 · 1 comment

Comments

@lgwapnitsky
Copy link

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

@colemanw
Copy link
Member

colemanw commented Apr 9, 2024

Joomla 5 compatibility issues are being tracked here: https://lab.civicrm.org/dev/joomla/-/issues/54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants