Support » Plugin: SportsPress - Sports Club & League Manager » Import Events blank Bug

  • Resolved chriskchris



    when I upload a CSV-file with a field containing only a blank text like:

    2017/04/22,11:30,address, ,3|3|6,win,name

    I get the following error message:

    Warning: in_array() expects parameter 2 to be array, boolean given in /www/htdocs/[…]/wordpress/wp-content/plugins/sportspress/includes/admin/importers/class-sp-event-importer.php on line 404

    The fix is to be sure, that there are no blank fields. But it would be nice, if the importer could handle this.

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Savvas


    Hi Chris,

    Please can you try to replace blank text with “”?


    Hi Savvas,

    yes this will fix the problem. Nevertheless it would be great, if the importer can handle this.


    Plugin Contributor Savvas


    Good to hear that it was fixed! I will forward this to our Developer Team to make the appropriate changes to the importer.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Import Events blank Bug’ is closed to new replies.