Fatal error: Uncaught Error: Call to undefined function test()

Not sure what your test() function is meant to achieve, or if you’ve even defined it, but yes if you haven’t defined it then it’s undefined. In reference to your question: “What’s the best method to include all content from profile-card.php and use that shortcode to show it?” The answer is actually in your question, … Read more

PHP Fatal error: Uncaught Error: Call to undefined function wp_kses_normalize_entities() in new wordpress installation

I know it is long since you posted this but let’s get into it. This error happens when WordPress installation is not successful or not complete. I suggest trying to install your WordPress using its auto-installer which will do the necessary changes to necessary files. Using this method avoids you from editing even the wp-config … Read more

How do I retrieve meta_key names with get_user_meta($user_id) call

I just figured it out. I didn’t understand associative arrays properly and after doing more research I came up with the following that works: $user_id = 6 ; $user_meta_array = array() ; /* the following WordPress function outputs an associative array */ $user_meta_array = get_user_meta($user_id); $meta_cnt = -1 ; /* You need the following loop … Read more