• Resolved stylebham

    (@stylebham)


    Hi i have just updated to the latest version of your plugin but it will not allow me to activate it, it gives me this error

    Fatal error: Cannot redeclare my_theme_register_required_plugins() (previously declared in /homepages/28/d555053296/htdocs/wp-content/themes/simplemag/admin/tgm/tgm-init.php:31) in /homepages/28/d555053296/htdocs/wp-content/plugins/competition-form/required_plugin/required-plugins.php on line 163

    Do yo have any fixes to this? i need to export competition entries from my forms asap

    Thanks

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

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

    (@raiserweb)

    Hi stylebham

    I have fixed this and updated the plugin to version 1.7, which should be available shortly

    Thanks

    Thread Starter stylebham

    (@stylebham)

    Hi,

    I’ve just updated and activated and i now get this error

    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

    Plugin Author raiserweb

    (@raiserweb)

    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’ );

    Hi stylebham,

    The Simple-Mag theme is using an out-of-date version of an external library (TGMPA) and they really should upgrade to the latest version.
    Upgrading that library to the current version will fix this without having to change code in the Competition form plugin.

    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.

    All the same, I’d highly recommend that you contact the developer of the theme and ask them to release a new version of the theme which includes this upgrade.

    Hope this helps.

    Smile,
    Juliette

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error after update’ is closed to new replies.