运行 我网站在本地主机上的服务器代码上的数组到字符串的转换

Array to string conversion on running my website's server code on local host

我正在使用 joomla 3.5.0。我正在尝试 运行 使用 xamp 在我的本地主机上我的服务器代码。我收到以下错误:

注意:C:\xampp\htdocs\Site\libraries\joomla\registry\registry.php 中的数组到字符串的转换,第 356 行

注意:第 358 行 \xampp\htdocs\Site\libraries\joomla\registry\registry.php 中 C:\xampp\htdocs\Site\libraries\joomla\registry\registry.php 中数组到字符串的转换

注意:第 361 行 \xampp\htdocs\Site\libraries\joomla\registry\registry.php 中 C:\xampp\htdocs\Site\libraries\joomla\registry\registry.php 中数组到字符串的转换

注意:C:\xampp\htdocs\Site\libraries\joomla\registry\registry.php 中的数组到字符串的转换,第 365 行

注意:C:\xampp\htdocs\Site\libraries\joomla\registry\registry.php 中的数组到字符串的转换,第 356 行

代码为:第353至366行

// Traverse the registry to find the correct node for the result.
            for ($i = 0, $n = count($nodes) - 1; $i < $n; $i++)
            {
                if (!isset($node->$nodes[$i]) && ($i != $n))
                {
                    $node->$nodes[$i] = new stdClass;
                }

                $node = (object) $node->$nodes[$i];
            }

            // Get the old value if exists so we can return it
            $result = $node->$nodes[$i] = $value;
        }

我也配置了 configuration.php 文件。

请帮我解决这个问题。

谢谢

Xampp 有时似乎有问题 运行 Joomla 在某些环境下。您可以尝试 Wamp Server,类似的堆栈替代方案。

Read more Joomla forum