• Hi,

    I have a problem, if you have any idea how to solve it, please help me.
    Before my albums names, there is a very long notice starts with: “Undefined index: albumtxt in…”
    I tried to hide this notice in php.ini, but it doesn’t work it is still there.
    Can you help me, how can I solve this?

    Thank you very much!
    Anna

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author afzal_du

    (@afzal_du)

    I guess I forgot to check some variable if it’s set. I have notice enabled on localhost but that didn’t came up. I think it’s php version dependent.
    Live hosting shouldn’t have notices enabled. You may disable display_errors or change the error settings on php.ini. I think you may have edited the wrong php.ini or the server requires a restart.

    Thread Starter budakeszikki

    (@budakeszikki)

    Thank you, I will try again to hide the notice.

    But can I solve the problem itself, in the line which is written in the notice?
    This is the line:
    <input type=”text” name=”options[albumtxt]” value=”<?php echo $value_arr[‘albumtxt’]; ?>”/>

    Thank you very much!

    Anna

    Plugin Author afzal_du

    (@afzal_du)

    Make it

    
    <input type="text" name="options[albumtxt]" value="<?php if(isset($value_arr['albumtxt'])) echo $value_arr['albumtxt']; ?>"/>
    
    Thread Starter budakeszikki

    (@budakeszikki)

    I did, I inserted it to line 218 (in gallery-form-option.php), uploaded it, but I still get the same notice about undefined index.
    Hava you got maybe another idea?

    Thank you very much!

    Anna

    Thread Starter budakeszikki

    (@budakeszikki)

    Dear Afzal,

    I still have the same problem what I wrote about before ?? I tried to look for another plugin, but I couldn’t find suitable for me. Have you got another idea, how to solve my problem? I would buy the pro version to get the support if it helps. Please help me:)

    Thank you,
    Anna

    Plugin Author afzal_du

    (@afzal_du)

    You can just disable notices from php.ini (google how for your platform/server)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Undefined index’ is closed to new replies.