Skip to content

Import CSV in Wordpress Multisite #141

@INA2N

Description

@INA2N

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:

  1. /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling error_handler()
  2. /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
  3. calling autoload()
  4. /var/www/html/wp-content/plugins/sendpress/classes/views/class-sendpress-view-subscribers.php 9 calling spl_autoload_call()
  5. /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
  6. calling autoload()
  7. /var/www/html/wp-content/plugins/sendpress/classes/views/class-sendpress-view-subscribers-csvimport.php 9 calling spl_autoload_call()
  8. /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
  9. calling autoload()
  10. calling spl_autoload_call()
  11. /var/www/html/wp-content/plugins/sendpress/sendpress.php 1291 calling class_exists()
  12. /var/www/html/wp-content/plugins/sendpress/sendpress.php 798 calling get_view_class()
  13. /var/www/html/wp-includes/plugin.php 525 calling admin_init()
  14. /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:

  1. /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling error_handler()
  2. /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
  3. calling autoload()
  4. /var/www/html/wp-content/plugins/sendpress/classes/views/class-sendpress-view-subscribers.php 9 calling spl_autoload_call()
  5. /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
  6. calling autoload()
  7. /var/www/html/wp-content/plugins/sendpress/classes/views/class-sendpress-view-subscribers-csvimport.php 9 calling spl_autoload_call()
  8. /var/www/html/wp-content/plugins/sendpress/sendpress.php 212 calling include()
  9. calling autoload()
  10. calling spl_autoload_call()
  11. /var/www/html/wp-content/plugins/sendpress/sendpress.php 1291 calling class_exists()
  12. /var/www/html/wp-content/plugins/sendpress/sendpress.php 798 calling get_view_class()
  13. /var/www/html/wp-includes/plugin.php 525 calling admin_init()
  14. /var/www/html/wp-admin/admin.php 168 calling do_action()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions