Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Victus Posted November 4, 2021 Posted November 4, 2021 Hello, when I try to set the "Prune Member IP Addresses" & "Prune Member Device History" to "1 days" I get the following error: TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given (0) #0 /home/*/public_html/applications/core/modules/admin/membersettings/profilesettings.php(80): preg_match() #1 /home/*/public_html/system/Helpers/Form/Custom.php(49): IPS\core\modules\admin\membersettings\_profilesettings->IPS\core\modules\admin\membersettings\{closure}() #2 /home/*/public_html/system/Helpers/Form/FormAbstract.php(270): IPS\Helpers\Form\_Custom->html() #3 /home/*/public_html/system/Helpers/Form/Custom.php(65): IPS\Helpers\Form\_FormAbstract->rowHtml() #4 /home/*/public_html/system/Helpers/Form/Form.php(456): IPS\Helpers\Form\_Custom->rowHtml() #5 /home/*/public_html/applications/core/modules/admin/membersettings/profilesettings.php(259): IPS\Helpers\_Form->__toString() #6 /home/*/public_html/system/Dispatcher/Controller.php(101): IPS\core\modules\admin\membersettings\_profilesettings->manage() #7 /home/*/public_html/applications/core/modules/admin/membersettings/profilesettings.php(41): IPS\Dispatcher\_Controller->execute() #8 /home/*/public_html/applications/core/modules/admin/membersettings/profiles.php(59): IPS\core\modules\admin\membersettings\_profilesettings->execute() #9 /home/*/public_html/system/Dispatcher/Controller.php(101): IPS\core\modules\admin\membersettings\_profiles->__call() #10 /home/*/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #11 /home/*/public_html/admin/index.php(13): IPS\_Dispatcher->run() #12 {main}
Solution Jim M Posted November 4, 2021 Solution Posted November 4, 2021 The value must be more than 6 days there. It should be returning a validation message rather than that error, however. If you insert a number larger than 6, do you still get this error? SeNioR- 1
Victus Posted November 13, 2021 Author Posted November 13, 2021 On 11/4/2021 at 8:33 PM, Jim M said: The value must be more than 6 days there. It should be returning a validation message rather than that error, however. If you insert a number larger than 6, do you still get this error? No, I don't. Thanks for clearing that up. Jim M and Marc 2
Marc Posted November 15, 2021 Posted November 15, 2021 Glad to hear thats now sorted for you. I have created a bug report so that we can resolve the initial issue for future. Victus 1
Recommended Posts