Troubleshooting Importing

FreshBooks import stuck on 0%

Upon attempting an import from Freshbooks the import may stall and you're error logs will report something like this...

FastCGI sent in stderr: "PHP message: PHP Fatal error: Class 'XmlDomConstruct' not found in ... while reading response header from upstream, client: 2001:470:8c62:beef:8eae:4cff:feff:160c, server: localhost, request: "POST /wp-admin/admin-ajax.php HTTP/1.0", upstream: ...

This is the result of the bundled FreshBooks API library using PHP short tags. You can either adjust the XmlDocumentConstruct library or turn on short_opentags within your PHP configuration.