Warning: Trying to access array offset on value of type null in /home/l2stom/domains/l2custom.com/public_html/forum/classes/Node/Container/Document.php on line 1013

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/l2stom/domains/l2custom.com/public_html/forum/classes/Node/Container/Document.php:1013 Stack trace: #0 /home/l2stom/domains/l2custom.com/public_html/forum/classes/Node/Container/Document.php(1013): count() #1 /home/l2stom/domains/l2custom.com/public_html/forum/classes/Node/Container/Document.php(913): SBBCodeParser\Node_Container_Document->SBBCodeParser\{closure}() #2 /home/l2stom/domains/l2custom.com/public_html/forum/classes/Node/Container/Document.php(1032): SBBCodeParser\Node_Container_Document->loop_text_nodes() #3 /home/l2stom/domains/l2custom.com/public_html/pages/home.php(119): SBBCodeParser\Node_Container_Document->detect_emoticons() #4 /home/l2stom/domains/l2custom.com/public_html/func.php(7): include('...') #5 /home/l2stom/domains/l2custom.com/public_html/index.php(29): get_include_contents() #6 {main} thrown in /home/l2stom/domains/l2custom.com/public_html/forum/classes/Node/Container/Document.php on line 1013