0

Please tell me what the problem may be. I adapt the component for Joomla 4. I get this error, although everything should work.

Class '....\Component\....\Administrator\Model\SimpleXMLElement' not found
1
  • I see your error message, but I don't know what you did to "adapt the component for Joomla 4". Nov 28, 2021 at 8:05

1 Answer 1

0

The problem is solved. It was necessary to put a slash.

$elements = new \SimpleXMLElement($xml);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.