If you find this useful, then please consider donating a small amount towards my time and effort in developing and maintaining solutions.


The plugins ‘Theme-my-login’ and ‘Buddyppress’ when combined cause an error message to appear similar to

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wp_shake_js’ not found or invalid function name in /home/(your url)/public_html/wp-includes/plugin.php on line 503

The line number will vary on different versions of wordpress

The function that is erroring  is actually a wordpress one (wp_shake_js) , and causes wp to ‘shake’ when an incorrect username is entered – see the attached link for an explanation and demo


This plugin removes the wp_shake_js function, and so eliminates the error.


1. Download this plugin using the link above, noting the folder on your PC where you download it to.
2. Go to Dashboard>plugins>add new
3. Click Upload, and select the file ‘tml-fix.zip’ from the folder you downloaded it to
4. Click install
5. and then activate