WordPress.org

Ready to get started?Download WordPress

Forums

2-Klicks-Button - Socialshareprivacy Plugin
PHP Error when activating with activated phpbb (2 posts)

  1. Onkton
    Member
    Posted 2 years ago #

    Fatal error: Cannot redeclare create_admin_menu() (previously declared in /www/htdocs/xxx/xx/wordpress/wp-content/plugins/wp-phpbb-bridge/inc/wpbb_admin.php:138) in /www/htdocs/xxx/xx/wordpress/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 172

    This error i get, when activating this plugin.
    only if this one: is activated. (vice versa)

    both plugins working well without the other one activated...

    greets

    http://wordpress.org/extend/plugins/2-klicks-button-socialshareprivacy-plugin/

  2. Onkton
    Member
    Posted 2 years ago #

    solved:

    both plugins are using the same function name:

    function create_admin_menu()

    so i changed it in the "2-klicks-button-socialshareprivacy":

    i addet "_2klick" to the funktions name on lines 160 & 217:

    "create_admin_menu" -> "create_admin_menu_2klick"

    WORKS!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.