Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/236.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
错误异常使用未定义的常量datepickerTitle-假定为';日期选择器';(这将在PHP的未来版本中引发错误)_Php_Laravel - Fatal编程技术网

错误异常使用未定义的常量datepickerTitle-假定为';日期选择器';(这将在PHP的未来版本中引发错误)

错误异常使用未定义的常量datepickerTitle-假定为';日期选择器';(这将在PHP的未来版本中引发错误),php,laravel,Php,Laravel,我已将我的文件上载到laravel服务器/环境。在此之后,我遇到多个错误,我将尝试解决10到15次,但无法解决 <div class="datepicker" ng-class="{ 'am': timeframe == 'am', 'pm': timeframe == 'pm', 'compact': compact }"> <div class=

我已将我的文件上载到laravel服务器/环境。在此之后,我遇到多个错误,我将尝试解决10到15次,但无法解决

    <div class="datepicker"
         ng-class="{
            'am': timeframe == 'am',
            'pm': timeframe == 'pm',
            'compact': compact
        }">
        <div class="datepicker-header">
            <div class="datepicker-title" ng-if="datepicker_title">{{ datepickerTitle }}</div>
            <div class="datepicker-subheader">{{ customMessage }} {{ selectedDay }} {{ monthNames[localdate.getMonth()] }} {{ localdate.getDate() }}, {{ localdate.getFullYear() }}</div>
        </div>
        <div class="datepicker-calendar">
            <div class="calendar-header">
                <div class="goback" ng-click="moveBack()" ng-if="pickdate">
                    <svg width="30" height="30">
                        <path fill="none" stroke="#23527c" stfroke-width="3" d="M19,6 l-9,9 l9,9"/>
                    </svg>
                </div>
                <div class="current-month-container">{{ currentViewDate.getFullYear() }} {{ currentMonthName() }}</div>
                <div class="goforward" ng-click="moveForward()" ng-if="pickdate">
                    <svg width="30" height="30">
                        <path fill="none" stroke="#23527c" stroke-width="3" d="M11,6 l9,9 l-9,9" />
                    </svg>
                </div>
            </div>


{{datepickerTitle}}
{{customMessage}{{selectedDay}{{monthNames[localdate.getMonth()]}{{localdate.getDate()}},{{localdate.getFullYear()}
{{currentViewDate.getFullYear()}{{currentMonthName()}}

您正在混合角度和刀刃,这是完全好的。。。但是你需要把这些东西弄清楚

{{$bladeVar}}
@{{ngVar}}

。。。如果在angular中,则需要@符号;如果在blade/php中,则需要$符号


在这种特殊的解析错误情况下,blade/php要求一个美元符号。

可能重复您是否尝试使用php标识符引用变量?试一试…;-)<代码>$datepickerTitle我会试试,但还是不行。请帮我解决这个问题