• Resolved chriskchris

    (@chriskchris)


    Hey,

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

    Date,Time,Venue,Teams,Results,Outcome,Players
    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
    Chris

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

    (@savvasha)

    Hi Chris,

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

    Thanks,
    Savvas

    Thread Starter chriskchris

    (@chriskchris)

    Hi Savvas,

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

    Cheers,
    Chris

    Plugin Contributor Savvas

    (@savvasha)

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

    Thanks

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