• I am building a new site for a client, they have lots of merchandise items in tables, i have copied html source and imported with wp-table reloaded just fine. By using the manual input text field.

    however, with this last table i was to import i got theese errors:

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/2/c/corneruniform/www/site/wp-content/plugins/wp-table-reloaded/classes/import.class.php on line 180

    Warning: array_pad() [function.array-pad]: The argument should be an array in /home/2/c/corneruniform/www/site/wp-content/plugins/wp-table-reloaded/classes/import.class.php on line 284

    Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/2/c/corneruniform/www/site/wp-content/plugins/wp-table-reloaded/classes/import.class.php on line 327

    Warning: Invalid argument supplied for foreach() in /home/2/c/corneruniform/www/site/wp-content/plugins/wp-table-reloaded/controllers/controller-admin.php on line 926

    I have checked that the source i am importing looks ok in the browser.
    It does contain some special letters like Æ, Ø and Å though.

    The table I am importing is this:
    http://pastebin.com/UJZc4CCf

    Thanks 🙂

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    the problem probably is the first row of the table. There, you have a <th> and <td> mixed, but in the rest of the table, it is two <td> per row.
    I suggest that you change the <th> to <td> as well.

    Also, there are a few instances of <p> tags that don’t have a closing </p> tag. I suggest that you change that as well.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Warning array_merge() when importing table’ is closed to new replies.