• Resolved tomaivanovtomov

    (@tomaivanovtomov)


    When I try to use any filter with 2 arguments
    wpdatatables_filter_mysql_query($query, $tableId) for example, an error is thrown:
    Fatal error: Uncaught ArgumentCountError: Too few arguments to function hide_privacy_projects(), 1 passed in /var/www/vhosts/virtualedgeco.com/virtualedge.co/wp-includes/class-wp-hook.php on line 289 and exactly 2 expected in /var/www/vhosts/virtualedgeco.com/virtualedge.co/wp-content/themes/unbound-child/functions.php:135 Stack trace: #0 /var/www/vhosts/virtualedgeco.com/virtualedge.co/wp-includes/class-wp-hook.php(289): hide_privacy_projects(‘SELECT i38H1Xy0…’) #1 /var/www/vhosts/virtualedgeco.com/virtualedge.co/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘SELECT i38H1Xy0…’, Array) #2 /var/www/vhosts/virtualedgeco.com/virtualedge.co/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(2312): apply_filters(‘wpdatatables_fi…’, ‘SELECT i38H1Xy0…’, ’21’) #3 /var/www/vhosts/virtualedgeco.com/virtualedge.co/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(2990): WPDataTable->queryBasedConstruct(‘SELECT i38H1Xy0…’, Array, Array, false) #4 /var/www/vhosts/virtualedgeco.com/virtualedge.co/wp in /var/www/vhosts/virtualedgeco.com/virtualedge.co/wp-content/themes/unbound-child/functions.php on line 135

    So please explain to me how to take that tableId when even the documentation is wrong? As I know my client payed for your plugin and this is not very “cool”.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Filters doesn’t prove tableId but error instead’ is closed to new replies.