( ! ) Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /ssd1/www/moodle501/lib/classes/output/core_renderer.php on line 1012 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0965 | 9510152 | default_exception_handler( $ex = class core\exception\coding_exception { protected $message = 'Coding error detected, it must be fixed by a programmer: Cannot call moodle_page::add_body_class after output has been started.'; private string ${Exception}string = ''; protected $code = 0; protected string $file = '/ssd1/www/moodle501/lib/pagelib.php'; protected int $line = 1364; private array ${Exception}trace = [0 => [...]]; private ?Throwable ${Exception}previous = NULL; public $errorcode = 'codingerror'; public $module = 'debug'; public $a = 'Cannot call moodle_page::add_body_class after output has been started.'; public $link = ''; public $debuginfo = NULL } ) | .../setuplib.php:0 |
2 | 0.0969 | 9512064 | core\output\core_renderer->fatal_error( $message = 'Coding error detected, it must be fixed by a programmer: Cannot call moodle_page::add_body_class after output has been started.', $moreinfourl = 'https://docs.moodle.org/500/en/error/debug/codingerror', $link = 'https://elearning.smkn12malang.sch.id/', $backtrace = [0 => ['file' => '/ssd1/www/moodle501/lib/pagelib.php', 'line' => 1364, 'exception' => 'core\\exception\\coding_exception'], 1 => ['file' => '/ssd1/www/moodle501/user/profile.php', 'line' => 87, 'function' => 'add_body_class', 'class' => 'moodle_page', 'type' => '->']], $debuginfo = '\nError code: codingerror', $errorcode = 'codingerror' ) | .../setuplib.php:178 |
3 | 0.1143 | 12341784 | core\output\core_renderer->footer( ) | .../core_renderer.php:2651 |
4 | 0.1148 | 12341904 | str_replace( $search = '%%PERFORMANCEINFO-ZR6PCelRY7%%', $replace = '', $subject = NULL ) | .../core_renderer.php:1012 |