This is not an issue with the ProfilePress plugin, but with the theme you are using.
The theme author has a typo (or rather, search and replace error) in their code.
The TGMPA file in the theme will have a line looking like this:
if ( ! function_exists( 'theme-slug' ) ) {
That line should read:
if ( ! function_exists( 'tgmpa' ) ) {
As they incorrectly changed it, the function is being redefined causing that error.
If you replace that one line in the TGMPA library included in the theme with the line above, the plugin and the theme will play nice together ??
Alternatively, you can just drop in replace the TGMPA file which is included with the theme for the same result:
- Download the current version of the TGMPA library from https://tgmpluginactivation.com/download/ (for your purposes, just click on the “Zipball” link below the form)
- Unzip the file and
- Copy/upload (via FTP) just the
class-tgm-plugin-activation.php
file to the directory in which the theme currently has the file in your website, effectively replacing the existing class-tgm-plugin-activation.php
file.
Please ask the theme author to fix this and tell them the following:
“If you download a fresh copy of TGMPA using the Custom TGMPA Generator, it will serve you with a customized download of TGMPA which will automagically have done the search & replace for you in the correct way.
https://tgmpluginactivation.com/download/ ”
Hope this helps.
Smile,
Juliette