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.
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 |
Ok, noted !
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.
When I went down to PHP 5.4, the problems were solved.
Fixed on the next update
Confirmed. Runs well on PHP 7 now!