• Resolved stanislavozernyi

    (@stanislavozernyi)


    After the latest WordPress update, Gamipress buttons not working.

    I have this error in the console:

    Uncaught TypeError: gamipress_button is undefined

    All plugins are updated to the latest versions.

    Do you know what it can be?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @stanislavozernyi !!

    May you have some of your custom code?
    It’s pretty weird because “gamipress_button” is a JavaScript variable and our script always loads with it.

    Another possible problem is that you have installed a plugin or theme in your WordPress that is in conflict with GamiPress, since it may be that it is loading the GamiPress script elsewhere, for example there are “optimization” plugins that advance the loading of the scripts, making, as in your case, that the script is loaded before the variables it needs.

    For this I recommend that you carry out a conflict test.
    There is an explanation about how to perform this: https://gamipress.com/docs/troubleshooting/theme-and-plugins-conflict-test/

    Thread Starter stanislavozernyi

    (@stanislavozernyi)

    Hello @pacogon

    You are right!

    I created staging and changed the theme to default Twenty Twenty-One and it’s working.

    Strange that I didn’t update this theme (Memberoni) for a while because there were no updates.

    I need to find what is blocking the script now.

    Hi @stanislavozernyi !

    I’m glad it works for you.

    ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘gamipress_button is undefined’ is closed to new replies.