Free Support Forum - aspose.cloud

WordPress Posts to DOCX conversion with Aspose.Words Exporter WordPress Plugin not working

I installed the plugin, but get this message:
Warning : tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/sites/site45949/) in /home/sites/site45949/web/wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/ObjectSerializer.php on line 270

Warning : fopen(): Filename cannot be empty in /home/sites/site45949/web/wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/ObjectSerializer.php on line 273

Warning : fwrite() expects parameter 1 to be resource, bool given in /home/sites/site45949/web/wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/ObjectSerializer.php on line 275

Warning : fclose() expects parameter 1 to be resource, bool given in /home/sites/site45949/web/wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/ObjectSerializer.php on line 277

Fatal error : Uncaught RuntimeException: SplFileObject::__construct(): Filename cannot be empty in /home/sites/site45949/web/wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/ObjectSerializer.php:279 Stack trace: #0 /home/sites/site45949/web/wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/ObjectSerializer.php(279): SplFileObject->__construct(’’, ‘r’) #1 /home/sites/site45949/web/wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/WordsApi.php(1780): Aspose\Words\ObjectSerializer::deserialize(Object(GuzzleHttp\Psr7\Stream), ‘\SplFileObject’, Array) #2 /home/sites/site45949/web/wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/WordsApi.php(1721): Aspose\Words\WordsApi->convertDocumentWithHttpInfo(Object(GuzzleHttp\Psr7\Request)) #3 /home/sites/site45949/web/wp-content/plugins/aspose-doc-exporter/src/AsposeWordsExporter/ExportEngine.php(39): Aspose in /home/sites/site45949/web/wp-content/plugins/aspose-doc-exporter/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/ObjectSerializer.php on line 279

@chrisdorna

We are sorry for the inconvenience. We have tested and it is working fine at our end. Kindly deactivate and delete the plugin from the site and reinstall it. Please make sure that you are using the latest version of the plugin and fulfilling the installation requirement. Hopefully it will resolve the issue.

However, if the issue persists, then please check whether there any restrictions imposed by server on PHP environment like access to temp files, etc. If yes, please share all the restriction details.