scribu / wp-posts-to-posts

Efficient many-to-many connections between posts, pages, custom post types, users.
http://wordpress.org/plugins/posts-to-posts/
975 stars 261 forks source link

Fatal error: Cannot redeclare scb_init() #543

Open misfist opened 7 years ago

misfist commented 7 years ago

I'm using posts-to-posts in one of my plugins and am getting a fatal error when activating another plugin that's using scb-framework. Since my plugin isn't calling scb-framework directly, I'm not sure how I might be able fix the issue.

Fatal error: Cannot redeclare scb_init() (previously declared in /var/www/usworker/wordpress/wp-content/plugins/anp-meetings/libs/posts-to-posts/vendor/scribu/scb-framework/load.php:101) in /var/www/usworker/wordpress/wp-content/plugins/postmatic/vendor/scribu/scb-framework/load-composer.php on line 12

Similar issues reported here:

https://github.com/postmatic/postmatic-basic/issues/80 https://github.com/scribu/wp-scb-framework/issues/50