• Resolved vincepettit

    (@vincepettit)


    Looking through my PHP Error logs I’ve come across a lot of errors relating to WP Table Reloaded. We’re not changing anything in admin so seems to be a user triggered issue.

    Dec 12, 14:42:44	 PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 398
    Dec 12, 14:42:44	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 14:42:44	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 14:42:44	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 14:42:44	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 14:42:44	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 14:42:48	 PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 398
    Dec 12, 14:42:48	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 14:42:48	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 14:42:48	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 14:42:48	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 14:42:48	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 15:17:18	 PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 398
    Dec 12, 15:17:18	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 15:17:18	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422
    Dec 12, 15:17:18	 PHP Warning: Invalid argument supplied for foreach() in /ABSOLUTEPATH/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php on line 422

    http://ww.wp.xz.cn/extend/plugins/wp-table-reloaded/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This could indicate that you have corrupted tables. These would need to be restored from a backup.

    Can you check if you have tables (in the “List of Tables” in the admin area), that have a name of “(no name)” and a description of “(no description)”? Very likely, these are broken.

    Regards,
    Tobias

    Thread Starter vincepettit

    (@vincepettit)

    Just checked and there was two tables with no name/description.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yep, that explains the error then. You should restore these two tables from a backup, and then migrate from WP-Table Reloaded to its official and designated successor TablePress (see http://ww.wp.xz.cn/extend/plugins/tablepress/ and http://tablepress.org/migration-from-wp-table-reloaded/ )

    Best wishes,
    Tobias

    Thread Starter vincepettit

    (@vincepettit)

    Have sorted and migrated now getting the following error:

    Dec 12, 16:23:30 PHP Warning: array_fill() [<a href='function.array-fill'>function.array-fill</a>]: Number of elements must be positive in /wp-content/plugins/tablepress/controllers/controller-admin.php on line 1316

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    the mentioned line 1316 of that message belongs to the code that TablePress uses to import from WP-Table Reloaded. Thus, there’s another table that is broken somehow.

    Have you restored or deleted all of the broken tables in WP-Table Reloaded?

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP Warnings’ is closed to new replies.