You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had an issue with importing settings not working on our hosting. After some testing and troubleshooting we found that we needed to set define('FS_METHOD','direct'); in our wp-config.php for the import to work.
This is obviously connected to an issue with our hosting setup but it would have been great if the plugin could have thrown an error about that the import didn't work to guide us at least a litte about why it didn't work. Instead it actually looked like the import had gone through but instead it reset all settings.
So maybe if there could be a check after this code:
We had an issue with importing settings not working on our hosting. After some testing and troubleshooting we found that we needed to set
define('FS_METHOD','direct');
in our wp-config.php for the import to work.This is obviously connected to an issue with our hosting setup but it would have been great if the plugin could have thrown an error about that the import didn't work to guide us at least a litte about why it didn't work. Instead it actually looked like the import had gone through but instead it reset all settings.
So maybe if there could be a check after this code:
astra-import-export/inc/classes/class-astra-import-export-loader.php
Lines 156 to 160 in badb188
if
$wp_filesystem
worked, and if it didn't throw an error similar to egwp_die( esc_html__( 'Upload failed', 'astra-import-export' ) );
?The text was updated successfully, but these errors were encountered: