Deprecated: Return type of Whoops\Exception\FrameCollection::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 101

Deprecated: Return type of Whoops\Exception\FrameCollection::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 110

Deprecated: Return type of Whoops\Exception\FrameCollection::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 119

Deprecated: Return type of Whoops\Exception\FrameCollection::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 128

Deprecated: Return type of Whoops\Exception\FrameCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 92

Deprecated: Whoops\Exception\FrameCollection implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 20

Deprecated: Return type of Whoops\Exception\FrameCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 137

Deprecated: Whoops\Exception\Frame implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Exception/Frame.php on line 12
框架出错
TypeError
implode(): Argument #2 ($array) must be of type ?array, string given TypeError thrown with message "implode(): Argument #2 ($array) must be of type ?array, string given" Stacktrace: #5 TypeError in /home/wwwroot/zhongbo/zhongbo/vendor/catfan/medoo/src/Medoo.php:291 #4 implode in /home/wwwroot/zhongbo/zhongbo/vendor/catfan/medoo/src/Medoo.php:291 #3 Medoo\Medoo:__construct in /home/wwwroot/zhongbo/zhongbo/core/lib/model.php:12 #2 core\lib\model:__construct in /home/wwwroot/zhongbo/zhongbo/api/ctrl/indexCtrl.php:15 #1 api\ctrl\indexCtrl:index in /home/wwwroot/zhongbo/zhongbo/core/base.php:28 #0 core\base:run in /home/wwwroot/zhongbo/zhongbo/index.php:53
Stack frames (6)
5
TypeError
/
vendor
/
catfan
/
medoo
/
src
/
Medoo.php
291
4
implode
/
vendor
/
catfan
/
medoo
/
src
/
Medoo.php
291
3
Medoo
\
Medoo
__construct
/
core
/
lib
/
model.php
12
2
core
\
lib
\
model
__construct
/
api
/
ctrl
/
indexCtrl.php
15
1
api
\
ctrl
\
indexCtrl
index
/
core
/
base.php
28
0
core
\
base
run
/
index.php
53
/
home
/
wwwroot
/
zhongbo
/
zhongbo
/
vendor
/
catfan
/
medoo
/
src
/
Medoo.php
            throw new InvalidArgumentException('Incorrect connection options');
        }
 
        $driver = $attr[ 'driver' ];
 
        if (!in_array($driver, PDO::getAvailableDrivers()))
        {
            throw new InvalidArgumentException("Unsupported PDO driver: {$driver}");
        }
 
        unset($attr[ 'driver' ]);
 
        $stack = [];
 
        foreach ($attr as $key => $value)
        {
            $stack[] = is_int($key) ? $value : $key . '=' . $value;
        }
 
        $dsn = $driver . ':' . implode($stack, ';');
 
        if (
            in_array($this->type, ['mysql', 'pgsql', 'sybase', 'mssql']) &&
            isset($options[ 'charset' ])
        )
        {
            $commands[] = "SET NAMES '{$options[ 'charset' ]}'" . (
                $this->type === 'mysql' && isset($options[ 'collation' ]) ?
                " COLLATE '{$options[ 'collation' ]}'" : ''
            );
        }
 
        $this->dsn = $dsn;
 
        try {
            $this->pdo = new PDO(
                $dsn,
                isset($options[ 'username' ]) ? $options[ 'username' ] : null,
                isset($options[ 'password' ]) ? $options[ 'password' ] : null,
                $option

Fatal error: During inheritance of ArrayAccess: Uncaught Whoops\Exception\ErrorException: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/Data.php:135 Stack trace: #0 /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/AbstractCloner.php(244): Whoops\Run->handleError() #1 /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/Data.php(19): Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner\{closure}() #2 /home/wwwroot/zhongbo/zhongbo/vendor/composer/ClassLoader.php(444): include('...') #3 /home/wwwroot/zhongbo/zhongbo/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile() #4 /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/AbstractCloner.php(255): Composer\Autoload\ClassLoader->loadClass() #5 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(169): Symfony\Component\VarDumper\Cloner\AbstractCloner->cloneVar() #6 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(208): Whoops\Util\TemplateHelper->dump() #7 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/frame_code.html.php(37): Whoops\Util\TemplateHelper->dumpArgs() #8 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #9 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #10 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #11 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/panel_details.html.php(1): Whoops\Util\TemplateHelper->render() #12 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #13 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #14 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #15 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/panel_details_outer.html.php(2): Whoops\Util\TemplateHelper->render() #16 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #17 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #18 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #19 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php(23): Whoops\Util\TemplateHelper->render() #20 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #21 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #22 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #23 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(252): Whoops\Util\TemplateHelper->render() #24 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Run.php(272): Whoops\Handler\PrettyPageHandler->handle() #25 [internal function]: Whoops\Run->handleException() #26 {main} in /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/Data.php on line 19
框架出错
Whoops \ Exception \ ErrorException (E_ERROR)
During inheritance of ArrayAccess: Uncaught Whoops\Exception\ErrorException: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/Data.php:135 Stack trace: #0 /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/AbstractCloner.php(244): Whoops\Run->handleError() #1 /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/Data.php(19): Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner\{closure}() #2 /home/wwwroot/zhongbo/zhongbo/vendor/composer/ClassLoader.php(444): include('...') #3 /home/wwwroot/zhongbo/zhongbo/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile() #4 /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/AbstractCloner.php(255): Composer\Autoload\ClassLoader->loadClass() #5 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(169): Symfony\Component\VarDumper\Cloner\AbstractCloner->cloneVar() #6 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(208): Whoops\Util\TemplateHelper->dump() #7 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/frame_code.html.php(37): Whoops\Util\TemplateHelper->dumpArgs() #8 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #9 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #10 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #11 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/panel_details.html.php(1): Whoops\Util\TemplateHelper->render() #12 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #13 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #14 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #15 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/panel_details_outer.html.php(2): Whoops\Util\TemplateHelper->render() #16 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #17 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #18 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #19 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php(23): Whoops\Util\TemplateHelper->render() #20 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #21 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #22 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #23 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(252): Whoops\Util\TemplateHelper->render() #24 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Run.php(272): Whoops\Handler\PrettyPageHandler->handle() #25 [internal function]: Whoops\Run->handleException() #26 {main} Whoops\Exception\ErrorException thrown with message "During inheritance of ArrayAccess: Uncaught Whoops\Exception\ErrorException: Return type of Symfony\Component\VarDumper\Cloner\Data::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/Data.php:135 Stack trace: #0 /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/AbstractCloner.php(244): Whoops\Run->handleError() #1 /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/Data.php(19): Symfony\Component\VarDumper\Cloner\AbstractCloner->Symfony\Component\VarDumper\Cloner\{closure}() #2 /home/wwwroot/zhongbo/zhongbo/vendor/composer/ClassLoader.php(444): include('...') #3 /home/wwwroot/zhongbo/zhongbo/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile() #4 /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/AbstractCloner.php(255): Composer\Autoload\ClassLoader->loadClass() #5 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(169): Symfony\Component\VarDumper\Cloner\AbstractCloner->cloneVar() #6 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(208): Whoops\Util\TemplateHelper->dump() #7 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/frame_code.html.php(37): Whoops\Util\TemplateHelper->dumpArgs() #8 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #9 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #10 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #11 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/panel_details.html.php(1): Whoops\Util\TemplateHelper->render() #12 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #13 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #14 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #15 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/panel_details_outer.html.php(2): Whoops\Util\TemplateHelper->render() #16 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #17 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #18 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #19 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php(23): Whoops\Util\TemplateHelper->render() #20 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #21 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #22 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #23 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(252): Whoops\Util\TemplateHelper->render() #24 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Run.php(272): Whoops\Handler\PrettyPageHandler->handle() #25 [internal function]: Whoops\Run->handleException() #26 {main}" Stacktrace: #0 Whoops\Exception\ErrorException in /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/Data.php:19
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
vendor
/
symfony
/
var-dumper
/
Cloner
/
Data.php
19
/
home
/
wwwroot
/
zhongbo
/
zhongbo
/
vendor
/
symfony
/
var-dumper
/
Cloner
/
Data.php
<?php
 
/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
 
namespace Symfony\Component\VarDumper\Cloner;
 
use Symfony\Component\VarDumper\Caster\Caster;
 
/**
 * @author Nicolas Grekas <p@tchwork.com>
 */
class Data implements \ArrayAccess, \Countable, \IteratorAggregate
{
    private $data;
    private $position = 0;
    private $key = 0;
    private $maxDepth = 20;
    private $maxItemsPerDepth = -1;
    private $useRefHandles = -1;
 
    /**
     * @param array $data An array as returned by ClonerInterface::cloneVar()
     */
    public function __construct(array $data)
    {
        $this->data = $data;
    }
 
    /**
     * @return string The type of the value
     */
    public function getType()
    {

Fatal error: Uncaught Error: Class "Symfony\Component\VarDumper\Cloner\Data" not found in /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/AbstractCloner.php:255 Stack trace: #0 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(169): Symfony\Component\VarDumper\Cloner\AbstractCloner->cloneVar() #1 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(208): Whoops\Util\TemplateHelper->dump() #2 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/frame_code.html.php(37): Whoops\Util\TemplateHelper->dumpArgs() #3 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #4 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #5 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #6 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/panel_details.html.php(1): Whoops\Util\TemplateHelper->render() #7 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #8 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #9 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #10 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/panel_details_outer.html.php(2): Whoops\Util\TemplateHelper->render() #11 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #12 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #13 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #14 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Resources/views/layout.html.php(23): Whoops\Util\TemplateHelper->render() #15 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(250): require('...') #16 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util\{closure}() #17 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(248): call_user_func() #18 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(252): Whoops\Util\TemplateHelper->render() #19 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Run.php(272): Whoops\Handler\PrettyPageHandler->handle() #20 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Run.php(353): Whoops\Run->handleException() #21 /home/wwwroot/zhongbo/zhongbo/vendor/filp/whoops/src/Whoops/Run.php(382): Whoops\Run->handleError() #22 [internal function]: Whoops\Run->handleShutdown() #23 {main} thrown in /home/wwwroot/zhongbo/zhongbo/vendor/symfony/var-dumper/Cloner/AbstractCloner.php on line 255