时光旅人
vue-cli3到底是如何调用webpack开始进行实际构建的?
可以看看webpack的源代码,lib/Compiler.js和lib/Compilation.js文件,这两个文件包含了大部分构建逻辑。
"企业微信截图_16938212876133.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250110/277981cd2216a8fb7cff6fa3e3a04a1b.png)
时光旅人
字符串数组转换ts类型m|n 类型体操?
比如有一个数组const arr=['m','n'];
type 转换成m|n
时光旅人
如何实现百分比条形和tgi图的组合?
解决方案 Solution
你可以使用@VisActor/VChart实现想要的效果。VChart允许多个series组合在一张图表中,仅需要将图表类型设为common,并在series中添加柱状图和折线图的series,修改折线图的线样式为虚线,点样式为矩形,即可实现图中效果。为了实现柱图与线图使用不同的坐标轴,在axes中,需要配置3个坐标轴:左侧的band轴,底部线图的linear轴,除此之外还需要给柱图配置一个linear轴。你可以将该轴放置在顶部并将visible设为false,并通过调整max属性,指定轴的范围,实现图中的效果。
代码示例 Code Example
图表spec如下:
{
type: 'common',
data: [ { "id": "data",
"values": [ { "x": "2015-09-24", "y": 0.6 }, { "x": "2015-09-25", "y": 0.7 }, { "x": "2015-09-26", "y": 0.71 }, { "x": "2015-09-27", "y": 0.65 }, { "x": "2015-09-28", "y": 0.53 }, { "x": "2015-09-29", "y": 0.55 } ]},
{ "id": "data2",
"values": [ { "x": "2015-09-24", "y": 40 }, { "x": "2015-09-25", "y": 25 }, { "x": "2015-09-26", "y": 31 }, { "x": "2015-09-27", "y": 37 }, { "x": "2015-09-28", "y": 28 }, { "x": "2015-09-29", "y": 22 } ] }
],
series: [
{
type: 'bar',
id:'barSeries',
direction:'horizontal',
dataId:'data',
yField: 'x',
xField: 'y',
},
{
type: 'line',
id:'lineSeries',
direction:'horizontal',
dataId:'data2',
yField: 'x',
xField: 'y',
line:{
style:{
lineDash:[2,5]
}
},
point:{
style:{
symbolType:'rect',
size:10,
scaleX:1,
scaleY:10,
}
}
}
],
axes: [
{
orient: 'left',
seriesId:['barSeries','lineSeries'],
type: 'band',
grid: {
visible: true
}
},
{
orient: 'top',
type: 'linear',
max:1.2,
seriesId:['barSeries'],
grid: {
visible: true
},
visible:false
},
{
orient: 'bottom',
type: 'linear',
seriesId:['lineSeries'],
grid: {
visible: true
},
}
],
}
结果展示 Results
在线效果参考:"https://codesandbox.io/s/bar-chart-and-tgi-chart-8fkprk?file=..." (https://link.segmentfault.com/?enc=w9aPIFY8l0DNhbCi84LbtA%3D%3D.mpaT9vbCGeAMAYClXvc3xCD%2FcUsBPepWw4%2FwuRnotSsqinDvZKwORqqMDutgDhOmxDQVbihNBNXw7yyBg2MDRDS2TYFoztjIbzopAPxXjYw%3D)
Online demo:"https://codesandbox.io/s/bar-chart-and-tgi-chart-8fkprk?file=..." (https://link.segmentfault.com/?enc=8ha1UKozQGxvIuDekLiX3w%3D%3D.1J6k3CajoI%2F%2BSNeJ25ixpssjiEKqBrMayyYi%2Blm5oyjRurwQXXnyPpLlL2ZljpE2PKNGBi3Kh9jEDVh6E8P1bmTmeRPg87jSXiGMRUWYHbs%3D)
"image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250103/7d76fbc489839dc4875610270f40551d.png)
相关文档 Related Documentation
VChart组合图教程:"https://visactor.bytedance.net/vchart/guide/tutorial_docs/Cha..." (https://link.segmentfault.com/?enc=TEtVNOFDwOnGV%2F5MNNDoSg%3D%3D.KB6iyHWQHUDFpzfO2DVYwJLIrjrhtlokFNl1CY%2FL2iZhmCUPiBbJmUGePMDvMcFtMKgWHfioDd%2BgGaq9KL%2FdVPwgRN5%2BAdPVHci8mYYXESCNjt9tE3Ml8Bk4cO%2Bg4Hg5)
组合图配置项:"https://visactor.bytedance.net/vchart/option/commonChart#type" (https://link.segmentfault.com/?enc=8sqkL3e3sxnaHP4qMk2IXA%3D%3D.GGC025CTU6h2zNvtrzF0rDtPi7FIOwbdHMJCE4M9err9o4nVTxBp5AwvUK7ULacz0IJJRa428RbB0VtEyDVQAw%3D%3D)
github:"https://github.com/VisActor/VChart" (https://link.segmentfault.com/?enc=rtBe9ldgE0pIKatEeZQ%2Bow%3D%3D.MLFZezYI26BZe1WYFVty1OPwfdB3emuh2bcI5avBjOHrODZceY5L5fpLjoB121Uc)
时光旅人
Typescript中 一个对象A有两个key,分别为key和val, 想赋值到另外一个对象B?
//B的类型为CSSModuleType
function setVal(B, A) {
B[A.key] = A.val;
}
这种怎么写呢?
时光旅人
如何把对象和数组转换?
arr = [{ a: 1 }, { b: 2, c: 3 }] 转换为 arr = { a: 1, b: 2, c: 3 }
时光旅人
现有两开关电源,分别为反激式(脉冲调制)、固定负载功率式(非脉冲调制),规定采样频率<500KHz,且两种电源功率同等(如200W)的情况下,在220V端 是否可以通过电压或电流波形区分上述两种电源?
问题背景:
现有两开关电源,分别为反激式(脉冲调制)、固定负载功率式(非脉冲调制),
脉冲调制型典型代表为:各类电池充电器,固定负载功率式典型代表为:射灯;这两种负
载分别接入市电。
问题描述:
规定采样频率<500KHz,且两种电源功率同等(如200W)的情况下,在220V端
是否可以通过电压或电流波形区分上述两种电源?
如果可以,请详细描述需要区分的特征点,如果不可以,是否可以通过其他途径
区分?
时光旅人
php导出sql数据到csv时为什么不保存为文件?
确保在 PHP 代码中没有在 header() 函数调用之前输出了任何内容,包括空格、换行符、HTML 标签等。header() 函数需要在任何输出
之前调用。
可以尝试使用 ob_clean() 函数清除输出缓冲区,以确保在输出 CSV 数据之前没有任何其他输出被发送到浏览器。
if ($result->num_rows > 0) {
// 清除输出缓冲区
ob_clean();
// 创建文件指针连接到输出流
$output = fopen('php://output', 'w');
// 输出列标题
fputcsv($output, ['col1', 'col2', 'col3']);
// 循环输出行数据
while ($row = $result->fetch_assoc()) {
fputcsv($output, $row);
}
// 输出 CSV 文件的头信息
header('Content-Type: text/csv; charset=utf-8');
header('Content-Disposition: attachment; filename=data.csv');
// 关闭文件指针
fclose($output);
exit;
}
时光旅人
jmeter 用命令行执行的请求数量大于配置的请求数量?
那你是不是左边配置了多个线程组?
时光旅人
前端项目发布后,通过tomcat部署可以直接访问,通过nginx部署就提示没有返回内容,是哪里配置出问题了?
代码部署在内网服务器,通过vpn访问,当我通过tomcat部署,修改server.xml的时候,在我本地浏览器可以直接访问到前端页面,而且在本地命令行和服务器内网命令行都可以通过curl返回内容(见下面三张图)
"图片.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241212/14af79d5ceb222b46ddfefd08d024be5.png)
"图片.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241212/d56c0b012e5395e13afcc139c99113c0.png)
"图片.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241212/89a113e4529e7d8b91fe2d57a3595c28.png)
但是当我使用nginx反向代理的时候,只有服务器内网命令行会返回内容,本地命令行curl提示curl: (52) Empty reply from
server
浏览器页面无法访问
"图片.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241212/047c78ae3588686d170bddfa2667f914.png)
请问下这是服务器的配置出问题了吗?还是VPN的配置出问题了?
更新下nginx配置(通过include包含到主配置文件中了):
server {
listen 80;
server_name 10.2.3.92;
root /rkxch/app/portrait/frontend_pc/dist_pro/;
index index.html index.htm;
}
时光旅人
vue2项目的npm版本问题如何查看?
node版本按照11.15.0左右设置,在按照依赖,如果用的是sass,还要安装对应的sass版本
时光旅人
sqlserver如何取得以指定前缀开头的表名?
‘’是代表一个任意字符,需要将‘’转义
SELECT a.name AS tableName, CONVERT(NVARCHAR(100),isnull(g.[value],'-')) AS remarks
FROM sys.tables a LEFT JOIN sys.extended_properties g ON (a.object_id = g.major_id AND g.minor_id = 0)
WHERE a.name like 'JB[_]%';
时光旅人
js打印表单时,为什么表单内容修改后有的不起效?
js打印表单时,为什么表单内容修改后有的不起效?
如下:
页面填写:
"image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241206/c330d89e0d0f7710c2b8a3da88f412c8.png)
实际打印 :textarea内容不显示, 复选框也不显示高亮
"image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241206/4347fac33875a8bc9bf170f80476d330.png)
源码demo:
Document
正位
外显斜
内显斜
外隐斜
内隐斜
点我打印
document.getElementById('dw').addEventListener('click', function() {
// window.print();
let docHtml1 = ''
docHtml1 += $("#divKanZhengPanel-binli").prop("outerHTML");
$('#print-iframe').remove(); // 每次打印前移除先前生成的元素
// 开始打印
let iframe1 = document.createElement('IFRAME');
let doc1 = null;
iframe1.setAttribute("id", "print-iframe");
iframe1.setAttribute('style', 'position:absolute;width:0px;height:0px;left:-0px;top:-0px;visibility: auto;');
document.body.appendChild(iframe1);
doc1 = iframe1.contentWindow.document;
doc1.write(docHtml1);
doc1.close();
iframe1.contentWindow.focus();
iframe1.contentWindow.print();
})
时光旅人
使用uniapp开发app的时候,用到了echarts,请问怎么使用?
可以使用 ucharts 很方便多端 也支持uniapp
"https://www.ucharts.cn/v2/#/" (https://link.segmentfault.com/?enc=nADpQaBjGLmOGy6LgpchVw%3D%3D.FOyX3nnn7k%2FSUScNHZ%2Fb%2BuClkSzB5upzPOuX5DmKPdw%3D)
时光旅人
如何在安装 pytorch 的时候,不安装 nvidia 相关的包?
这种问题的想法就是不对的,你得考虑下环境部署的稳定性,有些bug就是因为你前期一开始时的不谨慎导致的。后面再来想办法补救就会很麻烦。
时光旅人
echarts饼图 鼠标移入label 能不能不提示tooltip,只有移入图表的时候才tooltip?
echarts饼图 鼠标移入label 能不能不提示tooltip,只有移入图表的时候才tooltip?
时光旅人
vuetify结合print.js,怎么实现打印?
要动态的打印出接口获取的表格数据,表格被封装成了组件v-table引入,因为下不了print.js依赖,只能用print.js本地文件引入,然后打印出却是整个项目网页的html,只想打印出表格就行,用了vue-print-nb的方法,只能最多打印21条数据不能打印全部,所以各位大佬能否支支招,想用print.js的法子去实现
时光旅人
为什么直接return出去,数据不更新查询后没有数据,重新定义一个变量接收数据,数据值就更新成功?
MDN 文档里有写:
«filter() 方法是一个复制方法。它不会改变 this,而是返回一个包含与原始数组相同的元素(其中某些元素已被过滤掉)的浅拷贝»
人话就是这个函数不会改变原数组, 因此的tableDate并没有发生任何改变, 当然没有更新, 而重新赋值后就改变了就发生了DOM更新
时光旅人
html-docx.js如何设置页眉页脚?
你只要在div标签上加上"style="mso-element:header"" 属性就行了,他就能识别为页眉,如同以下示例
这边是导出的内容
页眉
页脚
let option = {
"header": {
"display": "Print",
"Zoom": "75",
"mateType": false
},
"page": {
"className": "className",
"marginTop": "36.0079387581514pt",
"marginBotton": "36.0079387581514pt",
"marginLeft": "36.0079387581514pt",
"marginRight": "36.0079387581514pt",
"size": "595.3000pt 841.9000pt",
"headerContext": "h0",
"footerContext": "f0",
"headerMargin":"20pt",
"footerMargin:":"20pt",
"pageNumber":"1"
},
"elem": {
"maxWidth":"595.3",
"remove":[".editor-left",".editor-right"]
},
"css":{
".props_input":{
"text-decoration":"underline",
"content":" ",
}
},
"input":{
"tal":"PROP_INPUT_TAL",
"tar":"PROP_INPUT_TAR"
}
}
function toWord(fileName){
let word = new WordExport("export",option);
word.export(fileName, (body)=>{
// 对要导出的html做出最后的处理
return b;
});
}
时光旅人
如何做好嵌套数据的验证呢?
数据格式
{
"code":"唯一验证",
"category":"DB存在,且状态为启用",
"items":[
{"code":"唯一验证"},
{"code":"唯一验证"}
]
}
需求点
* 基础验证:必填、长度等验证、正则等
* 通过基础验证后,再验证DB类查询的项,比如唯一性
* 减少查询次数,比如示例中"code"字段都是从一个表中查询
基本验证,一般是通过注解来完成,那么涉及到DB查询的,也是通过自定义注解,还是在"service"层验证呢?或是有其他的什么手段,使其简洁明了。
时光旅人
2. 在图表点击事件后,如何使图形保持高亮状态?
看你的高亮是如何设置的,之前有个类似的问题
"https://segmentfault.com/q/1010000043396245?utm_source=sf-similar-question" (https://segmentfault.com/q/1010000043396245?utm_source=sf-similar-question)
时光旅人
turnjs怎么设置翻页事件触发范围 ?
turnjs怎么设置翻页事件触发范围 ?目前只能点击右下角的页脚,才能翻页,我希望是任何区域
看了文档没解决
时光旅人
为什么iframe动态赋值src比直接在src中写死 url 然后 渲染内容要慢一些 ?
为什么iframe动态赋值src比直接在src中写死 url 然后 加载内容要慢一些 ?
https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241113/5c33b0823f7f342ab2639a4a77e7b4d0.png
https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241113/c9bc1d7822549da4c799037513a36b64.png
我说的慢, 是里面的元素渲染慢。
现在呈现的是页面从上往下依次渲染 , 而不是整个页面的内容全部同时渲染。
。
时光旅人
请问如何调用 form input 的检查机制,而不要 submit 跳转页面?
请问如何调用 form input 的检查机制,而不要 submit 跳转页面?
目前调用 js 的 submit 方法,浏览器会检查 input 的条件像是 require, min, max 等
但是假如检查都通过会 submit 跳转页面
想要不跳转 URL 页面,也能检查,自动会 scroll 到有问题 input,并跳出浏览器自带的提示词
时光旅人
vue3.2全局导入组件-路径问题?
关于vue3全局自动导入组件的问题,浏览器打开组件总是报错文件路径不对
环境为vue3.2,webpack的配置
main.js 导入了全局导入的文件
import mLibs from './lib/index'
app.use(mLibs)
./lib/index.js的内容,组件.vue都在lib文件夹下,都有文件夹包裹.此处将component常量写死了路径,效果是正常的(未注释行代码的上一行).图片放在最底部.但如果用路径拼接,就会报错'Cannot
find module ',报错图片也放置在最后一行.
import { defineAsyncComponent } from 'vue'
export default {
install(app) {
// 获取当前路径任意文件夹下的 index.vue 文件
const requireComponent = require.context('@/lib/', true, /\.vue$/)
// 遍历获取到的组件模块
requireComponent.keys().forEach(fileName => {
const componentName = fileName.split('/').pop().replace('.vue', '') // 获取组件名
const componentPath = fileName.replace('.', '../lib')
const component = defineAsyncComponent(() => import('../lib/platform/roleAddEdit.vue'))
// const component = defineAsyncComponent(() => import(componentPath))
console.log(componentName, component, componentPath)
app.component(componentName, component)
})
}
}
使用场景是在element-plus中
const addDialogShow = () => {
dialogShow.value = true
componentName.value = 'roleAddEdit'
dialogTitle.value = '新增角色'
form.value = {}
}
"image.png" (https://wmlx-new-image.oss-cn-shanghai.aliyuncs.com/images/20241102/00709fa92ad289a75baac8044c81292a.png)
"image.png" (https://wmlx-new-image.oss-cn-shanghai.aliyuncs.com/images/20241102/cc21038819b94e0674b5581553d8839c.png)
还望大佬能够加以指正,非常感谢大佬
时光旅人
[Vue]父组件A通过props传入子组件B一个函数f,子组件B想要执行f(null,B的一个data),并判断f中是否用到了第一个参数,如果用到了,再将f通过props传入孙组件C?
暂时放弃研究一个函数同时传入子组件B和孙组件C的data了,决定把函数f分成f1(B的data)和f2(C的data)两部分定义。然后再在B中做判断
时光旅人
Echarts图表根据下拉列表选择日期更新数据 ?
各位前端大佬们,小白求助Echarts图表根据下拉列表选择日期更新数据 。
这种功能应该怎么实现,或者有没有什么案例可以借鉴。
感激感激 😭😭😭
"image.png" (https://wmlx-new-image.oss-cn-shanghai.aliyuncs.com/images/20241030/0e2d82f1c8879080f07dead579d070ce.png)
https://wmlx-new-image.oss-cn-shanghai.aliyuncs.com/images/20241030/b915bdeea969e51b4debd49b0c62681b.png
尝试了写写 和百度 没有结果🙄
时光旅人
为什么C++代码在vs2022输出结果会不一致呀?
参数的求值顺序是不确定的。
就是说那两个 get() 不一定哪一个会先被调用。
时光旅人
chrome扩展的background.js 文件无法调用同文件中的函数?
这是 chrome 扩展开发中一定要理解的一个问题:浏览器扩展里存在多个互相隔离的上下文环境。 。大约包含:
1. background script
2. content script
3. 目标页面
4. popup/side panel 页面
所以你在 background 环境里声明的函数,自然在目标页面里无法使用。
解决方案有两个,我建议你使用 content script,把你需要的函数注入到 content 环境,然后用过 "postMessage" 调用。
时光旅人
css flex左右布局,左右如何同高?
css flex 布局,页面分为上下两部分,下面通过 flex: 1; 撑开,并且 overflow-y:
auto;下面又分为左右布局,左右高度不一定,想要设置一个边框分割左右,但是边框始终到最底部;
下半部分左右边框高度能够到自动撑开的高度
https://wmlx-new-image.oss-cn-shanghai.aliyuncs.com/images/20241027/f1d4ea13659ef3eed45230b966541fef.png
"https://codesandbox.io/p/devbox/flexbu-ju-zi-dong-cheng-gao-8..." (https://link.segmentfault.com/?enc=M2Dy5rshkUo3NT2kKMKH9A%3D%3D.zncmZXY%2FvXvjNVfcxhKlyUSt%2B5TIi65OlujzIMpuEfazrYhkU1tvUZx9CHauBzem4Pv6cPBhDkZE6njw9Qq2buoReIhCImISZUbtzHJChAuHC47toU%2FXgmDI3u%2BuGsQH)
时光旅人
json解析报错,求大佬?
这哪需要高手,随便找个可以渲染的 JSON 的编辑器就能把问题找出来
"snipaste_2023-12-26_09-12-38.png" (https://wmlx-new-image.oss-cn-shanghai.aliyuncs.com/images/20241025/bd2dfabe319985fada5f6f21958f81ce.png)
除了这里,后面还有大量转义引号的问题
"snipaste_2023-12-26_09-15-12.png" (https://wmlx-new-image.oss-cn-shanghai.aliyuncs.com/images/20241025/c06193394ae87ea33538b800ffa45626.png)
所以根本的问题来了……不会是自己拼的 JSON 吧?如果使用工具把对象转成 JSON 理论上来说不应该出现这种错误。
时光旅人
Java如何获取到实体类变量名称?
如何获取到实体类的变量名,用的tkmybatis,没有方法引用,现在写的条件都是字符串"isDeleted"这种,不好维护,有没有方式Dog.的方式拿到变量名称,不想写好多常量,有没有类似Lombok注解的方式去实现
Example example = new Example(Dog.class);
Example.Criteria criteria = example.createCriteria();
criteria.andEqualTo("isDeleted", DeleteFlagEnum.UNDELETE.getCode());
时光旅人
如何在GitHub中配置SSH密钥以正常拉取和提交代码?
不同用户的密钥是不一样的。
你截图里有两个用户,一个是 root ,一个 apple 。他们的 ssh key 是不同通用的。
你想在 root 下用的话,得把 root 的 key 也加进去。
时光旅人
项目中element-plus + svg图标这种写法为什么可以生效?
项目中element-plus + svg图标这种写法为什么可以生效?
1. icon-peoples是element-plus自带的,还是本地配置的
2. svg的使用和ElIcon的关系是什么?
时光旅人
electron如何设置控制台默认停靠在右侧?
通过 API 可以打开在右侧的 devtool:
mainWindow.webContents.openDevTools({ mode: 'right' })
也许你可以弄个调试模式专用的按钮之类的绑上这么一句,会方便些
时光旅人
如何在php容器中编译mysqli扩展?
起初,我把mysql_config安装在mysql容器里了,所以在php容器里configure报错找不到。
然后,我尝试仅仅在php容器里安装mysql_config包,也就是default-libmysqlclient-dev,然后configure也成功了。看来编译mysqli扩展,并不需要mysql的存在
时光旅人
【求助】python使用selenium时,如何跳过cloudflare的检测?
undetected-chromedriver也不能行吗
时光旅人
java的 FileOutputStream 带不带缓冲区 ?
https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241015/7476ee258f56bffef8cc69e949f4705d.png
文章说不带 , 既然不带,那为什么还有下面这种写法 ?
https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241015/a219c64f4418dc62e1c16d63eac48638.png
时光旅人
ElementPlus 的日历组件,个别月份的日期和星期对应错误,请求帮忙解答?
中文状态下,2024年9月的日期和星期是这样的,9月1号对应的是周一
https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241014/10af33229107b9a5706aa4ab16d9f4d0.png
正确的日期和星期对应应该是这样的,2024年9月1号是周日
"image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241014/50f88fd8c163cc19379b0393ee7f0b16.png)
英文状态下,却是正常显示的:
"image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241014/aeeaae72a851fd19a22f881ea1a8fc97.png)
代码中并没有其他自定义的逻辑
"image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241014/e80307f173af1fedc832aefe68ac0480.png)
除了这个月份,2023年的10月份日期和星期对应也不正确
时光旅人
微信小程序微信wx:If/else外层包裹block?
image标签外层为什么要包裹block,不可以直接写成如下代码吗?
包裹block是出于什么考虑呀?
时光旅人
SpringDataJpa中 Specification怎样使用in查询?
我知道怎么弄了
predicates.add(root.get(Menu_.roles).in(roles));
改成了
predicates.add(root.join(Menu_.roles, JoinType.LEFT).in(roles));
时光旅人
为什么在router文件夹下的index.js文件里面,一开始的时候需要注册VueRouter?
为什么在router文件夹下的index.js文件里面,一开始的时候需要注册VueRouter?
import Vue from "vue";
import VueRouter from "vue-router";
// 为什么需要在这里注册一次VueRouter?
Vue.use(VueRouter);
最后不是会把router实例对象export出去然后在main.js里面Vue.use(router)吗?
为什么要注册两次?
时光旅人
AMH 经常500是什么原因?
环境php7.4 数据库mysql5.7 nginx 1.20 安装wordpress经常500,以下是部分错误日志
[05-Feb-2024 03:11:58 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 12288 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/theme-builder/documents/error-404.php on
line 53
[05-Feb-2024 03:11:58 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 57344 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 03:12:14 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/video-playlist/widgets/video-playlist.php on line 387
[05-Feb-2024 03:12:14 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 24576 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 03:18:36 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php on line 916
[05-Feb-2024 03:18:36 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 45056 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 03:19:45 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 65536 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor/core/common/modules/ajax/module.php on line 270
[05-Feb-2024 03:19:45 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 53248 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 03:19:57 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php on line 339
[05-Feb-2024 03:19:57 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 03:28:38 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 12288 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/sitepress-multilingual-cms/lib/twig/src/ExpressionParser.php
on line 452
[05-Feb-2024 03:28:38 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 03:37:30 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php on line 339
[05-Feb-2024 03:37:30 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 45056 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 03:40:02 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 131072 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/checkout.php on line
931
[05-Feb-2024 04:04:17 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php on line 339
[05-Feb-2024 04:04:17 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 04:11:47 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php on
line 1
[05-Feb-2024 04:11:47 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 04:17:21 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 65536 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor/core/base/document.php on line 114
[05-Feb-2024 04:17:21 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 04:20:13 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 65536 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor/includes/user.php on line 169
[05-Feb-2024 04:20:13 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 04:23:43 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on
line 472
[05-Feb-2024 04:23:43 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 04:24:38 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php on line 1
[05-Feb-2024 04:24:38 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 45056 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 04:25:52 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 20480 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php on
line 195
[05-Feb-2024 04:25:52 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 04:36:54 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 131072 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/purchase-summary.php
on line 1065
[05-Feb-2024 04:36:54 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 61440 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 04:44:58 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php on line 1
[05-Feb-2024 04:44:58 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 04:44:58 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on
line 472
[05-Feb-2024 04:44:58 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 05:04:20 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/lottie/widgets/lottie.php on line 1
[05-Feb-2024 05:04:20 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 05:05:06 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-activate-product.php on line 1
[05-Feb-2024 05:05:06 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 05:12:15 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/lottie/widgets/lottie.php on line 408
[05-Feb-2024 05:12:15 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 05:18:13 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 24576 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/purchase-summary.php
on line 1113
[05-Feb-2024 05:18:13 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 05:34:12 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 131072 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/purchase-summary.php
on line 1065
[05-Feb-2024 05:34:12 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 45056 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 05:40:20 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 131072 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/purchase-summary.php
on line 1065
[05-Feb-2024 05:40:20 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 45056 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:01:32 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 131072 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/purchase-summary.php
on line 1065
[05-Feb-2024 06:01:32 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 45056 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:26:45 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php on line 1
[05-Feb-2024 06:26:45 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 06:27:35 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php on line 339
[05-Feb-2024 06:27:35 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 45056 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:30:12 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 12288 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-page.php
on line 46
[05-Feb-2024 06:30:12 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:40:54 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 65536 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/theme-builder/documents/archive.php on
line 10
[05-Feb-2024 06:40:54 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:41:06 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php on line 1
[05-Feb-2024 06:41:06 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 65536 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:41:06 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on
line 472
[05-Feb-2024 06:41:06 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 06:41:40 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 20480 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php on
line 194
[05-Feb-2024 06:41:40 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:42:24 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 20480 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php on
line 195
[05-Feb-2024 06:42:24 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:43:37 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/video-playlist/widgets/video-playlist.php on line 260
[05-Feb-2024 06:43:37 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:45:22 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php on line 1
[05-Feb-2024 06:45:22 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 45056 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:48:54 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 16384 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/popup/document.php on line 800
[05-Feb-2024 06:49:26 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 20480 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php on
line 195
[05-Feb-2024 06:49:26 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:52:55 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 65536 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor/core/base/document.php on line 609
[05-Feb-2024 06:52:55 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 06:53:15 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 65536 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor/core/base/document.php on line 114
[05-Feb-2024 06:53:15 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 06:57:45 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on
line 472
[05-Feb-2024 06:57:45 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 07:27:26 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php on line 1
[05-Feb-2024 07:27:26 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 07:31:14 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on
line 472
[05-Feb-2024 07:31:14 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 07:48:12 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/video-playlist/widgets/video-playlist.php on line 1649
[05-Feb-2024 07:48:12 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 24576 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 07:54:43 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 12288 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php on
line 195
[05-Feb-2024 07:54:43 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 07:55:43 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on
line 472
[05-Feb-2024 07:55:43 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 07:58:14 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on
line 472
[05-Feb-2024 07:58:14 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 07:59:12 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 20480 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php on
line 82
[05-Feb-2024 07:59:12 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 08:00:33 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on
line 472
[05-Feb-2024 08:00:33 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 08:14:43 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 20480 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/purchase-summary.php
on line 1041
[05-Feb-2024 08:14:43 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 08:29:15 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php on line 1
[05-Feb-2024 08:29:15 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 08:40:09 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php on line 311
[05-Feb-2024 08:40:09 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 08:45:14 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 131072 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/purchase-summary.php
on line 1065
[05-Feb-2024 08:45:14 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 09:32:35 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 20480 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-activate-product.php on line 85
[05-Feb-2024 09:32:35 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 81920 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/plugin.php on line 177
[05-Feb-2024 09:36:00 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 12288 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/loop-builder/documents/loop.php on line
451
[05-Feb-2024 09:36:00 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 09:36:43 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 65536 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor/core/common/modules/ajax/module.php on line 270
[05-Feb-2024 09:36:43 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 09:36:51 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 32768 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php on line 339
[05-Feb-2024 09:36:51 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 45056 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
[05-Feb-2024 09:43:12 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 20480 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php on
line 162
[05-Feb-2024 09:43:12 UTC] PHP Fatal error: Allowed memory size of 120586240
bytes exhausted (tried to allocate 40960 bytes) in
/home/wwwroot/lnmp01/domain/www.azmnaturalbeauty.com/web/wp-includes/functions.php on line 4299
更换了新系统也是这样
时光旅人
如何使用前端写死数据完成demo项目?
想问一下ui给了原型一个小的demo项目 但是后端不打算参与 全程让前端写死数据 页面先给画出来 这个要怎么做 各位大神有没有好的方向或者想法?
想问一下ui给了原型一个小的demo项目 但是后端不打算参与 全程让前端写死数据 页面先给画出来 这个要怎么做 各位大神有没有好的方向或者想法?
时光旅人
为什么有了接口测试工具还需要使用python自动化测试呢?
为什么有了接口测试工具还需要使用python自动化测试呢?
比如web接口测试使用postman,为什么还需要进行python自动化测试,它们在公司一般分别在什么场景使用呢,由于没有做过公司的项目,对这个很疑惑?希望知道的小伙伴回答一下
希望知道的小伙伴回答一下
时光旅人
网站中各种数据查询如何在redis中缓存,用什么类型?
看你具体场景设计,可以最直接粗暴的办法,string类型,好比是直接把前n条数据按文章ID为key存到内存里(数据的json字符串形式保存到redis里),设定一个有效期,对于经常访问的文章的前n条数据进行刷新(重新设置缓存有效期,保持这个文章的数据是热数据一直在内存中)。
如果对顺序,排序比较看重也可以用list,都行其实。用hash也可以,看你自己觉得那种方式写代码更方便选哪种。
时光旅人
如何检测服务器的性能已经达到瓶颈?
目前有一个阿里云的轻量服务器,使用了 nginx
提供了一些静态文件服务,可能会因为用户的使用量的增加导致性能问题,这个过程如何监测服务器性能,并且尽早知道已经达到服务瓶颈?
时光旅人
如何在vite里实现webpack的这个功能?
背景: 我把一个 vue2 + wbpack 的项目迁移成使用 vite
webpack里使用以下配置,方便我在组件中直接使用 .cloneDeep() 之类的函数,并不需要在组件开头加上 " import from
'xxx' "
可是在 vite 中没有找到对应的方法,想请教一下大家,谢谢。
configureWebpack: {
plugins: [
new webpack.ProvidePlugin({
'_': path.resolve(__dirname, './src/utils/lodash.js')
}),
]
},
时光旅人
如何在Angular项目中使用锚点组件实现水平放置?
项目中使用锚点组件,像实现锚点文字水平放置为什么报错呢?
nzDirection设置为horizontal 启动项目,项目报错:
提示如下:Can't bind to 'nzDirection' since it isn't a known property of 'nz-anchor'.
1. If 'nz-anchor' is an Angular component and it has 'nzDirection' input, then verify that it is included in the '@Component.imports' of this component.
2. If 'nz-anchor' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@Component.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@Component.schemas' of this component.
时光旅人
vue3的多语言如何改成异步按需请求语言文件?
vue3的多语言如何改成异步按需请求语言文件?
import {createI18n} from 'vue-i18n'
import zh from './zh'
import en from './en'
const i18n = createI18n({
legacy: false,
globalInjection: true,
locale: localStorage.getItem('locale') || navigator.language.slice(0, 2),
messages: {
en,
zh,
}
});
export default i18n
时光旅人
使用OpenLayers根据经纬度及步长生成网格?
使用OpenLayers绘制简单网格?
像下面这样,求助
"image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241007/fba83ab3350649e8dcfb327f6bf57b17.png)
根据提供的经纬度 startPosition, endPosition, step
两个点的经纬度(生成的大网格对角线),和步长(一个正方形小网格的长度),计算生成网格,后面还想能鼠标框选多个小网格,设置框选的多个小网格处的数据信息
const generateGrid = (startPosition, endPosition, step) => {
}