All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

PHP Error: field_id_2

Jeremy Latham 14 Aug 2012 19:40 problem, complete

I recently upgraded an EE install and it's add-ons and now Low Alphabet is throwing an error. Any ideas?

A PHP Error was encountered

Severity: Notice

Message: Undefined index: field_id_2

Filename: low_alphabet/pi.low_alphabet.php

Line Number: 618

Replies

  1. Low 15 Aug 2012 08:08

    Hi Jeremy,

    What's the LA tag you're using?

  2. Jeremy Latham 15 Aug 2012 17:31

    I'm using the same code to display music by title, using the title as alpha field and it works perfectly.

    {exp:low_alphabet:entries channel="music" alpha_field="music_artist" alpha_ignore="the|a" numbers="after" group_numbers="yes" numbers_label="#" alpha_filter="{segment_3}" orderby="low_alphabet_field" disable="categories|member_data|pagination" limit="1000"}

    {if count == 1}

      {/if}



    1. {if low_alphabet_heading}

      Artists: {low_alphabet_label}




    2. {/if}

      {music_artist}, {title}

      {if low_alphabet_footer}


    {/if}



    {if count == total_results}{/if}

    {/exp:low_alphabet:entries}

  3. Jeremy Latham 15 Aug 2012 17:33

    This should display properly now...

     

    {exp:low_alphabet:entries channel="music" alpha_field="music_artist" alpha_ignore="the|a" numbers="after" group_numbers="yes" numbers_label="#" alpha_filter="{segment_3}" orderby="low_alphabet_field" disable="categories|member_data|pagination" limit="1000"}

    {if count == 1}<ol style="list-style: none;">{/if}

    <li>

    {if low_alphabet_heading}
    <h3>Artists: {low_alphabet_label}</h3>
    <ol>
    <li>
    {/if}

    {music_artist}, {title}

    {if low_alphabet_footer}
    </li>
    </ol>
    {/if}

    </li>

    {if count == total_results}</ol>{/if}

    {/exp:low_alphabet:entries}

  4. Low 16 Aug 2012 15:04

    Apologies for the time it takes me to respond -- I'm on holiday at the moment, only checking support once a day. Normal support will resume next week.

    Can you try removing the alpha_field="music_artist" parameter and changing the orderby parameter to orderby="music_artist"?

  5. Jeremy Latham 16 Aug 2012 17:05

    Thanks Low! Problem solved! Have a great holiday - you deserve it!