Fatal error: Uncaught TypeError: Argument 4 passed to create_thumb() must be of the type string, boolean given, called in /home/haghn/dphp/image.php on line 106 and defined in /home/haghn/dphp/image.php:39 Stack trace: #0 /home/haghn/dphp/image.php(106): create_thumb('img/bd/bd_arsi/...', 350, 'sys/th', true, true) #1 /home/haghn/www/config.php(35): create_gallery('img/bd/bd_arsi', 350, 'sys/th', 'm-box', false, true) #2 /home/haghn/dphp/parse.php(121): {closure}('img/bd/bd_arsi') #3 /home/haghn/dphp/parse.php(162): to_html(Array, Array) #4 /home/haghn/www/route.php(122): to_html_page(Array, Array, Array) #5 {main} thrown in /home/haghn/dphp/image.php on line 39