‘Call to a member function exists() on boolean’ AmazonAI-PollyService.php:304
-
We have tested this plugin successfully in our development environment but are experiencing issues when moved into production (environment with limited permissions) — specifically with the
$wp_filesystem
instance.It seems the S3 bucket is created successfully, but when trying to create the mp3 files, an exception is thrown then nothing is written. The end result is that the S3 bucket is empty and we are experiencing two consistent errors:
ERROR:
Uncaught exception 'Error' with message 'Call to a member function exists() on boolean' in /wp-content/plugins/amazon-polly/admin/AmazonAI-PollyService.php:304
ERROR:
Uncaught exception 'Error' with message 'Call to a member function delete() on boolean' in /wp-content/plugins/amazon-polly/admin/AmazonAI-LocalFileHandler.php:40
Are there any work around for this issue or specific steps to remedy WP Filesystem API permissions?
Thanks
- The topic ‘‘Call to a member function exists() on boolean’ AmazonAI-PollyService.php:304’ is closed to new replies.