Fatal Error on PHP8
-
2021-11-03 09:46:00.948975 [NOTICE] [12264] [185.243.215.148:58926-1#Example] [STDERR] PHP Fatal error: Uncaught TypeError: array_slice(): Argument #3 ($length) must be of type ?int, string given in /usr/local/lsws/Example/html/wp-content/plugins/recently-viewed-products/includes/rvpclass_view_list.php:25
Stack trace:
#0 /usr/local/lsws/Example/html/wp-content/plugins/recently-viewed-products/includes/rvpclass_view_list.php(25): array_slice()
#1 /usr/local/lsws/Example/html/wp-content/plugins/recently-viewed-products/includes/rvpclass_view_list.php(95): rvp_view_list->rvp_show()
#2 /usr/local/lsws/Example/html/wp-content/plugins/recently-viewed-products/includes/rvpclass_view_list.php(123): rvp_view_list->rvp_view_logged_in()
#3 /usr/local/lsws/Example/html/wp-content/plugins/recently-viewed-products/shortcodes/rvp_shortcodes_view.php(17): rvp_view_list->rvp_view_single_short()
#4 /usr/local/lsws/Example/html/wp-includes/shortcodes.php(356): {closure}()
#5 [internal function]: do_shortcode_tag()
#6 /usr/local/lsws/Example/html/wp-includes/shortcodes.php(228): preg_replace_callback()
#7 /usr/local/lsws/Example/html/wp-content/themes/sober/woocommerce/single-product.php(22): do_shortcode()
#8 /usr/local/lsws/Example/html/wp-includes/template-loader.php(106): include(‘…’)
#9 /usr/local/lsws/Example/html/wp-blog-header.php(19): require_once(‘…’)
#10 /usr/local/lsws/Example/html/index.php(17): require(‘…’)
#11 {main}
thrown in /usr/local/lsws/Example/html/wp-content/plugins/recently-viewed-products/includes/rvpclass_view_list.php on line 25
- The topic ‘Fatal Error on PHP8’ is closed to new replies.