php 7 + cms 1.6.9 + Twocents 1.0beta2 (and other modules?) not working
Posted: Sun Apr 23, 2017 10:50 am
Dear Board!
I'm getting php errors when I try to use php 7 with the latest version of cmsimple_xh (1.6.9) and commentary module Twocents (1.0beta2). This is probably also true for other modules.
It looks like this issue is related to cmsimple_xh and not to the module.
Can anybody please reproduce the failure?
Christoph, is php 7 fully supported with latest cmsimple & latest approved modules?
Many thanks, Christian
Setup:
<h1>Gästebuch</h1>
<p>#CMSimple $output.=twocents();#</p>
Error messages:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function twocents(), 0 passed in <path>/cmsimple/functions.php(184) : eval()'d code on line 1 and exactly 1 expected in <path>/plugins/twocents/index.php:44
Stack trace:
#0 <path>/cmsimple/functions.php(184) : eval()'d code(1): twocents()
#1 <path>/cmsimple/functions.php(184): eval()
#2 <path>/cmsimple/functions.php(343): evaluate_cmsimple_scripting('<h1>G\xC3\xA4stebuch<...', true)
#3 <path>/cmsimple/cms.php(1333): evaluate_scripting('<h1>G\xC3\xA4stebuch<...')
#4 <path>/index.php(12): include('/var in <path>/plugins/twocents/index.php on line 44
I'm getting php errors when I try to use php 7 with the latest version of cmsimple_xh (1.6.9) and commentary module Twocents (1.0beta2). This is probably also true for other modules.
It looks like this issue is related to cmsimple_xh and not to the module.
Can anybody please reproduce the failure?
Christoph, is php 7 fully supported with latest cmsimple & latest approved modules?
Many thanks, Christian
Setup:
<h1>Gästebuch</h1>
<p>#CMSimple $output.=twocents();#</p>
Error messages:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function twocents(), 0 passed in <path>/cmsimple/functions.php(184) : eval()'d code on line 1 and exactly 1 expected in <path>/plugins/twocents/index.php:44
Stack trace:
#0 <path>/cmsimple/functions.php(184) : eval()'d code(1): twocents()
#1 <path>/cmsimple/functions.php(184): eval()
#2 <path>/cmsimple/functions.php(343): evaluate_cmsimple_scripting('<h1>G\xC3\xA4stebuch<...', true)
#3 <path>/cmsimple/cms.php(1333): evaluate_scripting('<h1>G\xC3\xA4stebuch<...')
#4 <path>/index.php(12): include('/var in <path>/plugins/twocents/index.php on line 44