X
29734

Ticket #29734 Public [Closed]

[BUG] "Want to meet us?" link returns 'Array'

  • eventon_eventCard.php line 391 and 392

    if($object->type==’button’){
    $_target = (!empty($object->_target) && $object->_target==’yes’)? ‘target=”_blank”‘:null;
    $OT .=”<a href='”.$object->valueL.”‘ {$_target} class=’evcal_btn evo_cusmeta_btn’>”.$object->value.”</a>”;
    }

    $object->_target

    $object->valueL

    need to be:

    $object->_target[0]

    $object->valueL[0]

    As per the object dump:

    stdClass Object
    (
        [imgurl] => fa-coffee
        [x] => 1
        [value] => test
        [valueL] => Array
            (
                [0] => https://deltadna.com
            )
    
        [_target] => Array
            (
                [0] => yes
            )
    
        [type] => button
        [login_needed_message] => 
        [visibility_type] => all
    )
    
    Running Version 2.5 latest version of wordpress
    BY: Chris Wright - Mar 1,2017 AT 6:09AM - 3 years ago
    • By: infotainerdave Mar 1,2017 AT 6:43AM - Posted 3 years ago - #29739

      please update to 2.5.1 as I believe this error has been fixed

       

      FIXED: License activation not working & not saving the key
      FIXED: Custom field button not opening links correct
      FIXED: Missing language translations for multi data types
      UPDATED: Deactivate single events addon if installed
      UPDATED: Made organizer fields pluggable

    • By: Chris Wright Mar 2,2017 AT 3:27AM - Posted 3 years ago - #29854

      thanks. I thought we had the latest version as there was no notice from Evanto/Theme Forest or in my plugins dir.

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON