错误日志为:
未找到视图[]。 (视图: /work/prj/resources/views/emails/notifyTest.blade.php) {“ exception”:“ [object](ErrorException(code:0):找不到视图[]。 (查看:/work/prj/resources/views/emails/notifyTest.blade.php),网址为 /work/php/arousal-service-common/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137, InvalidArgumentException(code:0):找不到视图[]。在 /work/php/arousal-service-common/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137)
我尝试发送这样的电子邮件:
import Foundation
func udpSend(textToSend: String, address: in_addr, port: CUnsignedShort) {
func htons(value: CUnsignedShort) -> CUnsignedShort {
return (value << 8) + (value >> 8);
}
let fd = socket(AF_INET, SOCK_DGRAM, 0) // DGRAM makes it UDP
let addr = sockaddr_in(
sin_len: __uint8_t(MemoryLayout<sockaddr_in>.size),
sin_family: sa_family_t(AF_INET),
sin_port: htons(value: port),
sin_addr: address,
sin_zero: ( 0, 0, 0, 0, 0, 0, 0, 0 )
)
let sent = textToSend.withCString { cstr -> Int in
var localCopy = addr
let sent = withUnsafePointer(to: &localCopy) { pointer -> Int in
let memory = UnsafeRawPointer(pointer).bindMemory(to: sockaddr.self, capacity: 1)
let sent = sendto(fd, cstr, strlen(cstr), 0, memory, socklen_t(addr.sin_len))
return sent
}
return sent
}
close(fd)
如何解决这个问题?
答案 0 :(得分:0)
尝试以下步骤:
php artisan config:clear
php artisan queue:restart
我以前遇到过此问题,并意识到我的标记文件无效。我没有结账@endcomponent
答案 1 :(得分:0)
首先,您应该检查刀片文件
views/emails/notifyTest.blade.php
如果随后触发了波纹管命令
php artisan optimize --force
php artisan route:cache
php artisan view:clear