Error manually placing AddToAny: Subscribe in sidebar
-
I am trying to manually place the AddToAny:Subscribe widget manually on my page. I am using the code provided on the Settings -> Subscribe Buttons page:
<?php if( class_exists('Add_to_Any_Subscribe_Widget') ) { Add_to_Any_Subscribe_Widget::display(); } ?>
However, when the page is rendered I get the following errors:
Warning: Missing argument 2 for Add_to_Any_Subscribe_Widget::display(), called in /home/tahsiafriedman/tahsiafriedman.com/tahsiablog/wp-content/themes/hope-child/sidebar.php on line 4 and defined in /home/tahsiafriedman/tahsiafriedman.com/tahsiablog/wp-content/plugins/add-to-any-subscribe/add-to-any-subscribe.php on line 53
Fatal error: Call to undefined function widget() in /home/tahsiafriedman/tahsiafriedman.com/tahsiablog/wp-content/plugins/add-to-any-subscribe/add-to-any-subscribe.php on line 54
The website is https://tahsiafriedman.com. However I have removed the code because it renders the website virtually unusable.
Any ideas???
P.S. – I’m new to the forums. Sorry if I’ve broken rules by replying to and editing my own posts.
- The topic ‘Error manually placing AddToAny: Subscribe in sidebar’ is closed to new replies.