ErrorException (E_ERROR)
Call to a member function getName() on null (View: D:\phpstudy_pro\WWW\ymh\resources\views\themes\default\layout\public.blade.php) (View: D:\phpstudy_pro\WWW\ymh\resources\views\themes\default\layout\public.blade.php)
Previous exceptions
  • Call to a member function getName() on null (View: D:\phpstudy_pro\WWW\ymh\resources\views\themes\default\layout\public.blade.php) (0)
  • Call to a member function getName() on null (0)
ErrorException thrown with message "Call to a member function getName() on null (View: D:\phpstudy_pro\WWW\ymh\resources\views\themes\default\layout\public.blade.php) (View: D:\phpstudy_pro\WWW\ymh\resources\views\themes\default\layout\public.blade.php)" Stacktrace: #3 {main} in D:\phpstudy_pro\WWW\ymh\public\index.php:0 #2 {main} in D:\phpstudy_pro\WWW\ymh\public\index.php:0 #1 Symfony\Component\Debug\Exception\FatalThrowableError in D:\phpstudy_pro\WWW\ymh\storage\framework\views\3f6354b5692825b6ca2dc6db9c92b0debfed5b3c.php:91 #0 {main} in D:\phpstudy_pro\WWW\ymh\public\index.php:0
3
{main}
…\public\index.php0
2
{main}
…\public\index.php0
1
Symfony\Component\Debug\Exception\FatalThrowableError
…\storage\framework\views\3f6354b5692825b6ca2dc6db9c92b0debfed5b3c.php91
0
{main}
…\public\index.php0
D:\phpstudy_pro\WWW\ymh\public\index.php
<?php
 
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylor@laravel.com>
 */
 
define('LARAVEL_START', microtime(true));
 
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels great to relax.
|
*/
 
require __DIR__.'/../vendor/autoload.php';
 
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
D:\phpstudy_pro\WWW\ymh\public\index.php
<?php
 
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylor@laravel.com>
 */
 
define('LARAVEL_START', microtime(true));
 
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels great to relax.
|
*/
 
require __DIR__.'/../vendor/autoload.php';
 
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
Exception message: Call to a member function getName() on null (View: D:\phpstudy_pro\WWW\ymh\resources\views\themes\default\layout\public.blade.php)
D:\phpstudy_pro\WWW\ymh\storage\framework\views\3f6354b5692825b6ca2dc6db9c92b0debfed5b3c.php
                    </div>
                </div>
            </div>
        </nav>
    </div>
    <div class="top-bar" style="height:100px;max-width:750px;margin:0 auto;top: 0;width: 100%;z-index: 10;left:auto">
        <div class="bar-inner" style="background-color:#FF4E82;height:60px">
            <a href="<?php echo e(route('website.index')); ?>" class="location"><img class=" lazy-loaded"src="<?php echo e(asset('/static/images/logo1.png')); ?> " ></a>
            <form role="search" id="top-search-form" action="<?php echo e(route('auth.search.index')); ?>" method="GET"class="search"  style="background-color:white" >
                <span class="btn btn-link"><span class="sr-only">搜索</span><span class="glyphicon glyphicon-search"></span></span>
                <input type="text" name="word" id="searchBox"   placeholder="瘦脸针" />
            </form>
            <?php if(Auth()->check()): ?>
            <a class="person" href="<?php echo e(route('auth.space.index',['user_id'=>Auth()->user()->id])); ?>" ><img class=" lazy-loaded"class=" lazy-loaded"class=" lazy-loaded"src="<?php echo e(asset('/static/images/login.png')); ?> " ></a>
            <?php else: ?>
            <a class="person" href="<?php echo e(route('auth.user.login')); ?>" ><img class=" lazy-loaded"src="<?php echo e(asset('/static/images/login.png')); ?> " ></a>
            <?php endif; ?>
        </div>
        <div class="bar-inner" style="margin:0;padding:0;height:40px;background-color:#f6f7fb;line-height:40px">
            <a href="<?php echo e(route('website.index')); ?>" class="item" style="height:40px;;line-height:40px"><div style="height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.index'): ?>color:#FF4E82;<?php endif; ?> ">首页</div></a>
            <a href="<?php echo e(route('website.ask')); ?>" class="item " style="height40px;line-height:40px"><div style=" height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.ask'): ?>color:#FF4E82; <?php endif; ?> ">问答</div></a>
            <a href="<?php echo e(route('website.topic')); ?>" class="item "style="height:40px;line-height:40px"><div style="height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.topic'): ?>color:#FF4E82; <?php endif; ?> ">医院</div></a>
            <a href="<?php echo e(route('website.experts')); ?>" class="item "style="height:40px;line-height:40px"><div style="height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.experts'): ?>color:#FF4E82; <?php endif; ?> ">医生</div></a>
            <a href="<?php echo e(route('website.case')); ?>" class="item"style="height:40px;line-height:40px"><div style="height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.case'): ?>color:#FF4E82; <?php endif; ?> ">案例</div></a>
            <a href="<?php echo e(route('website.blog')); ?>" class="item"style="height:40px;line-height:40px"><div style="height:40px;line-height:40px;font-width:Medium;<?php if(request()->route()->getName() == 'website.blog'): ?>color:#FF4E82; <?php endif; ?> ">知识</div></a>
        </div>
    </div>
    <?php if(request()->route()->getName() == 'website.index'): ?>
    <div class="category" style="background:#FFFFFF">
        <div id="categorySwiper" class="swiper-container swiper-container-horizontal">
            <div class="swiper-wrapper" style="transform: translate3d(0px, 0px, 0px);">
                <div class="swiper-slide swiper-slide-active" >
                    <div class="con" style="padding:10px">
                        <div class="item-list">
                            <a href="<?php echo e(route('ask.project.index',['categorySlug'=>'yzhwd'])); ?>"  rel="nofollow" class="categoryItem item" ><div class="img-container"><div class="placeholder"></div><img class="img lazy-loaded" src="<?php echo e(asset('/static/images/1.png')); ?>"></div><span class="txt" >眼部</span></a>
                            <a href="<?php echo e(route('ask.project.index',['categorySlug'=>'bzhwd'])); ?>"   rel="nofollow" class="categoryItem item"><div class="img-container"><div class="placeholder"></div><img class="img lazy-loaded"  src="<?php echo e(asset('/static/images/2.png')); ?>"></div><span class="txt">鼻部</span></a>
                            <a href="<?php echo e(route('ask.project.index',['categorySlug'=>'ztzftcwd'])); ?>"  rel="nofollow" class="categoryItem item" ><div class="img-container"><div class="placeholder"></div><img class="img lazy-loaded"  src="<?php echo e(asset('/static/images/3.png')); ?>"></div><span class="txt">脂肪填充</span></a>
                            <a href="<?php echo e(route('ask.project.index',['categorySlug'=>'glxwd'])); ?>"  rel="nofollow" class="categoryItem item" ><div class="img-container"><div class="placeholder"></div><img class="img lazy-loaded"  src="<?php echo e(asset('/static/images/4.png')); ?>"></div><span class="txt">改脸型</span></a>
                            <a href="<?php echo e(route('ask.project.index',['categorySlug'=>'xzwd'])); ?>"  rel="nofollow" class="categoryItem item" ><div class="img-container"><div class="placeholder"></div><img class="img lazy-loaded"  src="<?php echo e(asset('/static/images/5.png')); ?>"></div><span class="txt"> 吸脂</span></a>
                        </div>
Arguments
  1. "Call to a member function getName() on null"
    
Exception message: Call to a member function getName() on null
D:\phpstudy_pro\WWW\ymh\public\index.php
<?php
 
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylor@laravel.com>
 */
 
define('LARAVEL_START', microtime(true));
 
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels great to relax.
|
*/
 
require __DIR__.'/../vendor/autoload.php';
 
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*

Environment & details:

Key Value
id
"zimucms_baoliao"
empty
empty
empty
empty
Key Value
PATH
"C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;d:\SOFT_PHP_PACKAGE\mysql\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn";C:\ProgramData\ComposerSetup\bin;D:\phpStudy\PHPTutorial\php\php-7.1.13-nts;C:\ProgramData\ComposerSetup\bin;D:\phpStudy\PHPTutorial\php\php-7.0.12-nts;C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin"
SYSTEMROOT
"C:\Windows"
COMSPEC
"C:\Windows\system32\cmd.exe"
PATHEXT
".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
WINDIR
"C:\Windows"
PHPRC
"D:/phpstudy_pro/Extensions/php/php7.3.4nts_p"
_FCGI_SHUTDOWN_EVENT_
"8800"
HTTP_CONNECTION
"close"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/plugin.php?id=zimucms_baoliao"
QUERY_STRING
"id=zimucms_baoliao"
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_QUERY_STRING
"id=zimucms_baoliao"
REDIRECT_URL
"/plugin.php"
REMOTE_PORT
"41566"
SCRIPT_FILENAME
"D:/phpstudy_pro/WWW/ymh/public/index.php"
SERVER_ADMIN
"admin@example.com"
CONTEXT_DOCUMENT_ROOT
"D:/phpstudy_pro/WWW/ymh/public"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"D:/phpstudy_pro/WWW/ymh/public"
REMOTE_ADDR
"44.213.80.174"
SERVER_PORT
"443"
SERVER_ADDR
"122.114.52.165"
SERVER_NAME
"www.yimeihui360.com"
SERVER_SOFTWARE
"Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02"
SERVER_SIGNATURE
""
SystemRoot
"C:\Windows"
HTTP_HOST
"www.yimeihui360.com"
HTTP_REFERER
"http://www.zm91.com/plugin.php?id=zimucms_baoliao"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
SSL_SESSION_RESUMED
"Initial"
SSL_SESSION_ID
"468e90526769868aeeeafa916adfffb8685e982b81b3c868b7bf5fad46bc7018"
SSL_SERVER_A_SIG
"sha384WithRSAEncryption"
SSL_SERVER_A_KEY
"rsaEncryption"
SSL_SERVER_I_DN
"CN=TrustAsia RSA DV TLS CA G2,O=TrustAsia Technologies\, Inc.,C=CN"
SSL_SERVER_S_DN
"CN=www.yimeihui360.com"
SSL_SERVER_V_END
"Nov 17 23:59:59 2024 GMT"
SSL_SERVER_V_START
"Oct 19 00:00:00 2023 GMT"
SSL_SERVER_M_SERIAL
"3E593BF9BCB31F08C40F82D8D0A934F3"
SSL_SERVER_M_VERSION
"3"
SSL_CLIENT_VERIFY
"NONE"
SSL_CIPHER_ALGKEYSIZE
"256"
SSL_CIPHER_USEKEYSIZE
"256"
SSL_CIPHER_EXPORT
"false"
SSL_CIPHER
"TLS_CHACHA20_POLY1305_SHA256"
SSL_COMPRESS_METHOD
"NULL"
SSL_SECURE_RENEG
"true"
SSL_PROTOCOL
"TLSv1.3"
SSL_VERSION_LIBRARY
"OpenSSL/1.1.1b"
SSL_VERSION_INTERFACE
"mod_ssl/2.4.39"
SSL_SERVER_SAN_DNS_1
"yimeihui360.com"
SSL_SERVER_SAN_DNS_0
"www.yimeihui360.com"
SSL_SERVER_I_DN_CN
"TrustAsia RSA DV TLS CA G2"
SSL_SERVER_I_DN_O
"TrustAsia Technologies, Inc."
SSL_SERVER_I_DN_C
"CN"
SSL_SERVER_S_DN_CN
"www.yimeihui360.com"
SSL_TLS_SNI
"www.yimeihui360.com"
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_SSL_SESSION_RESUMED
"Initial"
REDIRECT_SSL_SESSION_ID
"468e90526769868aeeeafa916adfffb8685e982b81b3c868b7bf5fad46bc7018"
REDIRECT_SSL_SERVER_A_SIG
"sha384WithRSAEncryption"
REDIRECT_SSL_SERVER_A_KEY
"rsaEncryption"
REDIRECT_SSL_SERVER_I_DN
"CN=TrustAsia RSA DV TLS CA G2,O=TrustAsia Technologies\, Inc.,C=CN"
REDIRECT_SSL_SERVER_S_DN
"CN=www.yimeihui360.com"
REDIRECT_SSL_SERVER_V_END
"Nov 17 23:59:59 2024 GMT"
REDIRECT_SSL_SERVER_V_START
"Oct 19 00:00:00 2023 GMT"
REDIRECT_SSL_SERVER_M_SERIAL
"3E593BF9BCB31F08C40F82D8D0A934F3"
REDIRECT_SSL_SERVER_M_VERSION
"3"
REDIRECT_SSL_CLIENT_VERIFY
"NONE"
REDIRECT_SSL_CIPHER_ALGKEYSIZE
"256"
REDIRECT_SSL_CIPHER_USEKEYSIZE
"256"
REDIRECT_SSL_CIPHER_EXPORT
"false"
REDIRECT_SSL_CIPHER
"TLS_CHACHA20_POLY1305_SHA256"
REDIRECT_SSL_COMPRESS_METHOD
"NULL"
REDIRECT_SSL_SECURE_RENEG
"true"
REDIRECT_SSL_PROTOCOL
"TLSv1.3"
REDIRECT_SSL_VERSION_LIBRARY
"OpenSSL/1.1.1b"
REDIRECT_SSL_VERSION_INTERFACE
"mod_ssl/2.4.39"
REDIRECT_SSL_SERVER_SAN_DNS_1
"yimeihui360.com"
REDIRECT_SSL_SERVER_SAN_DNS_0
"www.yimeihui360.com"
REDIRECT_SSL_SERVER_I_DN_CN
"TrustAsia RSA DV TLS CA G2"
REDIRECT_SSL_SERVER_I_DN_O
"TrustAsia Technologies, Inc."
REDIRECT_SSL_SERVER_I_DN_C
"CN"
REDIRECT_SSL_SERVER_S_DN_CN
"www.yimeihui360.com"
REDIRECT_SSL_TLS_SNI
"www.yimeihui360.com"
REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710836903.2988
REQUEST_TIME
1710836903
APP_NAME
"KXUnlxoM5Gzk"
APP_ENV
"local"
APP_DEBUG
"true"
APP_KEY
"8mh6VcYKATzmiBQW3tPQH3Zp84zx8jfD"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"test"
DB_USERNAME
"root"
DB_PASSWORD
"root"
DB_PREFIX
"ask_"
APP_URL
"http://www.yimeihui360.com"
WEBSITE_ADMIN_EMAIL
"admin@qq.com"
UPLOAD_IMAGE_SIZE
"8388608"
UPLOAD_ATTACH_SIZE
"8388608"
UPLOAD_OPEN_WATERMARK
"1"
MAIL_OPEN
"0"
MAIL_FROM_ADDRESS
"yimeihui360@163.com"
MAIL_FROM_NAME
"ymhui"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.163.com"
MAIL_PORT
"25"
MAIL_ENCRYPTION
"null"
MAIL_USERNAME
"yimeihui360@163.com"
MAIL_PASSWORD
"TNAGFWNAJQIHJUBE"
MAIL_SENDMAIL
"/usr/sbin/sendmail -bs"
SMS_OPEN
"1"
SMS_SIGN_NAME
"医美荟"
SMS_KEY_ID
"LTAIuEOpvJDKUS3S"
SMS_KEY_SECRET
"7omQm7WGgPggqc4ZWBaT6YVg7XifHc"
WEBSITE_THEME
"default"
WEBSITE_SKIN
"default"
UPLOAD_WATERMARK_IMAGE
"watermarks-BufCBuTb61cbeb6a8d9ee.png"
Key Value
APP_NAME
"KXUnlxoM5Gzk"
APP_ENV
"local"
APP_DEBUG
"true"
APP_KEY
"8mh6VcYKATzmiBQW3tPQH3Zp84zx8jfD"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"test"
DB_USERNAME
"root"
DB_PASSWORD
"root"
DB_PREFIX
"ask_"
APP_URL
"http://www.yimeihui360.com"
WEBSITE_ADMIN_EMAIL
"admin@qq.com"
UPLOAD_IMAGE_SIZE
"8388608"
UPLOAD_ATTACH_SIZE
"8388608"
UPLOAD_OPEN_WATERMARK
"1"
MAIL_OPEN
"0"
MAIL_FROM_ADDRESS
"yimeihui360@163.com"
MAIL_FROM_NAME
"ymhui"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.163.com"
MAIL_PORT
"25"
MAIL_ENCRYPTION
"null"
MAIL_USERNAME
"yimeihui360@163.com"
MAIL_PASSWORD
"TNAGFWNAJQIHJUBE"
MAIL_SENDMAIL
"/usr/sbin/sendmail -bs"
SMS_OPEN
"1"
SMS_SIGN_NAME
"医美荟"
SMS_KEY_ID
"LTAIuEOpvJDKUS3S"
SMS_KEY_SECRET
"7omQm7WGgPggqc4ZWBaT6YVg7XifHc"
WEBSITE_THEME
"default"
WEBSITE_SKIN
"default"
UPLOAD_WATERMARK_IMAGE
"watermarks-BufCBuTb61cbeb6a8d9ee.png"
0. Whoops\Handler\PrettyPageHandler