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
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.
Sign up to join this communityPlease 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
The problem is solved. It was necessary to put a slash.
$elements = new \SimpleXMLElement($xml);