• Resolved marbs

    (@marbs)


    I am using this great plugin with Beehive premium theme.

    The developer of my theme says:

    The gamipress issue was caused by the cmb2 plugin. Both the gamipress and the theme use cmb2 plugin for the metabox fields. Somehow those two collides

    The theme’s posts/pages have custom fields but they appear in an error (see below):
    Here’s the screenshot of the error

    “Anyway, we would suggest using the mycred plugin instead of the gamipress,” he continued.

    I want to stick with Gamipress.

    Please advice?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @marbs !!

    CMB2 is a widely used library used by many themes and plugins.

    You can have 5 plugins on your site that use the same library and you will not have problems since CMB2 has mechanisms to avoid producing collision errors.

    The problem is that the theme you are using loads CMB2 without this collision mechanism and it is probably a very old version of CMB2 (GamiPress always updates to the latest version of CMB2 to avoid conflicts).

    With which, I recommend that you ask the author of the theme to update his version of CMB2 and use the collision avoidance mechanisms as the rest of the team does.

    Hope it helps!

    Thread Starter marbs

    (@marbs)

    Hi @pacogon

    I don’t quite understand with “I recommend that you ask the author of the theme to update his version of CMB2”. The theme use a mutual plugin named CMB2 Version 2.9.0.

    Waiting for your response to forward to the theme developer.

    Thanks in advance Paco.

    Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @marbs !!

    Possibly the author of the theme is not using the library version, this library is responsible for loading from various plugins or themes without generating errors.

    There are thousands of themes and plugins that are using this library (not the plugin version, the library version of CMB2), this library is designed not to cause problems if several plugins or themes load it, so it is your theme that is not loading it correctly and that’s why you have this error.

    In addition, our team of developers knows the library well since our CEO Rubén has contributed to the CMB2 library.

    Thread Starter marbs

    (@marbs)

    Gracias @pacogon I will forward this to the Theme dev. Meanwhile here is his reaction on your previous comment:

    The theme uses the latest version of the CMB2 plugin. We understand where this problem comes from. CMB2 doesn’t have tabs by default, so we added tab functions through the theme. The error is triggered by this chunk of code when gamipress is active because the gamipress and the theme initiate CMB2 a bit differently. Anyway, if you insist on using the gamipress plugin, we’ll have to discuss with our developers to see if we can disable those tabs on your site only. Let us have some time.

    Thread Starter marbs

    (@marbs)

    Hi, we don’t use the library version of the CMB2 plugin. We don’t include it as a library. Rather we recommend the plugin from wordpress repo and you install it as a plugin. Anyway, as mentioned earlier, we already know the reason for this. So have us some time and we’ll see if we can give you a custom solution. Thanks

    Plugin Contributor Paco González Pérez

    (@pacogon)

    You’re welcome @marbs !!

    If you have any other questions or problems, contact me.

    Well, do it too if you want to open a ticket from this link. https://gamipress.com/contact-us/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Gamipress & Theme issue caused by using CMB2 plugin’ is closed to new replies.