You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre><code><h1>Return value of Typecho\Request::getUrlPrefix() must be of the type string, null returned</h1>TypeError: Return value of Typecho\Request::getUrlPrefix() must be of the type string, null returned in /volume2/web/blogs/var/Typecho/Request.php:509
Stack trace:
#0 /volume2/web/blogs/var/Typecho/Request.php(219): Typecho\Request->getUrlPrefix()#1 /volume2/web/blogs/var/Typecho/Widget/Request.php(158): Typecho\Request->getRequestRoot()#2 /volume2/web/blogs/var/Widget/Options.php(168): Typecho\Widget\Request->getRequestRoot()#3 /volume2/web/blogs/var/Typecho/Widget.php(151): Widget\Options->execute()#4 /volume2/web/blogs/var/Typecho/Widget.php(183): Typecho\Widget::widget('Widget\\Options', NULL, NULL, true)#5 /volume2/web/blogs/var/Widget/Init.php(61): Typecho\Widget::alloc()#6 /volume2/web/blogs/var/Typecho/Widget.php(151): Widget\Init->execute()#7 /volume2/web/blogs/var/Typecho/Widget.php(183): Typecho\Widget::widget('Widget\\Init', NULL, NULL, true)#8 /volume2/web/blogs/index.php(17): Typecho\Widget::alloc()#9 {main}</code></pre>
GNU/Linux Synology Diskstation x64, php 7.4, mysql latest
2. 你期待的结果是什么?实际看到的又是什么?
期望正常访问,实际提示图1、图2.
3. 问题出现的环境
操作系统版本:x86_64 GNU/Linux Synology Diskstation
Apache/NGINX 版本:Apache 2.4
数据库版本:MySQL MariaDB 10
PHP 版本:PHP 7.4
Typecho 版本:Typecho 1.2.0-beta.1
浏览器版本:Microsoft Edge Version 93.0.961.38 (Official build) (64-bit)
The text was updated successfully, but these errors were encountered:
1. 该问题的重现步骤是什么?
完成升级后打开首页,提示如下:
使用
ssh
连接到服务器后通过php
运行之后提示如下问题:2. 你期待的结果是什么?实际看到的又是什么?
期望正常访问,实际提示图1、图2.
3. 问题出现的环境
x86_64 GNU/Linux Synology Diskstation
Apache 2.4
MySQL MariaDB 10
PHP 7.4
Typecho 1.2.0-beta.1
Microsoft Edge Version 93.0.961.38 (Official build) (64-bit)
The text was updated successfully, but these errors were encountered: