Support » Plugin: DB Toolkit » Fatal error when activating

  • I’m receiving the following error when trying to activate the plugin. Any help is appreciated.

    Fatal error: Cannot redeclare add_admin_menu_separator() (previously declared in /nfs/c03/h03/mnt/168108/domains/<domain>/html/wp-content/themes/crowdpress/_theme_settings/theme-functions.php:430) in /nfs/c03/h03/mnt/168108/domains/<domain>/html/wp-content/plugins/db-toolkit/libs/functions.php on line 631

    http://wordpress.org/plugins/db-toolkit/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same here :/

    Fatal error: Cannot redeclare add_admin_menu_separator() (previously declared in /web/htdocs1/<domain>/home/www/test/wp-content/themes/oakland/theme/functions/theme-functions.php:240) in /web/htdocs1/<domain>/home/www/test/wp-content/plugins/db-toolkit/libs/functions.php on line 631

    Plugin Author David Cramer

    (@desertsnowman)

    ah! the wonderful world of clashing function names. The only reason I would consider objects in php.

    I’ll post a fix for you on that matter.

    Thread Starter rdb

    (@rdb)

    Yeah. Also had a function issue that prevented me from activating my theme. How is the fix coming along?

    Plugin Author David Cramer

    (@desertsnowman)

    its coming on fairly well. I’m prefixing all my functions with dbt_

    Not a perfect fix but does reduce the likelihood of a clash.
    I’ll update ASAP to the github branch

    Thread Starter rdb

    (@rdb)

    Any update on this?

    Plugin Author David Cramer

    (@desertsnowman)

    still got lots to do on it, but I’ve updated the 0.4 branch on github to fix that specific problem. https://github.com/Desertsnowman/DB-Toolkit/tree/v0.4

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error when activating’ is closed to new replies.