Aw, snap! Internal Server Error [debug @ print,error_log] - https://chv.to/v3debug

** errorId #1d7a353f80807396 **
>> ErrorException [0]: substr_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated
At /gallery/lib/G/functions.php:232

Stack trace:
#0 unknown file(unknown line): G\errorsAsExceptions()
#1 /gallery/lib/G/functions.php(232): substr_replace()
#2 /gallery/app/themes/Peafowl/head.php(113): G\str_replace_last()
#3 /gallery/lib/G/functions.render.php(39): require('/gallery/app/themes/Peafowl/head.php')
#4 /gallery/app/themes/Peafowl/header.php(2): G\Render\include_theme_file()
#5 /gallery/lib/G/functions.render.php(39): require('/gallery/app/themes/Peafowl/header.php')
#6 /gallery/lib/G/functions.render.php(46): G\Render\include_theme_file()
#7 /gallery/app/themes/Peafowl/views/index.php(4): G\Render\include_theme_header()
#8 /gallery/lib/G/classes/class.handler.php(426): require_once('/gallery/app/themes/Peafowl/views/index.php')
#9 /gallery/lib/G/classes/class.handler.php(151): G\Handler->loadTemplate()
#10 /gallery/app/web.php(415): G\Handler->__construct()
#11 /gallery/app/loader.php(240): require_once('/gallery/app/web.php')
#12 /gallery/index.php(21): include_once('/gallery/app/loader.php')