Plugin Author
Sully
(@ss88_uk)
Hi @acurvers,
Please send a screenshot and/or the error shown. On my vanilla WP 6.7.1 it’s working as expected.
Thanks!
Sully
Fatal error: Uncaught TypeError: preg_replace(): Argument #3 ($subject) must be of type array|string, u2flib_server\RegisterRequest given in /var/www/html/wp-includes/kses.php:1805
Stack Trace
1.
preg_replace('/[\\x00-\\x08\\x0B...', '', Object(u2flib_server\RegisterRequest))
/var/www/html/wp-includes/kses.php:1805
2.
wp_kses_no_null(Object(u2flib_server\RegisterRequest), Array)
/var/www/html/wp-includes/kses.php:752
3.
wp_kses(Object(u2flib_server\RegisterRequest), 'post')
/var/www/html/wp-includes/kses.php:2232
4.
wp_kses_post(Object(u2flib_server\RegisterRequest))
/var/www/html/wp-content/plugins/view-user-metadata/view-user-meta.php:78
5.
SS88_ViewUserMetadata->showUserMeta(Object(WP_User))
/var/www/html/wp-includes/class-wp-hook.php:324
6.
WP_Hook->apply_filters(NULL, Array)
/var/www/html/wp-includes/class-wp-hook.php:348
7.
WP_Hook->do_action(Array)
/var/www/html/wp-includes/plugin.php:517
8.
do_action('edit_user_profi...', Object(WP_User))
/var/www/html/wp-admin/user-edit.php:891
9.
{main}
thrown in /var/www/html/wp-includes/kses.php on line 1805
so pasting screenshot didnt work but i posted the stack trace
Plugin Author
Sully
(@ss88_uk)
Hi @acurvers,
It looks as if there are shortcodes in your meta_values which wp_kses_post is trying to execute. In the next release, I’ll stop the ‘execute’ part from happening.
Unfortunately at this time I have no ETA on a release date but will update this thread once it has been completed.
Thanks,
Sully.
Plugin Author
Sully
(@ss88_uk)
Hi @acurvers,
I did some testing this morning adding the shortcodes into the system and it’s working fine for us, so an update is not needed.
I would suggest going through your database in an attempt to try and find malformed data. It will be in the wp_usermeta table and you can search user_id using the user’s ID you are viewing. If you can find it, send over a screenshot however, and it may help.
I fear it would be malware as anything starting with [\\x00-\\x08\\x0B seems odd in my opinion.
Thanks,
Sully