Hi,
I’ve inserted a button in a text widget using this shortcode:
[av_button_big label='Send' description_pos='below' link='page,1051' link_target='' icon_select='no' icon='ue800' font='entypo-fontello' custom_font='#ffffff' color='theme-color' custom_bg='#067764' color_hover='custom' custom_bg_hover='#067764'][/av_button_big]
The button is running but WP shows this mesage:
Notice: Undefined index: index in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons_fullwidth.php on line 346
Hi!
I tried adding your shortcode on my local installation and it does work totally fine – http://imgur.com/a/ZLCXw
Do you mind creating a temporary admin login and posting it here privately if you would like us to look into it? :)
Best regards,
Yigit
Here
Hi,
Unfortuantely, i still cannot reproduce the issue on my local insallation. Can you please post FTP logins here privately if you do not mind so we can look further into it?
Best regards,
Yigit
No problem
Hey!
Thank you for the info. We modified the config-templatebuilder > aviashortcodes > button_fullwidth.php file and the mentioned line in the error.
//we dont need a closing structure if the element is the first one or if a previous fullwidth element was displayed before
if(!isset($meta['index'])) $meta['index'] = 0;
if($meta['index'] == 0) $params['close'] = false;
Regards,
Ismael