Compatibility issues with PHP7 even with new Supermint Version

Permalink Browser Info Environment
Hi,

Thanks for the latest release of Supermint to help with PHP7 Compatibility. Unfortunately it doesn't seem that all of the issues were resolved. When we updated our website to PHP7 this morning, we encountered two issues within the Supermint Options.

1) Within the Supermint Options, some of the navigation and site settings were switched (namely our connection to the marketplace, and displaying icons in the nav bar). When I went to switch them back to what we want for our website, I clicked "Save" and the happy dialog box popped up saying "Options Saved" but in reality, they were not saved.

2) The entire page for Font Settings was broken. Here is the text of the error message:
[Whoops\Exception\ErrorException thrown with message "Declaration of Concrete\Package\ThemeSupermint\Controller\SinglePage\Dashboard\SupermintOptions\Fonts::save_options() should be compatible with Concrete\Package\ThemeSupermint\Controller\SinglePage\Dashboard\SupermintOptions::save_options($POST = NULL)"

Stacktrace:
#14 Whoops\Exception\ErrorException in /home/staffdev/public_html/packages/theme_supermint/controllers/single_page/dashboard/supermint_options/fonts.php:9
#13 Whoops\Run:handleError in <#unknown>:0
#12 call_user_func_array in /home/staffdev/public_html/updates/concrete5.7.5.8_remote_updater/concrete/src/Error/Run/PHP7CompatibleRun.php:36
#11 Concrete\Core\Error\Run\PHP7CompatibleRun:__call in /home/staffdev/public_html/packages/theme_supermint/controllers/single_page/dashboard/supermint_options/fonts.php:9
#10 require in /home/staffdev/public_html/updates/concrete5.7.5.8_remote_updater/concrete/src/Foundation/ModifiedPsr4ClassLoader.php:88
#9 Concrete\Core\Foundation\ModifiedPsr4ClassLoader:loadClass in <#unknown>:0
#8 spl_autoload_call in <#unknown>:0
#7 class_exists in /home/staffdev/public_html/updates/concrete5.7.5.8_remote_updater/concrete/src/Page/Page.php:208
#6 Concrete\Core\Page\Page:getPageController in /home/staffdev/public_html/updates/concrete5.7.5.8_remote_updater/concrete/src/Routing/DispatcherRouteCallback.php:193
#5 Concrete\Core\Routing\DispatcherRouteCallback:execute in /home/staffdev/public_html/updates/concrete5.7.5.8_remote_updater/concrete/src/Application/Application.php:448
#4 Concrete\Core\Application\Application:dispatch in /home/staffdev/public_html/updates/concrete5.7.5.8_remote_updater/concrete/bootstrap/start.php:305
#3 require in /home/staffdev/public_html/updates/concrete5.7.5.8_remote_updater/concrete/dispatcher.php:36
#2 require in /home/staffdev/public_html/concrete/bootstrap/configure.php:52
#1 require in /home/staffdev/public_html/concrete/dispatcher.php:18
#0 require_once in /home/staffdev/public_html/index.php:3]

Switching our website back to PHP Version 5.6.18 resolved both of these issues.

Type: Discussion
Status: In Progress
View Replies:
sebastienj replied on at Permalink Reply
sebastienj
Ok, noted !
briggsys replied on at Permalink Reply
briggsys
I can confrim I also had problems with PHP7 on a new install as per this threadhttps://www.concrete5.org/marketplace/themes/supermint-3/support/edi...

When I went down to PHP 5.4, the problems were solved.
sebastienj replied on at Permalink Reply
sebastienj
Fixed on the next update
dcsberlin replied on at Permalink Reply
Confirmed. Runs well on PHP 7 now!

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.8
Version Installed - 5.7.5.8
Database Version - 20160412000000

# concrete5 Packages
Supermint Theme (3.3.2).

# concrete5 Overrides
blocks/search/templates/truncated_result.php, blocks/search/templates, blocks/search, languages/messages.po, languages/messages.pot, languages/messages.mo, views/simplesite_default_view.php, src/TruncateService.php, blocks/search/templates/truncated_result.php, blocks/search/templates, blocks/search, languages/messages.po, languages/messages.pot, languages/messages.mo, views/simplesite_default_view.php, src/TruncateService.php

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.18

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, suhosin, tokenizer, xml, xmlreader, xmlwriter, Zend Guard Loader, Zend OPcache, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
suhosin.cookie.max_array_depth - 50
suhosin.cookie.max_array_index_length - 64
suhosin.cookie.max_name_length - 64
suhosin.cookie.max_totalname_length - 256
suhosin.cookie.max_value_length - 10000
suhosin.cookie.max_vars - 100
suhosin.executor.include.max_traversal - 0
suhosin.executor.max_depth - 750
suhosin.get.max_array_depth - 50
suhosin.get.max_array_index_length - 64
suhosin.get.max_name_length - 64
suhosin.get.max_totalname_length - 256
suhosin.get.max_value_length - 512
suhosin.get.max_vars - 100
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 0
suhosin.post.max_array_depth - 50
suhosin.post.max_array_index_length - 64
suhosin.post.max_name_length - 64
suhosin.post.max_totalname_length - 256
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 1000
suhosin.request.max_array_depth - 50
suhosin.request.max_array_index_length - 64
suhosin.request.max_totalname_length - 256
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 64
suhosin.request.max_vars - 1000
suhosin.session.max_id_length - 128
suhosin.upload.max_uploads - 25
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17

Hide Post Content

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

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.