the new .install file will create variable like amazons3_presigned_urls = ''; which cause below error.
Warning: Invalid argument supplied for foreach() in Drupal\amazons3\StreamWrapperConfiguration::fromDrupalVariables() (line 391 of /var/www/html/sites/all/modules/contrib/amazons3/src/StreamWrapperConfiguration.php).
Recoverable fatal error: Argument 1 passed to Drupal\amazons3\Matchable\BasicPath::factory() must be of the type array, string given, called in /var/www/html/sites/all/modules/contrib/amazons3/src/StreamWrapperConfiguration.php on line 400 and defined in Drupal\amazons3\Matchable\BasicPath::factory() (line 31 of /var/www/html/sites/all/modules/contrib/amazons3/src/Matchable/BasicPath.php).It require to drush vdel amazons3_presigned_urls to fix the error
Comments
Comment #1
deviantintegral CreditAttribution: deviantintegral at Lullabot for NBCUniversal commentedDoes anyone have an example of a variable that breaks the
amazons3_update_7203
upgrade hook?Comment #2
deviantintegral CreditAttribution: deviantintegral at Lullabot for NBCUniversal commentedFeel free to reopen if you can reproduce this.
Comment #3
tripper54 CreditAttribution: tripper54 as a volunteer and commentedI've just encountered the same problem upgrading from 1.1 to 2.0
amazons3_presigned_urls seems to be equal to an empty string in the pre-upgraded DB:
s:0:"";
Comment #4
tripper54 CreditAttribution: tripper54 as a volunteer and commentedI also had to vdel amazons3_torrents and amazons3_saveas. Both were set to empty strings post upgrade.