• Resolved Arturrrro

    (@arturrrro)


    Due to hosting guidelines, I was forced to enable PHP v8.1 on the server. After this operation, some of the tables stopped displaying (it’s strange that only some of them) and I receive the following error message:

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method TablePress_Row_Order::turn_off_caching() cannot be called statically in /home/.../wp-includes/class-wp-hook.php:324 Stack trace: #0 /home/.../wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #1 /home/.../wp-content/plugins/tablepress/controllers/controller-frontend.php(646): apply_filters('tablepress_tabl...', Array, Array) #2 /home/.../wp-includes/shortcodes.php(433): TablePress_Frontend_Controller->shortcode_table(Array, '', 'table') #3 [internal function]: do_shortcode_tag(Array) #4 /home/.../wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(table)...', 'do_shortcode_ta...', '<!--<h3><strong...') #5 /home/.../wp-includes/class-wp-hook.php(326): do_shortcode('<!--<h3><strong...') #6 /home/.../wp-includes/plugin.php(205): WP_Hook->apply_filters('<!--<h3><strong...', Array) #7 /home/.../wp-includes/widgets/class-wp-widget-custom-html.php(150): apply_filters('widget_text', '<!--<h3><strong...', Array, Object(WP_Widget_Custom_HTML)) #8 /home/.../wp-includes/class-wp-widget.php(394): WP_Widget_Custom_HTML->widget(Array, Array) #9 /home/.../wp-includes/widgets.php(837): WP_Widget->display_callback(Array, Array) #10 /home/.../wp-content/themes/modern-multipurpose/sidebar.php(3): dynamic_sidebar('sidebar-widget-...') #11 /home/.../wp-includes/template.php(790): require_once('/,,,/a...') #12 /home/.../wp-includes/template.php(725): load_template('/home/.../a...', true, Array) #13 /home/.../wp-includes/general-template.php(136): locate_template(Array, true, true, Array) #14 /home/.../wp-content/themes/modern-multipurpose/single.php(62): get_sidebar() #15 /home/.../wp-includes/template-loader.php(106): include('/.../a...') #16 /home/.../wp-blog-header.php(19): require_once('/.../a...') #17 /home/.../index.php(17): require('/home/.../a...') #18 {main} thrown in?/home/...l/wp-includes/class-wp-hook.php?on line?324

    Can anyone help me get it working again? I will add that returning to PHP 7.4 (I still have this option for a while) solves the problem completely. The latest TablePress plugins and add-ons. WP also the latest.

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

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    The cause of this issue is not TablePress itself, but the outdated and retired TablePress Table Row Order Extension that you are using as a separate plugin on the site.

    This has been retired at the end of last year, when TablePress received two premium versions. These contain a much improved and enhanced version of that Table Row Order feature, which also offers an integration into the user interface.

    The outdated Extension is no longer available and will not longer receive updates or support. I therefore recommend that you check out the premium versions to always benefit from bug fixes, enhancements, and support for this feature.

    (One issue that the outdated version that you are still using has is that broken PHP 8 support. If you want to continue using that, you can however easily fix this problem by replacing four instances of the code public function with public static function.)

    Best wishes,
    Tobias

    Thread Starter Arturrrro

    (@arturrrro)

    Thank you for the quick reply. I understand that eventually I will have to upgrade to some premium plan. Do you have a demo somewhere of the features and changes compared to the free plan? Before making a decision, I would like to see at least a little bit of the possibilities that I can get for a fee.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    Sure! All the features are e.g. listed on https://tablepress.org/premium/ (you’ll note that there’s a Black Week promotion going on right now ?? ). To find out more about the individual modules, please see https://tablepress.org/modules/

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error after updating PHP to version 8’ is closed to new replies.