Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/phim/public_html/templates/themes/phim/usercontrols/schema.ctp on line 104

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/phim/public_html/templates/themes/phim/usercontrols/schema.ctp:138 Stack trace: #0 /home/phim/public_html/templates/themes/phim/usercontrols/schema.php(3): include() #1 /home/phim/public_html/class/template.php(13): include('/home/phim/publ...') #2 /home/phim/public_html/templates/themes/phim/01_body.php(46): Template::UserControlTPL('schema') #3 /home/phim/public_html/templates/themes/phim/index.php(159): include('/home/phim/publ...') #4 /home/phim/public_html/templates/templates.php(20): include('/home/phim/publ...') #5 /home/phim/public_html/templates/do-main.php(220): require('/home/phim/publ...') #6 /home/phim/public_html/index.php(264): include('/home/phim/publ...') #7 {main} thrown in /home/phim/public_html/templates/themes/phim/usercontrols/schema.ctp on line 138