DOMPDF字体错误:第105行的src / Renderer / Text.php

问题描述 投票:0回答:1

我正在使用DomPDF,我遇到了问题。相关字体这是错误:PHP注意:未定义的索引:..... / pdf / lib / fonts \ Times-Bold in .... wp-content / plugins / custom_plugin / pdf / src / Renderer / Text.php on第105行enter image description here它是否在localhost上正常工作,但在实际站点上没有。我认为这与许可有关。我检查了文件夹包含所有字体(自定义字体)的权限:0755和字体文件是0644.请帮助我,谢谢任何帮助。

wordpress pdf fonts permissions dompdf
1个回答
0
投票

当我从github克隆所有文件时,它是固定的,并直接安装到实时服务器。固定

© www.soinside.com 2019 - 2024. All rights reserved.