-
Notifications
You must be signed in to change notification settings - Fork 21
Description
When trying to import a small CSV file into a Sendpress subscriber list, the results are null. After the file is selected, and then Upload, the results take you to the original page as if nothing happened.
Running backtrace_errors on the site, you can see the results below for both before and after the import attempt.
BEFORE:
Backtrace from warning 'Methods with the same name as their class will not be constructors in a future version of PHP; SendPress_View has a deprecated constructor' at /var/www/html/wp-content/plugins/sendpress/classes/views/class-sendpress-view.php 16:
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling error_handler()
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
- calling autoload()
- /var/www/html/wp-content/plugins/sendpress/classes/views/class-sendpress-view-subscribers.php 9 calling spl_autoload_call()
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
- calling autoload()
- /var/www/html/wp-content/plugins/sendpress/classes/views/class-sendpress-view-subscribers-csvimport.php 9 calling spl_autoload_call()
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
- calling autoload()
- calling spl_autoload_call()
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 1291 calling class_exists()
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 798 calling get_view_class()
- /var/www/html/wp-includes/plugin.php 525 calling admin_init()
- /var/www/html/wp-admin/admin.php 168 calling do_action()
AFTER:
Backtrace from warning 'Methods with the same name as their class will not be constructors in a future version of PHP; SendPress_View has a deprecated constructor' at /var/www/html/wp-content/plugins/sendpress/classes/views/class-sendpress-view.php 16:
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling error_handler()
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
- calling autoload()
- /var/www/html/wp-content/plugins/sendpress/classes/views/class-sendpress-view-subscribers.php 9 calling spl_autoload_call()
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
- calling autoload()
- /var/www/html/wp-content/plugins/sendpress/classes/views/class-sendpress-view-subscribers-csvimport.php 9 calling spl_autoload_call()
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
- calling autoload()
- calling spl_autoload_call()
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 1291 calling class_exists()
- /var/www/html/wp-content/plugins/sendpress/sendpress.php 798 calling get_view_class()
- /var/www/html/wp-includes/plugin.php 525 calling admin_init()
- /var/www/html/wp-admin/admin.php 168 calling do_action()