I was claiming that Moodle 5.2 "runs" in my environment. It is only partly true. I can upgrade 5.1 to 5.2 but can not install 5.2 fresh. I get with full debugging:
Warning: Undefined property: stdClass::$fullname in /var/www/html/www04/public/lib/classes/output/core_renderer.php on line 2636
Environment: Debian GNU/Linux 13 (trixie), 11.8.6-MariaDB-0+deb13u1, PHP 8.3.30 PHP-FPM, Nginx. Site conf is below:
Warning: Undefined property: stdClass::$fullname in /var/www/html/www04/public/lib/classes/output/core_renderer.php on line 2636
Exception - has_capability(): Argument #2 ($context) must be of type context, null given, called in [dirroot]/lib/classes/route/controller/page_not_found_controller.php on line 129
Debug info:
Error code: generalexceptionmessage
Error code: generalexceptionmessage
Stack trace:
- line 432 of /public/lib/accesslib.php: TypeError thrown
- line 129 of /public/lib/classes/route/controller/page_not_found_controller.php: call to has_capability()
- line 87 of /public/lib/classes/route/controller/page_not_found_controller.php: call to core\route\controller\page_not_found_controller->get_message_form()
- line 46 of /public/lib/classes/router/error_renderer.php: call to core\route\controller\page_not_found_controller->page_not_found_handler()
- line 300 of /vendor/slim/slim/Slim/Handlers/ErrorHandler.php: call to core\router\error_renderer->__invoke()
- line 135 of /vendor/slim/slim/Slim/Handlers/ErrorHandler.php: call to Slim\Handlers\ErrorHandler->respond()
- line 91 of /vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php: call to Slim\Handlers\ErrorHandler->__invoke()
- line 78 of /vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php: call to Slim\Middleware\ErrorMiddleware->handleException()
- line 121 of /vendor/slim/slim/Slim/MiddlewareDispatcher.php: call to Slim\Middleware\ErrorMiddleware->process()
- line 65 of /vendor/slim/slim/Slim/MiddlewareDispatcher.php: call to Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/www04/vendor/slim/slim/Slim/MiddlewareDispatcher.php:108$34e->handle()
- line 199 of /vendor/slim/slim/Slim/App.php: call to Slim\MiddlewareDispatcher->handle()
- line 183 of /vendor/slim/slim/Slim/App.php: call to Slim\App->handle()
- line 337 of /public/lib/classes/router.php: call to Slim\App->run()
- line 53 of /public/r.php: call to core\router->serve()
Exception - Call to a member function get_navigation_overflow_state() on null
Debug info:
Error code: generalexceptionmessage
Error code: generalexceptionmessage
Stack trace:
- line 580 of /public/lib/classes/navigation/views/secondary.php: Error thrown
- line 69 of /public/theme/boost/layout/drawers.php: call to core\navigation\views\secondary->get_overflow_menu_data()
- line 961 of /public/lib/classes/output/core_renderer.php: call to include()
- line 877 of /public/lib/classes/output/core_renderer.php: call to core\output\core_renderer->render_page_layout()
- line 2639 of /public/lib/classes/output/core_renderer.php: call to core\output\core_renderer->header()
- line 0 of : call to core\output\core_renderer->fatal_error()
- line 109 of /public/lib/classes/output/bootstrap_renderer.php: call to call_user_func_array()
- line 181 of /public/lib/setuplib.php: call to core\output\bootstrap_renderer->__call()
- line 0 of : call to default_exception_handler()
Environment: Debian GNU/Linux 13 (trixie), 11.8.6-MariaDB-0+deb13u1, PHP 8.3.30 PHP-FPM, Nginx. Site conf is below:
server {
server_name www04.EXAMPLE.com;
root /var/www/html/www04/public;
index index.html index.php;
location / {
try_files $uri /r.php;
}
location ~ \.php(/|$) {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name $fastcgi_script_name/;
fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
include fastcgi_params;
fastcgi_param PATH_INFO $path_info;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
}