LoginSignup
taka224
@taka224 (加藤 高明)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

TransmitMailをWPでエラーになる

WPでTransmitMailを使いたいのですが、エラーになります。

page-contact.php
require_once '/contact2/lib/TransmitMail.php';
$tm = new TransmitMail();
$tm->init('/contact2/config/config.php');
get_header();
get_sidebar();

以下のエラーが表示されます。
Warning: require_once(/contact2/lib/TransmitMail.php): failed to open stream: No such file or directory in /home/users/0/lolipop.jp-dp59188621/web/wp/wp-content/themes/baydream/page-contact.php on line 5

Fatal error: require_once(): Failed opening required '/contact2/lib/TransmitMail.php' (include_path='.:/usr/local/php/7.4/lib/php') in /home/users/0/lolipop.jp-dp59188621/web/wp/wp-content/themes/baydream/page-contact.php on line 5

何か原因わかりますか?
お手数ですがよろしくお願いします。

0

No Answers yet.

Your answer might help someone💌