-
AuthorPosts
-
May 6, 2016 at 12:45 am #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 346May 10, 2016 at 3:01 am #629571Hey 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,
VinayMay 10, 2016 at 4:29 pm #630056This 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 9 years, 5 months ago by
AWebDeveloper.
May 12, 2016 at 7:03 am #631165Hi,
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,
IsmaelJuly 4, 2016 at 3:36 pm #656621I’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 9 years, 4 months ago by
vadikcoma.
July 5, 2016 at 8:44 am #656885Hi @vadikcoma,
Please start a new topic and post admin login details in private so that we can have a closer look.
Regards,
Rikard -
This reply was modified 9 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
