WordPress.org

Forums

Post Like Dislike
[resolved] Fatal error (3 posts)

  1. Greybox
    Member
    Posted 1 year ago #

    Fatal error: Cannot redeclare my_plugin_options() (previously declared in /services/webpages/n/i/.../public/wordpress/wp-content/plugins/posts-for-page/posts-for-page.php:383) in /services/webpages/n/i/.../public/wordpress/wp-content/plugins/post-like-dislike/post-like-dislike.php on line 367

    http://wordpress.org/plugins/post-like-dislike/

  2. CuvixSystem
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Greybox
    you used some other plugin which is used same function name which is used here , so just deactivate that plugin or change the function name. I will work fine

  3. Greybox
    Member
    Posted 1 year ago #

    This is not a proper way to resolve the situation. Plugin developers should use unique function names. Otherwise the users will have to manually rename the functions every time the plugin is updated.

    Is it possible for you to rename your function to something like
    post_like_dislike_options()? This will resolve the problem for good.

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post Like Dislike
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.