• Resolved hcsweb

    (@hcsweb)


    Hello,
    we get a fatal error when using the search function in the tablepress backend. Is that due to an update or do you have any idea, how this can be fixed? Thank you very much in advance for your help.

    Details:
    WordPress-Version 6.4.1
    Aktives Theme: Goliath Child (Version 1)
    Aktuelles Plugin: TablePress (Version 2.2.2)
    PHP-Version 8.1.22

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 397 der Datei /wp-content/plugins/tablepress/classes/class-tablepress.php verursacht. Fehlermeldung: Uncaught TypeError: TablePress::get_user_display_name(): Argument #1 ($user_id) must be of type int, null given, called in /wp-content/plugins/tablepress/views/class-all-tables-list-table.php on line 524 and defined in /wp-content/plugins/tablepress/classes/class-tablepress.php:397
    Stack trace: 0 /wp-content/plugins/tablepress/views/class-all-tables-list-table.php(524): TablePress::get_user_display_name(NULL) 1 [internal function]: TablePress_All_Tables_List_Table->_search_callback(Array) 2 /wp-content/plugins/tablepress/views/class-all-tables-list-table.php(588): array_filter(Array, Array) 3 /wp-content/plugins/tablepress/views/view-list.php(146): TablePress_All_Tables_List_Table->prepare_items() 4 /wp-content/plugins/tablepress/classes/class-tablepress.php(264): TablePress_List_View->setup(‘list’, Array) 5 /wp-content/plugins/tablepress/controllers/controller-admin.php(584): TablePress::load_view(‘list’, Array) 6 /wp-includes/class-wp-hook.php(310): TablePress_Admin_Controller->load_admin_page(”) 7 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) 8 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 //wp-admin/admin.php(237): do_action(‘load-toplevel_p…’) 10 {main}

    thrown

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    That’s strange. This seems to indicate that (at least) for one of your table, the information about the user who last edited this table is missing. However, I don’t really see in the code how this could be possible…

    Could you please get in touch via email to the address from the bottom of https://tablepress.org/pricing/ so that we can check what’s going on here?

    Regards,
    Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    an update for everyone finding this thread:
    We found that one table on the site was corrupted and had incomplete options in the database. Re-creating that table fixes these issues ??

    Regards,
    Tobias

    pdumarche

    (@pdumarche)

    Hello,

    I have tried to find the table in the database of the website, but i don’t find it….

    The error was the same :

    Une erreur de type E_ERROR a été causée dans la ligne 397 du fichier /tablepress/classes/class-tablepress.php. Message d’erreur?: Uncaught TypeError: Argument 1 passed to TablePress::get_user_display_name() must be of the type int, null given, called in /tablepress/views/class-all-tables-list-table.php on line 280 and defined in /tablepress/classes/class-tablepress.php:397

    Stack trace:

    #0 class-all-tables-list-table.php(280): TablePress::get_user_display_name(NULL)

    #1 class-wp-list-table.php(1794): TablePress_All_Tables_List_Table->column_table_last_modified_by(Array)

    #2 class-wp-list-table.php(1737): WP_List_Table->single_row_columns(Array)

    #3 class-wp-list-table.php(1724): WP_List_Table->single_row(Array)

    #4 class-wp-list-table.php(1709): WP_List_Table->display_rows()

    #5 class-wp-list-table.php(1636): WP_List_Table->display_ro

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    most likely you are also having tables that have incomplete information then.

    Could you please get in touch via email to the address from the bottom of?https://tablepress.org/pricing/?so that we can hopefully confirm that?

    Regards,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error – class-tablepress.php’ is closed to new replies.