Assets not showing the correct upload directory
I'm running EE 2.5.1 and updating from Assets 1.2.2 to 2.0.1.
I've followed instructions from the Pixel & Tonic docs.
Immediately after running the Assets 2 update, I receive a page filled with the following errors. It seems like there is an error for every existing assets image.
A PHP Error was encountered Severity: Notice Message: Undefined index: 10:Series Filename: assets/upd.assets.php Line Number: 712
I'm currently setting my upload paths in the EE config.php file:
$config['upload_preferences'] = array( 1 => array( 'name' => 'Main Upload Directory', 'server_path' => $base_path . '/images/uploads/', 'url' => $base_url . '/images/uploads/' ) );
$base_path is a dynamic variable that returns the absolute server path.
I checked the exp_upload_prefs table and the server_path entries do not reflect the upload paths in the config.php file. Is it possible the Assets 2 updater doesn't recognize these paths either, thus causing the error?