• Resolved chuckingit

    (@chuckingit)


    Hi – i keep getting php error messages that for life of me can’t figure out … i only have one table on one sub site on a multisite network and that tablepress table seems to display fine, works from admin, yet when i look at server file level for errors, each day i see tablepress firing off a bunch of php errors per the error log below … any pointers that can be shared are greatly appreciated … cordially, chuck scott

    from recent error log ->

    [03-Dec-2013 00:04:29 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 567
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 568
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 570
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 573
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 575
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 567
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 568
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 570
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 576
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 567
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 568
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 570
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 573
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 575
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 567
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 568
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 570
    [03-Dec-2013 00:04:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 576
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 567
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 568
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 570
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 573
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 575
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 567
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 568
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 570
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 576
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 567
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 568
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 570
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 573
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 575
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 604
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 567
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 568
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 570
    [03-Dec-2013 01:30:57 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/cooltea/public_html/wp-content/plugins/tablepress/controllers/controller-frontend.php on line 576

    http://wordpress.org/plugins/tablepress/

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.

    Those errors seems to be raising during a search request on the site (the line numbers point to that part of the code), but I’m not sure why…

    If possible, I’d like to take a direct look at this on your site. Could you therefore please create a temporary admin account for me and send me the details via email (the address is in the main plugin file “tablepress.php”)? That way, I can investigate this directly. Thanks!

    Regards,
    Tobias

    Thread Starter chuckingit

    (@chuckingit)

    great – just shot you an email so thanks and to be continued :>) cs

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks! I have received your email and will take a look shortly.

    Regards,
    Tobias

    Thread Starter chuckingit

    (@chuckingit)

    Awesome Support – Thank YOU!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    For others finding this thread: The problem comes from the search integration of TablePress. For some reason that also affects the Recent Posts widget that queries posts from other sites of the network. Those however don’t have tables, and that then causes the PHP notices.

    Best wishes,
    Tobias

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

The topic ‘strange php warnings with controller-frontend.php and’ is closed to new replies.