• Resolved txpmr

    (@txpmr)


    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)
  • Thread Starter txpmr

    (@txpmr)

    the problem line seems to be this

    $allcategories = (implode($cats,"<br>") . '<br>');

    Plugin Author Ultimate Member

    (@ultimatemember)

    Hi,

    Sorry for the issues. Can you please contact us via our site: https://ultimatemember.com/contact/sales/ so we can add this to our helpdesk system and look into this for you.

    thanks

    Thread Starter txpmr

    (@txpmr)

    @ultimatemember @calumallison

    this has been fixed in the 2.05 release (mega menu).

    however, i am having a bit of a problem with login|logout conditional logic. it shows both the login|logout buttons when i am logged in but if i log out it is fine.

    other UM users have confirmed this problem in IE|Chrome (google) and Mozilla Firefox

    • This reply was modified 6 years, 7 months ago by txpmr.
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.