• Hi Team ,

    Can you check please why this pluging not working this error below, how to resolve
    ___________________________________________________________________________

    Fatal error: Cannot redeclare tgmpa() (previously declared in /home/edutoxtk/public_html/fashionfarmer/wp-content/plugins/woocommerce-check-pincode-zipcode-for-shipping/libs/tgm/class-tgm-plugin-activation.php:2126) in /home/edutoxtk/public_html/fashionfarmer/wp-content/themes/philos/framework/plugins/class-tgm-plugin-activation.php on line 2118
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • @delhistreet This is not a problem with this plugin.

    This is typically caused by a theme author of the Philos theme having done an incorrect search & replace in the TGMPA file.

    The simplest way to get round this, is to replace the file.

    1. Download the current version of the library from https://tgmpluginactivation.com/download/ (for your purposes, just click on the “Zipball” link below the form)
    2. Unzip the file and
    3. Copy/upload (via FTP) just the class-tgm-plugin-activation.php file to the /home/edutoxtk/public_html/fashionfarmer/wp-content/themes/philos/framework/plugins/ directory of your website, replacing the existing class-tgm-plugin-activation.php file.

    Once you’ve done that, all should be fine again.

    All the same, please contact the Theme author and ask them to update the TGMPA file they include with their theme. They should download a fresh copy of TGMPA using the Custom TGMPA Generator, which will serve them with a customized download of TGMPA which will automagically have done the search & replace the correct way.
    https://tgmpluginactivation.com/download/

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin not working’ is closed to new replies.