do_action(‘rss2_head’) with PHP 8.1
-
There is problem witch do_action(‘rss2_head’) on website with PHP 8.1. There is error:
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "" not found or invalid function name in /data/web/virtuals/109058/virtual/www/wp-includes/class-wp-hook.php:310 Stack trace: #0 /data/web/virtuals/109058/virtual/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('<generator>http...', Array) #1 /data/web/virtuals/109058/virtual/www/wp-includes/general-template.php(4965): apply_filters('the_generator', '<generator>http...', '') #2 /data/web/virtuals/109058/virtual/www/wp-includes/class-wp-hook.php(308): the_generator('') #3 /data/web/virtuals/109058/virtual/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #4 /data/web/virtuals/109058/virtual/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /data/web/virtuals/109058/virtual/www/wp-content/themes/Dotekomanie3/rss-feedrecenze.php(48): do_action('rss2_head') #6 /data/web/virtuals/109058/virtual/www/wp-includes/template.php(785): require('/data/web/virtu...') #7 /data/web/virtuals/109058/virtual/www/wp-includes/template.php(718): load_template('/data/web/virtu...', false, Array) #8 /data/web/virtuals/109058/virtual/www/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #9 /data/web/virtuals/109058/virtual/www/wp-content/themes/Dotekomanie3/inc/core-functions.php(162): get_template_part('rss-feedrecenze', 'feedrecenze') #10 /data/web/virtuals/109058/virtual/www/wp-includes/class-wp-hook.php(308): customRSSFuncrecenze(false, 'feedrecenze') #11 /data/web/virtuals/109058/virtual/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #12 /data/web/virtuals/109058/virtual/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /data/web/virtuals/109058/virtual/www/wp-includes/functions.php(1621): do_action('do_feed_feedrec...', false, 'feedrecenze') #14 /data/web/virtuals/109058/virtual/www/wp-includes/template-loader.php(48): do_feed() #15 /data/web/virtuals/109058/virtual/www/wp-blog-header.php(19): require_once('/data/web/virtu...') #16 /data/web/virtuals/109058/virtual/www/index.php(17): require('/data/web/virtu...') #17 {main} thrown in /data/web/virtuals/109058/virtual/www/wp-includes/class-wp-hook.php on line 310
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘do_action(‘rss2_head’) with PHP 8.1’ is closed to new replies.