Fatal error: Uncaught ArgumentCountError
-
Hi! I’m pretty new at wordpress and coding in general. I installed TranslatePress on my website which is still on localhost while I work on it.
I keep getting these warnings:Fatal error: Uncaught ArgumentCountError: Too few arguments to function trp_prevent_kses_from_stripping_trp_post_container(), 1 passed in C:\wamp64\www\wordpress\wp-includes\class-wp-hook.php on line 307 and exactly 2 expected in C:\wamp64\www\wordpress\wp-content\plugins\translatepress-multilingual\includes\compatibility-functions.php on line 1089
and
ArgumentCountError: Too few arguments to function trp_prevent_kses_from_stripping_trp_post_container(), 1 passed in C:\wamp64\www\wordpress\wp-includes\class-wp-hook.php on line 307 and exactly 2 expected in C:\wamp64\www\wordpress\wp-content\plugins\translatepress-multilingual\includes\compatibility-functions.php on line 1089
I really don’t know what to do about it. I’ve been checking the forums but haven’t stumbled upon something helpful yet.
This is the line that the error is referring to:$value = call_user_func_array( $the_['function'], $args );and
function trp_prevent_kses_from_stripping_trp_post_container( $allowedposttags, $context ) {Thank you in advance!
The topic ‘Fatal error: Uncaught ArgumentCountError’ is closed to new replies.