Envira Gallery Key not working for addons / Need Help

Hello, I’ve been trying to get help with this for awhile now. I’m hoping someone can help me.

I’ve sent Envira Gallery a note about the key not working, but I think this is an X Theme Pro issue. This is frustrating because I really want to use this gallery and some of the addons, but can’t do so because the key won’t input correctly. In the past, I used the code provided by you guys as a workaround and it worked initially. After I updated X Pro, it stopped working. Here’s the initial workaround code:

add_action( ‘after_setup_theme’, ‘x_show_envira_license’ );
function x_show_envira_license() {
remove_action( ‘envira_gallery_admin_styles’, ‘x_envira_gallery_hide_key_box’ );
remove_action( ‘admin_print_scripts’, ‘x_envira_gallery_hide_license_errors’, 20 );
}

Also, when I use the code to activate the key input field, it defaults with a character already in the field (see screenshot with the one character already in the field). So, when I input my envira gallery license key, it won’t verify.

I don’t know if you guys disabled this or what, but it’s needed for those of us who want to use the premium version. Just for clarity, I did purchase the plugin separately from the one X Pro offers in the package. I also have paid for the license to use all of the addons. To spend this type of money and the plugin not work fully with the theme, is kind of unfair to those of us who have used X Theme/Pro for some years now. These types of changes make you want to switch themes, unfortunately.

Screenshot is attached. I will also send a private note with WordPress login info.

Hi @thatcreativeguy,

Would you mind sharing your Envira Gallery product key in the secure note so that we can take a closer look? Once we can confirm the issues, you can remove it after.

Thank you.

Will do! See secure note for product key.

Hello @thatcreativeguy,

Thanks for writing in!

add_action( 'after_setup_theme', 'x_show_envira_license' );
function x_show_envira_license() {
remove_action( 'envira_gallery_admin_styles', 'x_envira_gallery_hide_key_box' );
remove_action( 'admin_print_scripts', 'x_envira_gallery_hide_license_errors', 20 );
}

The given code above only unhides the license key verification option of the plugin because it is hidden by default when you install the X or Pro theme. The plugin creators advised us to hide the license verification option since we have bundled the plugin in the theme. We do not have any code that blocks the license.

The issue you are having is probably related to the incorrect license code. Please go and double-check your Envira Gallery plugin license code. Here’s how you can test and prove that the license code is incorrect.
1.) Create a staging site with fresh WP install.
2.) Go to Appearance > Themes and make sure that you only use the Twenty Twenty theme. DO NOT install X or Pro theme
3.) Go to the plugins section and install the Envira Gallery plugin. You can download the plugin from their site since you have a license code.
4.) Once the Envira Gallery plugin is activated, go to Envira Gallery > Settings and verify your license code.

See the secure note.

Best Regards.

Ok, thanks. I will try that. Thanks so much!

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.