( ! ) Deprecated: Return type of Mos\HTMLForm\CForm::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 48
Call Stack
#TimeMemoryFunctionLocation
10.0006360928{main}( ).../index.php:0
20.0014363640{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMCheckboxMultiple' ).../index.php:21
30.0028365256include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMCheckboxMultiple.php ).../autoloader.php:41
40.0028365256{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMCheckboxMultiple.php:9
50.0035366336include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0035366336{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0055367384include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CForm::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 58
Call Stack
#TimeMemoryFunctionLocation
10.0006360928{main}( ).../index.php:0
20.0014363640{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMCheckboxMultiple' ).../index.php:21
30.0028365256include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMCheckboxMultiple.php ).../autoloader.php:41
40.0028365256{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMCheckboxMultiple.php:9
50.0035366336include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0035366336{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0055367384include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CForm::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 39
Call Stack
#TimeMemoryFunctionLocation
10.0006360928{main}( ).../index.php:0
20.0014363640{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMCheckboxMultiple' ).../index.php:21
30.0028365256include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMCheckboxMultiple.php ).../autoloader.php:41
40.0028365256{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMCheckboxMultiple.php:9
50.0035366336include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0035366336{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0055367384include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CForm::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 53
Call Stack
#TimeMemoryFunctionLocation
10.0006360928{main}( ).../index.php:0
20.0014363640{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFMCheckboxMultiple' ).../index.php:21
30.0028365256include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFMCheckboxMultiple.php ).../autoloader.php:41
40.0028365256{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormModel' ).../CFMCheckboxMultiple.php:9
50.0035366336include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormModel.php ).../autoloader.php:41
60.0035366336{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CForm' ).../CFormModel.php:9
70.0055367384include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CFormElement::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php on line 63
Call Stack
#TimeMemoryFunctionLocation
10.0006360928{main}( ).../index.php:0
20.0060366176Mos\HTMLForm\CFMCheckboxMultiple->__construct( ).../index.php:21
30.0060367736Mos\HTMLForm\CForm->__construct( $form = ['id' => 'Mos\\HTMLForm\\CFMCheckboxMultiple'], $elements = ['items' => ['type' => 'checkbox-multiple', 'values' => [...], 'checked' => [...]], 'submit' => ['type' => 'submit', 'callback' => [...]], 'submit-fail' => ['type' => 'submit', 'callback' => [...]]] ).../CFMCheckboxMultiple.php:17
40.0060367736Mos\HTMLForm\CForm->create( $form = ['id' => 'Mos\\HTMLForm\\CFMCheckboxMultiple'], $elements = ['items' => ['type' => 'checkbox-multiple', 'values' => [...], 'checked' => [...]], 'submit' => ['type' => 'submit', 'callback' => [...]], 'submit-fail' => ['type' => 'submit', 'callback' => [...]]] ).../CForm.php:31
50.0060368112{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0076368808include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CFormElement::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php on line 83
Call Stack
#TimeMemoryFunctionLocation
10.0006360928{main}( ).../index.php:0
20.0060366176Mos\HTMLForm\CFMCheckboxMultiple->__construct( ).../index.php:21
30.0060367736Mos\HTMLForm\CForm->__construct( $form = ['id' => 'Mos\\HTMLForm\\CFMCheckboxMultiple'], $elements = ['items' => ['type' => 'checkbox-multiple', 'values' => [...], 'checked' => [...]], 'submit' => ['type' => 'submit', 'callback' => [...]], 'submit-fail' => ['type' => 'submit', 'callback' => [...]]] ).../CFMCheckboxMultiple.php:17
40.0060367736Mos\HTMLForm\CForm->create( $form = ['id' => 'Mos\\HTMLForm\\CFMCheckboxMultiple'], $elements = ['items' => ['type' => 'checkbox-multiple', 'values' => [...], 'checked' => [...]], 'submit' => ['type' => 'submit', 'callback' => [...]], 'submit-fail' => ['type' => 'submit', 'callback' => [...]]] ).../CForm.php:31
50.0060368112{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0076368808include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CFormElement::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php on line 49
Call Stack
#TimeMemoryFunctionLocation
10.0006360928{main}( ).../index.php:0
20.0060366176Mos\HTMLForm\CFMCheckboxMultiple->__construct( ).../index.php:21
30.0060367736Mos\HTMLForm\CForm->__construct( $form = ['id' => 'Mos\\HTMLForm\\CFMCheckboxMultiple'], $elements = ['items' => ['type' => 'checkbox-multiple', 'values' => [...], 'checked' => [...]], 'submit' => ['type' => 'submit', 'callback' => [...]], 'submit-fail' => ['type' => 'submit', 'callback' => [...]]] ).../CFMCheckboxMultiple.php:17
40.0060367736Mos\HTMLForm\CForm->create( $form = ['id' => 'Mos\\HTMLForm\\CFMCheckboxMultiple'], $elements = ['items' => ['type' => 'checkbox-multiple', 'values' => [...], 'checked' => [...]], 'submit' => ['type' => 'submit', 'callback' => [...]], 'submit-fail' => ['type' => 'submit', 'callback' => [...]]] ).../CForm.php:31
50.0060368112{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0076368808include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:41

( ! ) Deprecated: Return type of Mos\HTMLForm\CFormElement::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php on line 73
Call Stack
#TimeMemoryFunctionLocation
10.0006360928{main}( ).../index.php:0
20.0060366176Mos\HTMLForm\CFMCheckboxMultiple->__construct( ).../index.php:21
30.0060367736Mos\HTMLForm\CForm->__construct( $form = ['id' => 'Mos\\HTMLForm\\CFMCheckboxMultiple'], $elements = ['items' => ['type' => 'checkbox-multiple', 'values' => [...], 'checked' => [...]], 'submit' => ['type' => 'submit', 'callback' => [...]], 'submit-fail' => ['type' => 'submit', 'callback' => [...]]] ).../CFMCheckboxMultiple.php:17
40.0060367736Mos\HTMLForm\CForm->create( $form = ['id' => 'Mos\\HTMLForm\\CFMCheckboxMultiple'], $elements = ['items' => ['type' => 'checkbox-multiple', 'values' => [...], 'checked' => [...]], 'submit' => ['type' => 'submit', 'callback' => [...]], 'submit-fail' => ['type' => 'submit', 'callback' => [...]]] ).../CForm.php:31
50.0060368112{closure:/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/autoloader.php:15-43}( $class = 'Mos\\HTMLForm\\CFormElement' ).../CForm.php:86
60.0076368808include( '/home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CFormElement.php ).../autoloader.php:41
CForm Example: Multiple forms in one page

CForm Example: Multiple forms in one page


( ! ) Fatal error: Uncaught Error: Call to undefined function Mos\HTMLForm\each() in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 278
( ! ) Error: Call to undefined function Mos\HTMLForm\each() in /home/saxon/teachers/com/mosstud/www/kod-exempel/cform/src/HTMLForm/CForm.php on line 278
Call Stack
#TimeMemoryFunctionLocation
10.0006360928{main}( ).../index.php:0
20.0108372816Mos\HTMLForm\CForm->getHTML( $options = ??? ).../index.php:33
30.0108373632Mos\HTMLForm\CForm->getHTMLForElements( $options = ['start' => FALSE, 'columns' => 1, 'use_buttonbar' => TRUE, 'use_fieldset' => TRUE, 'legend' => NULL] ).../CForm.php:242