UM 1.33 code breaking UM 2.0 code
-
Old code:
<?php $cats = um_user('subspecialties'); foreach ($cats as $cat ) { echo $cat . '<br>'; } ?> <?php if ((um_user('preceptorship')) == "Yes") { ?> <strong>Interested in Precipitorship.</strong><br> <?php } ?> <?php if ((um_user('collaboration')) == "Yes") { ?> <strong>Interested in Collaboration.</strong><br> <?php } ?> <?php if ((um_user('research')) == "Yes") { ?> <strong>Interested in Research.</strong><br> <?php } ?> <?php if ((um_user('scholarship-details')) != "") { ?> <strong>Scholarship Details: </strong><?php echo um_user('scholarship-details'); ?><br> <?php } ?>
[Mon Apr 09 14:32:50.481481 2018] [:error] [pid 2649] [client 68.21.150.124:40701] PHP Warning: implode(): Invalid arguments passed in /nas/content/live/txpmr/wp-content/themes/Avada-Child-Theme/ultimate-member/templates/members-grid.php on line 118
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘UM 1.33 code breaking UM 2.0 code’ is closed to new replies.