Thank you, Andre! Below is the stack trace I got.
[d7e9d262] /xxx/index.php/Welcome MWException from line 1287 of /var/www/xxx/includes/parser/Preprocessor_DOM.php: PPFrame_DOM::expand: Invalid parameter type
Backtrace:
#0 /var/www/xxx/includes/parser/Parser.php(3342): PPFrame_DOM->expand(NULL, integer) #1 /var/www/xxx/includes/parser/Parser.php(645): Parser->replaceVariables(string, PPFrame_DOM) #2 /var/www/xxx/includes/parser/Parser.php(5081): Parser->preprocess(string, Title, ParserOptions) #3 /var/www/xxx/includes/cache/MessageCache.php(1020): Parser->transformMsg(string, ParserOptions, Title) #4 /var/www/xxx/includes/Message.php(1129): MessageCache->transform(string, boolean, Language, Title) #5 /var/www/xxx/includes/Message.php(797): Message->transformText(string) #6 /var/www/xxx/includes/Message.php(860): Message->toString() #7 /var/www/xxx/includes/OutputPage.php(958): Message->text() #8 /var/www/xxx/includes/OutputPage.php(1005): OutputPage->setHTMLTitle(Message) #9 /var/www/xxx/includes/page/Article.php(514): OutputPage->setPageTitle(string) #10 /var/www/xxx/includes/actions/ViewAction.php(44): Article->view() #11 /var/www/xxx/includes/MediaWiki.php(490): ViewAction->show() #12 /var/www/xxx/includes/MediaWiki.php(287): MediaWiki->performAction(Article, Title) #13 /var/www/xxx/includes/MediaWiki.php(714): MediaWiki->performRequest() #14 /var/www/xxx/includes/MediaWiki.php(508): MediaWiki->main() #15 /var/www/xxx/index.php(41): MediaWiki->run() #16 {main}
The versions of the new server are: CentOS 7 Apache/2.4.51 PHP 7.4.25 mysql Ver 8.0.23 MediaWiki version 1.26.2
As I am restoring from my backup files and the old server was down, I don't have the information about the old server.
Please let me know if more information is needed! Thank you and look forward to any further help!
Best, Catherine
On Mon, Oct 25, 2021 at 7:02 AM mediawiki-l-request@lists.wikimedia.org wrote:
Message: 2 Date: Mon, 25 Oct 2021 09:35:25 +0200 From: Andre Klapper aklapper@wikimedia.org Subject: [MediaWiki-l] Re: Pages not showing with error messages To: MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org Message-ID: 98b3b562efecc4af73a67f7582f69c2834b62b2d.camel@wikimedia.org Content-Type: text/plain; charset="UTF-8"
Hi,
On Sun, 2021-10-24 at 23:55 -0500, Jingyi C. Shi wrote:
I am restoring my mediawiki website on a new server. It happened this error: [4027854c] /dir/index.php/Welcome_to_MyWebsite MWException from line 1287 of /var/www/xxx/dir/includes/parser/Preprocessor_DOM.php: PPFrame_DOM::expand: Invalid parameter type
Please see https://www.mediawiki.org/wiki/Manual:How_to_debug to get a stacktrace and provide MediaWiki and PHP version information for both servers.
Thanks, andre -- Andre Klapper (he/him) | Bugwrangler / Developer Advocate https://blogs.gnome.org/aklapper/
On Sun, Oct 24, 2021 at 11:55 PM Jingyi C. Shi jshizhang@gmail.com wrote:
Dear all,
I am restoring my mediawiki website on a new server. It happened this error: [4027854c] /dir/index.php/Welcome_to_MyWebsite MWException from line 1287 of /var/www/xxx/dir/includes/parser/Preprocessor_DOM.php: PPFrame_DOM::expand: Invalid parameter type
Do you have any ideas? What does it indicate? I look forward to any help. Thank you all!
Best, Catherine