Fix wordpress plugin profile pic error
The error of the profile pic has been fix. The error was in the new version of wordpress is not upload the profile picture.
Solution to resolve this problem
- Open the profile pic plugin folder.
- search “jQuery(“#your-profile”).attr(‘encoding’,’multipart/form-data’);” this line.
- Replace it with “jQuery(“#your-profile”).attr(‘enctype’,’multipart/form-data’);” line.
The second problem is when we upload the profile pic this shows an error on some server while uploading a pic.
add the ob_start(); at the top of the page after starting the php.
After these changes the plugin works fine.
To download the new file click here