Undefined index error
-
Hi-
In order to place sharing where I want it, I am using the shortcode in page templates like this:
<?php do_shortcode('[wp_social_sharing social_options="facebook,pinterest,linkedin,twitter,googleplus" facebook_text="Share on Facebook" twitter_text="Share on Twitter" googleplus_text="Share on Google+" linkedin_text="Share on Linkedin" pinterest_text="Share on Pinterest" icon_order="f,p,l,t,g" show_icons="0"]'); ?>
In most cases it it right before the closing tag for the content div.
I get this error:
Notice: Undefined index: pinterest_image in /home4/mimi/public_html/wp-content/plugins/wp-social-sharing/includes/class-public.php on line 75
Can this be fixed?
I have this problem whether I use show_icons=”0″ 0r show_icons=”1″ in the shortcode.
I get the error both is custom templates and native wordpress ones.
I am using the latest version of WP and the plug-in.
Thank you.
- The topic ‘Undefined index error’ is closed to new replies.