Title: Fatal error when activating plugin
Last modified: August 30, 2016

---

# Fatal error when activating plugin

 *  Resolved [joffff](https://wordpress.org/support/users/joffff/)
 * (@joffff)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/)
 * Hi,
 * When I activate the plugin I’m getting a Fatal Error:
 * `Fatal error: Class 'CMB_Field' not found in /somepath/public_html/wp-content/
   plugins/wpbroadbean/functions/admin/metaboxes.php on line 61`
 * Any suggestions please?
 * [https://wordpress.org/plugins/wpbroadbean/](https://wordpress.org/plugins/wpbroadbean/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Mark Wilkinson](https://wordpress.org/support/users/wpmarkuk/)
 * (@wpmarkuk)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6333910)
 * The CMB class is included in the plugin. The plugin checks whether the class 
   is already loaded. If it is, it does not load the CMB functions but if not it
   does. The error you are getting is because it thinks the class is not loaded.
 * Have you any other plugins running using CMB? I cannot recreate the problem here.
 *  Thread Starter [joffff](https://wordpress.org/support/users/joffff/)
 * (@joffff)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6333918)
 * Ah it looks like it’s a conflict with another plugin (Map List Pro), thanks for
   your help.
 *  Thread Starter [joffff](https://wordpress.org/support/users/joffff/)
 * (@joffff)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6334214)
 * Hi Mark,
 * Further to this it looks like the two plugins are using conflicting versions 
   of CMB – you’re using 1.0.2 from Human Made ([https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress))
   whereas the other plugin is using 1.2.0 from Web Dev Studios ([https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress)).
 * Do you have any suggestions on the best way to resolve this?
 *  [pbmkt](https://wordpress.org/support/users/pbmkt/)
 * (@pbmkt)
 * [10 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6334293)
 * Hi Joff/Mark,
 * Was there ever a solution found to this issue? I’m having the same problems.
 * Cheers.
 *  Plugin Author [Mark Wilkinson](https://wordpress.org/support/users/wpmarkuk/)
 * (@wpmarkuk)
 * [10 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6334294)
 * I think this problem lies with the fact that both libraries mentioned have the
   same class name.
 *  [pbmkt](https://wordpress.org/support/users/pbmkt/)
 * (@pbmkt)
 * [10 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6334295)
 * what would be you suggestion to solve the issue mark? would it be as simple as
   renaming the class?
 *  [pbmkt](https://wordpress.org/support/users/pbmkt/)
 * (@pbmkt)
 * [10 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6334296)
 * appreciate your input btw
 *  Plugin Author [Mark Wilkinson](https://wordpress.org/support/users/wpmarkuk/)
 * (@wpmarkuk)
 * [10 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6334297)
 * Renaming the class would involve changing the other plugins mentioned above, 
   not something to do with this plugin.
 * What is the other plugin out of interest please?
 *  [pbmkt](https://wordpress.org/support/users/pbmkt/)
 * (@pbmkt)
 * [10 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6334298)
 * its part of a theme i recently purchased.
 * i believe the conflicting plugin is: [https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress)
 *  [pbmkt](https://wordpress.org/support/users/pbmkt/)
 * (@pbmkt)
 * [10 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6334299)
 * seems jofff and i have the same issue, with same plugins

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Fatal error when activating plugin’ is closed to new replies.

 * ![](https://ps.w.org/wpbroadbean/assets/icon-256x256.png?rev=2046685)
 * [WP Broadbean](https://wordpress.org/plugins/wpbroadbean/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpbroadbean/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpbroadbean/)
 * [Active Topics](https://wordpress.org/support/plugin/wpbroadbean/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpbroadbean/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpbroadbean/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 10 replies
 * 3 participants
 * Last reply from: [pbmkt](https://wordpress.org/support/users/pbmkt/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-23/#post-6334299)
 * Status: resolved