我收到一个PHP错误,我需要帮助以解决问题:
[Fri May 08 10:20:41.234655 2015] [:error] [pid 6969] [client 207.183.229.82:3038] PHP注意:未知:1。h-> opened_path = [null] h-> filename = [/ var / www / example.com / htdocs / wp-admin / network / site-new.php] \ n在第0行的未知中,引用者:http://example.com/wp-admin/network/site-new.php
当我尝试添加新网站时,会在全新安装的WordPress上发生这种情况。
但是什么是未知的标记,为什么它未知?我查看了文件wp-admin/network/site-new.php
的第0行,它只包含了php标记的开头:<?php
当我POST
加入Wordpress操作/wp-admin/network/site-new.php
时会出现此错误。此尝试实际上将243条消息添加到我的错误日志中。以下是前三个:
[Fri May 08 10:20:41.234655 2015] [:error] [pid 6969] [client 207.183.229.82:3038] PHP Notice: Unknown: 1. h->opened_path=[null] h->filename=[/var/www/example.com/htdocs/wp-admin/network/site-new.php]\n in Unknown on line 0, referer: http://example.com/wp-admin/network/site-new.php
[Fri May 08 10:20:41.234716 2015] [:error] [pid 6969] [client 207.183.229.82:3038] PHP Notice: Unknown: apc_cache_find [1627723]\n in Unknown on line 0, referer: http://example.com/wp-admin/network/site-new.php
[Fri May 08 10:20:41.235364 2015] [:error] [pid 6969] [client 207.183.229.82:3038] PHP Notice: Unknown: 2. h->opened_path=[/var/www/example.com/htdocs/wp-admin/network/site-new.php] h->filename=[/var/www/example.com/htdocs/wp-admin/network/site-new.php]\n in Unknown on line 0, referer: http://example.com/wp-admin/network/site-new.php