• Resolved stylebham

    (@stylebham)


    Hi,

    after updating to the latest version i am getting the following error message from the plugin:

    Fatal error: Cannot redeclare tgmpa_load_bulk_installer() (previously declared in /homepages/28/d555053296/htdocs/wp-content/plugins/competition-form/required_plugin/class-tgm-plugin-activation.php:2932) in /homepages/28/d555053296/htdocs/wp-content/themes/simplemag/admin/tgm/class-tgm-plugin-activation.php on line 2204

    Do you know how to fix this?

    https://www.ads-software.com/plugins/competition-form/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author raiserweb

    (@raiserweb)

    Hi,

    OK this appears to be an error within your theme.

    One solution for you would be to go to line 43 of plugins/competition-form/competition-form.php and change it from this:

    include( ‘required_plugin/required-plugins.php’ );

    to this:

    //include( ‘required_plugin/required-plugins.php’ );

    Anytime you update this plugin, you’ll need to do the above

    Regards

    I concur with @raiserweb – this is an error coming from the theme.

    The theme is using an outdated version of the external TGM Plugin Activation library and they should really upgrade. Please inform the theme author of this.

    In the mean time, you can fix this yourself by applying the upgrade to your installation.

    1. Download the current version of the library from https://tgmpluginactivation.com/download/
    2. Unzip the file and
    3. Copy/upload (via FTP) just the class-tgm-plugin-activation.php file to the /wp-content/themes/simplemag/admin/tgm/ directory of your website, replacing the existing class-tgm-plugin-activation.php file.

    Once you’ve done that, all should be fine again and you won’t need to comment out the line in the Competition Form plugin.

    Hope this helps.

    Smile,
    Juliette

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Still receiving error message after update of plugin’ is closed to new replies.