Update for compatibility with PHP 7.2

Permalink Browser Info Environment
Hi!
I used this theme for a number of websites. Now my provider is planning to change the PHP version of the server for all customers to PHP 7.2. By March 2020 all PHP Versions prior to 7.2 will be deactivated.
Are you planning to provide an updated version of this theme that will be compatible with PHP 7.2?
I am willing to pay for the updated version if necessary because many of my client's sites were build with the Supermint Theme.

Best Regards Maria

Type: Pre-Sale
Status: In Progress
Solanum
View Replies:
plschneide replied on at Permalink Reply
plschneide
I've run into this issue too. Any updates?
76West replied on at Permalink Reply
76West
Looks like the developer has not checked in for a while, and I'm noting that their website has not been online since ~2018, according to the WayBack Machine.

I hope he's ok and just moved on to other pursuits. Sebastien J. developed good themes and addons for Concrete5, did great work and was very responsive to support requests.
plschneide replied on at Permalink Reply
plschneide
Solanum gave me some help and I was able to apply those changes and get things working.
Ditto on best wishes!
76West replied on at Permalink Reply
76West
Awesome. Are either of you able to share the changes? Now that the Supermint theme is "free" it could really be helpful to other folks to keep their sites future proof.
plschneide replied on at Permalink Reply
plschneide
Yes since it is free now I think that is okay.

You just need to change a few lines in :
\packages\theme_supermint\src\Models\ThemeSupermintOptions.php

The new files will look like this (just replace the entire code):
<?php
namespace Concrete\Package\ThemeSupermint\Src\Models;
defined('C5_EXECUTE') or die(_("Access Denied."));
error_reporting(E_STRICT);
use \Concrete\Core\Legacy\Model;
use \Concrete\Core\Foundation\ConcreteObject;
Issue Reply
Message
use Loader;
use Config;
use Package;
use User;
use DOMDocument;
use Core;
use Page;

concrete5 Environment Information

# concrete5 Version
Core Version - 8.3.2
Version Installed - 8.4.5
Database Version - 20180122213656

# concrete5 Packages
EU Cookie Law (1.1.0), Simple Blog setup (1.0.1), Supermint Theme (3.4.1.3)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - In all cases.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.39

# Server API
cgi-fcgi

# PHP Version
7.1.15

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, SimpleXML, soap, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 100M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 8M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

Click below to request a refund for License #8103833. Assigned to Hausarztpraxis Bojanowski.
Created on Feb 03 2018 at 1:40 pm
.