← Back to Import themes & plugins Support
ERROR We're sorry, but an unhandled error occurred. Please see the details below.
Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) /var/www/html/plugins/jagu/import/controllers/ImportTheme.php line 20
TYPE Undefined
EXCEPTION Symfony\Component\Debug\Exception\FatalThrowableError
14 15 16 17 18 19 20 21 22 23 24 25 26 use ZipArchive;
class ImportTheme extends \Backend\Classes\Controller { public $requiredPermissions = ['jagu.import.import'];
private const FILE_NAME = 'theme_zip';
private const REMOVE_ALL_EXISTING_FILES_SWITCH_NAME = 'remove_all_existing_files';
private const EXCLUDE_STATIC_CONTENT_SWITCH_NAME = 'replace_static_pages_content';
public function __construct()
{
parent::__construct();
Hello, thank you for your error report. This error is related to minimal required PHP version (which was 7.1) and you obviously use the lower version. I've just released new version of plugin. I made plugin compatible with lower PHP version. Please update plugin and let me know.
1-2 of 2