• This is the error showing up.

    Parse error: syntax error, unexpected ‘if’ (T_IF) in /home/rrmundra/public_html/aviralresources.com/wp-content/themes/magnis/framework/class-tgm-plugin-activation.php on line 1

    Can someone please help me in getting this rectified.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try replacing this file with a copy from your last backup, or a fresh unedited copy: /magnis/framework/class-tgm-plugin-activation.php

    If that doesn’t work, use your ftp client or the file manager in your hosts control panel to rename or remove the magnis theme folder. When you log back in, the default WordPress theme should take over and let you back in.

    Or you could try replacing that file (wp-content/themes/magnis/framework/class-tgm-plugin-activation.php) with the latest version of TGMPA which you can download for free: http://tgmpluginactivation.com/download/

    TGMPA is a helper library which handles dependencies between the theme and plugins.
    The theme appears to use the very out-of-date version 2.4.0, while the current version of TGMPA is 2.5.2.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Parse Error’ is closed to new replies.