Title: Error log
Last modified: May 22, 2023

---

# Error log

 *  Resolved [kanojia](https://wordpress.org/support/users/kanojia/)
 * (@kanojia)
 * [3 years ago](https://wordpress.org/support/topic/error-log-124/)
 * Hi
 * I love your plugin.. just work as perfect for my need..
 * I need help with one thing I got an error log stating — Cannot redeclare for 
   generate_name_html()
   I have multiple files having the same codes but slight filters
   in every file.. but after updating all posts with shortcodes in the post I got
   that error
 * Can you help me to fix this error

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years ago](https://wordpress.org/support/topic/error-log-124/#post-16762051)
 * Hi [@kanojia](https://wordpress.org/support/users/kanojia/),
 * Thank you for your feedback – we’re happy to hear you like the plugin.
 * If you are using the snippet as a shortcode and you are declaring a function 
   in it you should add a check to make sure the function wasn’t previously declared
   using “function_exists()”.
 * Alternatively, you can try adjusting the snippet so that you don’t declare a 
   function in the shortcode.
 *  Thread Starter [kanojia](https://wordpress.org/support/users/kanojia/)
 * (@kanojia)
 * [3 years ago](https://wordpress.org/support/topic/error-log-124/#post-16763600)
 * Hi we have rss diff data which we using shortcodes in multiple posts using same
   php and html funtions this maybe creating a cause coz its calling multiple times
   although with diff data but same appraoch..
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years ago](https://wordpress.org/support/topic/error-log-124/#post-16763618)
 * Hi [@kanojia](https://wordpress.org/support/users/kanojia/),
 * Yes, if you are using the same function name in different shortcodes you will
   run into that error. If you need more detailed info on this please reach out 
   via our contact form at [https://wpcode.com/contact](https://wpcode.com/contact)
   so that you can share some of the snippet code privately and we’ll try to provide
   some alternatives.
 *  Thread Starter [kanojia](https://wordpress.org/support/users/kanojia/)
 * (@kanojia)
 * [3 years ago](https://wordpress.org/support/topic/error-log-124/#post-16763652)
 * This error is not coming now.. but the issue still there… not actully harming
   anything .. just wanted to know if that cause any problem in performance and 
   speed level?
 * Using same php html 20 times for 20 diff shortcodes for posts to fatch diff data
   just cahning only one parament.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error log’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [kanojia](https://wordpress.org/support/users/kanojia/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/error-log-124/#post-16763652)
 * Status: resolved