Support » Plugin: AWS for WordPress » ‘Call to a member function exists() on boolean’ AmazonAI-PollyService.php:304

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor tstachlewski

    (@tstachlewski)

    Hi,
    No – there is not. The solution is working like this that the final file will be saved on S3, but intermediate files might be temporary saved on the server itself – in a situation when the code doesn’t have the right permission – it won’t work properly unfortunately.

    Plugin Contributor tstachlewski

    (@tstachlewski)

    Closing.

    Adding FS_METHOD to wp-config.php solved the issues I was having.

    
    // worked
    define('FS_METHOD','direct');
    

    At first I went the route of FTP user, but locking the user access to a subdirectory broke again as the plugin kept requesting an absolute path no matter what. Even adding the paths in the config did not help in my case.

    
    // updating paths did not help
    define( 'FTP_BASE', '/path/to/wordpress/' );
    define( 'FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/' );
    define( 'FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/' );
    define( 'FTP_USER', 'username' );
    define( 'FTP_PASS', 'password' );
    define( 'FTP_HOST', 'ftp.example.org' );
    define( 'FTP_SSL', false );
    

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘‘Call to a member function exists() on boolean’ AmazonAI-PollyService.php:304’ is closed to new replies.