Adriano Faria Posted June 15, 2022 Share Posted June 15, 2022 The release notes says it is compatible but I got some errors. - When I try to go to Support page ( http://localhost/47X/admin/?app=core&module=support&controller=support&_new=1 ): Quote Whoops\Exception\ErrorException thrown with message "explode(): Passing null to parameter #2 ($string) of type string is deprecated" Stacktrace: #13 Whoops\Exception\ErrorException in C:\Windows\Temp\theAD1C.tmp:10 #12 explode in C:\Windows\Temp\theAD1C.tmp:10 #11 IPS\Theme\theme_core_global_forms_text in C:\wamp64\www\47x\system\Theme\Dev\Template.php:171 #10 IPS\Theme\Dev\_Template:__call in C:\wamp64\www\47x\system\Helpers\Form\Text.php:156 #9 IPS\Helpers\Form\_Text:html in C:\Windows\Temp\theAD1B.tmp:60 #8 IPS\Theme\theme_core_admin_support_guideSearchForm in C:\wamp64\www\47x\system\Theme\Dev\Template.php:171 #7 IPS\Theme\Dev\_Template:__call in C:\wamp64\www\47x\system\Helpers\Form\Form.php:519 #6 IPS\Helpers\_Form:customTemplate in C:\Windows\Temp\theACFB.tmp:249 #5 IPS\Theme\theme_core_admin_support_dashboard in C:\wamp64\www\47x\system\Theme\Dev\Template.php:171 #4 IPS\Theme\Dev\_Template:__call in C:\wamp64\www\47x\applications\core\modules\admin\support\support.php:67 #3 IPS\core\modules\admin\support\_support:manage in C:\wamp64\www\47x\system\Dispatcher\Controller.php:118 #2 IPS\Dispatcher\_Controller:execute in C:\wamp64\www\47x\applications\core\modules\admin\support\support.php:48 #1 IPS\core\modules\admin\support\_support:execute in C:\wamp64\www\47x\system\Dispatcher\Dispatcher.php:153 #0 IPS\_Dispatcher:run in C:\wamp64\www\47x\admin\index.php:13 - When I try to build an app: Quote C:\wamp64\www\47x\system\Helpers\Form\FormAbstract.php:312: object(Whoops\Exception\ErrorException)[321] protected 'message' => string 'htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated' (length=87) private string 'string' (Exception) => string '' (length=0) protected 'code' => int 8192 protected string 'file' => string 'C:\Windows\Temp\the10B2.tmp' (length=27) protected int 'line' => int 86 private array 'trace' (Exception) => array (size=13) 0 => array (size=4) 'function' => string 'handleError' (length=11) 'class' => string 'Whoops\Run' (length=10) 'type' => string '->' (length=2) 'args' => array (size=4) ... 1 => array (size=4) 'file' => string 'C:\Windows\Temp\the10B2.tmp' (length=27) 'line' => int 86 'function' => string 'htmlspecialchars' (length=16) 'args' => array (size=4) ... 2 => array (size=4) 'file' => string 'C:\wamp64\www\47x\system\Theme\Dev\Template.php' (length=47) 'line' => int 171 'function' => string 'IPS\Theme\theme_core_global_forms_radio' (length=39) 'args' => array (size=12) ... 3 => array (size=6) 'file' => string 'C:\wamp64\www\47x\system\Helpers\Form\Radio.php' (length=47) 'line' => int 109 'function' => string '__call' (length=6) 'class' => string 'IPS\Theme\Dev\_Template' (length=23) 'type' => string '->' (length=2) 'args' => array (size=2) ... 4 => array (size=6) 'file' => string 'C:\wamp64\www\47x\system\Helpers\Form\FormAbstract.php' (length=54) 'line' => int 270 'function' => string 'html' (length=4) 'class' => string 'IPS\Helpers\Form\_Radio' (length=23) 'type' => string '->' (length=2) 'args' => array (size=0) ... 5 => array (size=6) 'file' => string 'C:\wamp64\www\47x\system\Helpers\Form\Form.php' (length=46) 'line' => int 456 'function' => string 'rowHtml' (length=7) 'class' => string 'IPS\Helpers\Form\_FormAbstract' (length=30) 'type' => string '->' (length=2) 'args' => array (size=1) ... 6 => array (size=6) 'file' => string 'C:\Windows\Temp\the106F.tmp' (length=27) 'line' => int 20 'function' => string '__toString' (length=10) 'class' => string 'IPS\Helpers\_Form' (length=17) 'type' => string '->' (length=2) 'args' => array (size=0) ... 7 => array (size=4) 'file' => string 'C:\wamp64\www\47x\system\Theme\Dev\Template.php' (length=47) 'line' => int 171 'function' => string 'IPS\Theme\theme_core_admin_global_blankTemplate' (length=47) 'args' => array (size=1) ... 8 => array (size=6) 'file' => string 'C:\wamp64\www\47x\system\Dispatcher\Dispatcher.php' (length=50) 'line' => int 168 'function' => string '__call' (length=6) 'class' => string 'IPS\Theme\Dev\_Template' (length=23) 'type' => string '->' (length=2) 'args' => array (size=2) ... 9 => array (size=6) 'file' => string 'C:\wamp64\www\47x\system\Dispatcher\Standard.php' (length=48) 'line' => int 113 'function' => string 'finish' (length=6) 'class' => string 'IPS\_Dispatcher' (length=15) 'type' => string '->' (length=2) 'args' => array (size=0) ... 10 => array (size=6) 'file' => string 'C:\wamp64\www\47x\init.php(927) : eval()'d code' (length=47) 'line' => int 19 'function' => string 'finish' (length=6) 'class' => string 'IPS\Dispatcher\_Standard' (length=24) 'type' => string '->' (length=2) 'args' => array (size=0) ... 11 => array (size=6) 'file' => string 'C:\wamp64\www\47x\system\Dispatcher\Dispatcher.php' (length=50) 'line' => int 155 'function' => string 'finish' (length=6) 'class' => string 'IPS\Dispatcher\nexus_hook_DispatcherAdmin' (length=41) 'type' => string '->' (length=2) 'args' => array (size=0) ... 12 => array (size=6) 'file' => string 'C:\wamp64\www\47x\admin\index.php' (length=33) 'line' => int 13 'function' => string 'run' (length=3) 'class' => string 'IPS\_Dispatcher' (length=15) 'type' => string '->' (length=2) 'args' => array (size=0) ... private ?Throwable 'previous' (Exception) => null protected int 'severity' => int 8192 public 'xdebug_message' => string '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Whoops\Exception\ErrorException: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Windows\Temp\the10B2.tmp on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#e'... (length=14045) Should I wait for 4.7.0 final to use it in development mode? Thanks. -- EDIT: Fresh 4.7.0 Beta 7 install; no 3rd-party. Link to comment Share on other sites More sharing options...
Solution Stuart Silvester Posted June 15, 2022 Solution Share Posted June 15, 2022 It should work if you remove the DEBUG_TEMPLATES constant from your constants.php file. We're still working through the deprecation notices and those will be addressed in future (not 4.7.0) releases but they're not a problem for right now. SeNioR- and Adriano Faria 2 Link to comment Share on other sites More sharing options...
Recommended Posts