gvvijaybhaskar
Member
Posted 1 year ago #
These are the error messages:
Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\wordpress-mu\wp-content\plugins\profile-pic\profile-pic.php on line 422
Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\wordpress-mu\wp-content\plugins\profile-pic\profile-pic.php:422) in D:\xampp\htdocs\wordpress-mu\wp-includes\pluggable.php on line 890
I added this if condition before foreach statement at 422 line in profile-pic.php and it is working fine now.
if($raw_data)
RuntOfTheLitter3
Member
Posted 1 year ago #
i don't get the error anymore, but the profile pic still doesn't show up on the front end.
http://literateletter.com/ccsnowrunners/?page_id=29#comment-6
mauricio.camayo
Member
Posted 1 year ago #
I solved typing this around line 422 on /home/[YOUR_HOME]/public_html/wp-content/plugins/profile-pic/profile-pic.php
if($raw_data){
foreach ($raw_data as $key => $val) {
$reversed_data[$val] = $key;
}
}
Mysterarts
Member
Posted 1 year ago #
yes, it works! Thank you!