Fatal error seen when edit user with Query Monitor
Gday,
I just came across this error when I tried to edit a user. Seems there is some issues with PHP.
See the error below:
Fatal error: Uncaught Error: array_slice(): Argument #3 ($length) must be of type ?int, string given
in /var/web/site/public_html/
wp-content/themes/appthemes-vantage/includes/payments/admin/order-meta.php on line 108
Call stack:
array_slice()
wp-content/themes/appthemes-vantage/includes/payments/admin/order-meta.php:108
APP_Connected_User_Orders::display()
wp-includes/class-
wp-hook.php:308
WP_Hook::apply_filters()
wp-includes/class-
wp-hook.php:332
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-admin/user-edit.php:853
How do I solve this?
Cheers,