WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Greybox
    Member
    Posted 10 months 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 4 months 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 4 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.