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

  1. Open the profile pic plugin folder.
  2. search “jQuery(“#your-profile”).attr(‘encoding’,’multipart/form-data’);” this line.
  3. 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

 


To seek challenging roles and to achieve excellence in the field of Open Source Web Technology with a profound spirit of commitment and dedication.

Share This Post

Related Articles

© 2017 Sumit Bansal. All rights reserved. Site Admin · Entries RSS · Comments RSS
Powered by WordPress · Designed by Theme Junkie