Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29051

    Hi,

    we get an error on our portfolio page which is visible in the HTML:

    “Notice: Undefined index: trail_end in /kunden/325278_4051/webseiten/alpphone/wp-content/themes/choices/includes/helper-template-logic.php on line 270″

    It is only visible when you access any portfolio item (i. e. Tageswoche) from the main portfolio page: http://alp-phone.ch/referenzen/

    When you access it directly, the error is not displayed: http://alp-phone.ch/projekt/tageswoche/

    It’s quite annoying having this error escially in the portfolio section where everything should looks nice.

    Can you kriesi.at guys help us out on this issue?`

    Greetings, Max

    #139571

    Actually I can’t see the php notice message but you can fix it easily. Open up and replace

    $newtrail['trail_end'] = $trail['trail_end'];

    with

    $newtrail['trail_end'] = !empty($trail['trail_end']) ? $trail['trail_end'] : '';

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘PHP Error: Notice: Undefined index: trail_end’ is closed to new replies.