Php 对非对象错误调用成员函数add()的TCPdf
所以我想试用tcpdf,下载所有内容,安装composer、make和git,复制示例并使用php-t example-s localhost:8000运行它。服务器运行正常,启动时没有错误。但是,当我尝试访问该网页时,会出现以下错误:Php 对非对象错误调用成员函数add()的TCPdf,php,tcpdf,Php,Tcpdf,所以我想试用tcpdf,下载所有内容,安装composer、make和git,复制示例并使用php-t example-s localhost:8000运行它。服务器运行正常,启动时没有错误。但是,当我尝试访问该网页时,会出现以下错误: Fatal error: Call to a member function add() on a non-object in C:\Users\Malte\Desktop\TCPDFVisual\example\index.php on line 24 我浏
Fatal error: Call to a member function add() on a non-object in C:\Users\Malte\Desktop\TCPDFVisual\example\index.php on line 24
我浏览了互联网,但找不到任何适合我的解决方案,就像我说的,我没有更改任何示例代码,并且安装了所有tcpdf库
运行PHP版本5.5.12