我正在创建自定义 divi 模块,想要从 mongodb 数据库获取数据并相应地显示它。
这是错误的完整日志:
致命错误:未捕获错误:找不到类“MongoDB\Client” C:\Users\qhuser\Local 站点\wordpress-with-react pp\public\wp-content\plugins est\includes\modules\Exams\Exams.php:53 堆栈跟踪:#0 C:\Users\qhuser\Local Sites\wordpress-with-react pp\public\wp-content\plugins est\includes\modules\Exams\Exams.php(37): 考试->get_mongodb_data() #1 C:\Users\qhuser\Local Sites\wordpress-with-react pp\public\wp-content hemes\Divi\includes uilde