Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #628035

    We have some enfold buttons on a page of ours, and we’re getting this php warning when we have our php errors turned on.

    Notice: Undefined index: index in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons_fullwidth.php on line 346
    Notice: Undefined index: index in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons_fullwidth.php on line 346
    Notice: Undefined index: index in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons_fullwidth.php on line 346

    #629571

    Hey Carl,

    Sorry for the delay, would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Vinay

    #630056

    This is the page we saw those errors on. We have php on our live site set to hide errors, but they’re still showing up in our logs.

    • This reply was modified 8 years, 7 months ago by AWebDeveloper.
    #631165

    Hi,

    It’s because of uninitialized variable in the fullwidth button shortcode template which is nothing to worry about: http://php.net/manual/en/language.variables.basics.php#example-112

    If you really want the issue to go away, modify the config-templatebuilder > aviashortcodes > button_fullwidth.php file, go to the line stated in the error, replace it with:

    if(isset($meta['index']) && $meta['index'] == 0) $params['close'] = false;
    

    Best regards,
    Ismael

    #656621

    I’m having the same issue with another language on my site.

    Default version works well –

    doppe.coma.lv/
    doppe.coma.lv/katalog/elektrotovary/

    Second language, english is giving all these errors even when I’m not logged in

    doppe.coma.lv/en/electrical-goods/
    doppe.coma.lv/en/

    • This reply was modified 8 years, 5 months ago by vadikcoma.
    #656885

    Hi @vadikcoma,

    Please start a new topic and post admin login details in private so that we can have a closer look.

    Regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.