Adriano Faria Posted October 26, 2022 Posted October 26, 2022 C:\wamp64\www\beta\system\Helpers\Form\FormAbstract.php:312: object(Whoops\Exception\ErrorException)[328] protected 'message' => string 'explode(): Passing null to parameter #2 ($string) of type string is deprecated' (length=78) private string 'string' (Exception) => string '' (length=0) protected 'code' => int 8192 protected string 'file' => string 'C:\Windows\Temp\theF15.tmp' (length=26) protected int 'line' => int 10 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\theF15.tmp' (length=26) 'line' => int 10 'function' => string 'explode' (length=7) 'args' => array (size=2) ... 2 => array (size=4) 'file' => string 'C:\wamp64\www\beta\system\Theme\Dev\Template.php' (length=48) 'line' => int 171 'function' => string 'IPS\Theme\theme_core_global_forms_text' (length=38) 'args' => array (size=14) ... 3 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Helpers\Form\Text.php' (length=47) 'line' => int 156 '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\beta\system\Helpers\Form\FormAbstract.php' (length=55) 'line' => int 270 'function' => string 'html' (length=4) 'class' => string 'IPS\Helpers\Form\_Text' (length=22) 'type' => string '->' (length=2) 'args' => array (size=0) ... 5 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Helpers\Form\Form.php' (length=47) '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:\wamp64\www\beta\system\Node\Controller.php' (length=45) 'line' => int 509 'function' => string '__toString' (length=10) 'class' => string 'IPS\Helpers\_Form' (length=17) 'type' => string '->' (length=2) 'args' => array (size=0) ... 7 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Node\Controller.php' (length=45) 'line' => int 476 'function' => string '_showForm' (length=9) 'class' => string 'IPS\Node\_Controller' (length=20) 'type' => string '->' (length=2) 'args' => array (size=1) ... 8 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Dispatcher\Controller.php' (length=51) 'line' => int 107 'function' => string 'form' (length=4) 'class' => string 'IPS\Node\_Controller' (length=20) 'type' => string '->' (length=2) 'args' => array (size=0) ... 9 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Node\Controller.php' (length=45) 'line' => int 69 'function' => string 'execute' (length=7) 'class' => string 'IPS\Dispatcher\_Controller' (length=26) 'type' => string '->' (length=2) 'args' => array (size=0) ... 10 => array (size=6) 'file' => string 'C:\wamp64\www\beta\applications\core\modules\admin\applications\plugins.php' (length=75) 'line' => int 48 'function' => string 'execute' (length=7) 'class' => string 'IPS\Node\_Controller' (length=20) 'type' => string '->' (length=2) 'args' => array (size=0) ... 11 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Dispatcher\Dispatcher.php' (length=51) 'line' => int 153 'function' => string 'execute' (length=7) 'class' => string 'IPS\core\modules\admin\applications\_plugins' (length=44) 'type' => string '->' (length=2) 'args' => array (size=0) ... 12 => array (size=6) 'file' => string 'C:\wamp64\www\beta\admin\index.php' (length=34) '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: explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\Windows\Temp\theF15.tmp on line <i>10</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='#eeeeec'>Mem'... (length=9546) SeNioR- 1
Adriano Faria Posted July 27, 2023 Author Posted July 27, 2023 @Matt, PHP 8.1 will be the minimum version for V5, right? I still can't develop using 8.1. I have a lot of exceptions when IN_DEV is on.
Adriano Faria Posted July 27, 2023 Author Posted July 27, 2023 5 minutes ago, Matt said: For v5, correct. I still can't develop using 8.1. I have a lot of exceptions when IN_DEV is on. Does it happen with anyone else?
Management Matt Posted July 27, 2023 Management Posted July 27, 2023 What version of Invision Community are you running?
DawPi Posted July 27, 2023 Posted July 27, 2023 5 minutes ago, Adriano Faria said: I still can't develop using 8.1. I have a lot of exceptions when IN_DEV is on. Does it happen with anyone else? Me. 🙂 Adriano Faria 1
Adriano Faria Posted July 27, 2023 Author Posted July 27, 2023 6 minutes ago, Matt said: What version of Invision Community are you running? IPS 4.7.12 with PHP 8.1.21. Give me a few minutes. LEt me make a fresh install, with no 3rd-party resources.
Solution Stuart Silvester Posted July 27, 2023 Solution Posted July 27, 2023 It only happens if you have DEBUG_TEMPLATES enabled (because it bypasses the deprecation suppression in Whoops), but we'll get this fixed Adriano Faria and DawPi 1 1
Adriano Faria Posted July 27, 2023 Author Posted July 27, 2023 5 minutes ago, Stuart Silvester said: It only happens if you have DEBUG_TEMPLATES enabled (because it bypasses the deprecation suppression in Whoops), but we'll get this fixed Oh ok, that fixed it. DEV_DEBUG_CSS also breaks 4.7.
Marc Posted September 6, 2023 Posted September 6, 2023 This issue was resolved in the recently released 4.7.13 release. Please update in order to fix this issue, and if you see any problem after that point, please let us know.
Recommended Posts