• Fatal error: Uncaught ArgumentCountError: Too few arguments to function absint(), 0 passed in /var/www/mysite.org/public_html/wp-content/plugins/wp-text-expander/lib/WPTextExpander/ListTable.php on line 266 and exactly 1 expected in /var/www/mysite.org/public_html/wp-includes/functions.php:4807 Stack trace: #0 /var/www/mysite.org/public_html/wp-content/plugins/wp-text-expander/lib/WPTextExpander/ListTable.php(266): absint() #1 /var/www/mysite.org/public_html/wp-content/plugins/wp-text-expander/lib/WPTextExpander/ListTable.php(205): WPTextExpander_ListTable->process_bulk_action() #2 /var/www/mysite.org/public_html/wp-content/plugins/wp-text-expander/lib/WPTextExpander/Settings.php(69): WPTextExpander_ListTable->prepare_items() #3 /var/www/mysite.org/public_html/wp-includes/class-wp-hook.php(292): WPTextExpander_Settings->settings_page() #4 /var/www/mysite.org/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #5 /var/www/mysite.or in /var/www/mysite.org/public_html/wp-includes/functions.php on line 4807

    Also getting the following notice on the settings page:

    Warning: Use of undefined constant WPTextExpander_Settings – assumed ‘WPTextExpander_Settings’ (this will throw an Error in a future version of PHP) in /var/www/mysite.org/public_html/wp-content/plugins/wp-text-expander/wp-text-expander.php on line 39

Viewing 1 replies (of 1 total)
  • Thread Starter HelgaTheViking

    (@helgatheviking)

    Fatal error can be patched by changing Line 266 of /var/www/mysite.org/public_html/wp-content/plugins/wp-text-expander/lib/WPTextExpander/ListTable.php to

    
    $continue = self::edit_term();
    

    Notice is resolved by changing /var/www/mysite.org/public_html/wp-content/plugins/wp-text-expander/wp-text-expander.php line 39 to:

    add_filter( 'plugin_action_links', array( 'WPTextExpander_Settings', 'action_link' ), 10, 5 );

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error when defining new term’ is closed to new replies.