This thread is resolved. Here is a description of the problem and solution.
Warning: scandir(): S3_Uploads_Stream_Wrapper::dir_readdir is not implemented! in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php on line 175 Fatal error: Uncaught exception 'Aws\S3\Exception\S3Exception' with message 'Error executing "ListObjects" on "https://s3-eu-west-1.amazonaws.com/
Does it help if I tell you that this function is responsible for custom wpml language switcher templates. It scans directories $dirs_to_scan defined in the function above that – init_available_templates().
You will also find this above:
/** * Filter the directories to scan * * @param array $dirs_to_scan */ $dirs_to_scan = apply_filters( 'wpml_ls_directories_to_scan', $dirs_to_scan );
Second tier also suggested that you try commenting that code, since the filter I suggested above does not actually remove any of that ( because it is being called before these directories are being initialized), so you can use it to add your own directories while commenting and hence disabling the original WPML code, maybe it will work.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.