Receive error exception using xampp with wordpress

Andrew: As already mentioned, your curl call seems to be returning FALSE. It also appears than when you try to create a SimpleXML element with a boolean FALSE that it throws the exception you are seeing. I have also had problems accessing APIs via curl when on my localhost. I was able to solve it … Read more

Problems with creating hook that updates XML

The 1 character output error is probably because you have a single space before <?php or after ?>. As far as it not doing anything, where is the fruits.xml file? this line: $xml->load(‘fruits.xml’); in this context is looking for the file at: /your/server/path/to/wp-admin/fruits.xml Which I assume is not what you’re expecting. Have a look at … Read more

parse XML from URL (via SOAP)

Lots of places in WordPress use xml_parse including the Atom library, the XML-RPC Library that we use, and SimplePie The oembed class uses SimpleXML. The WordPress Importer and Jetpack actually use both (Jetpack for different things, and the importer tries to use SimpleXML and falls back if it doesn’t exist). Basically, there’s nothing built into … Read more