Support » Plugin: Email Templates » Warning file not exist…

  • Resolved henkmat

    (@norus)


    Hi, I get warning message of files and maps that not exist on my server.
    I dont have a map like Avada-Child-Theme/admin/templates/.

    Any idea how to solve this issue?

    Using: WordPress 4.9.8 + Avada 5.6.2

    Warning: include_once(/home/deb96951n3/domains/website.com/public_html/wp-content/themes/Avada-Child-Theme/admin/templates/default.php): failed to open stream: No such file or directory in /home/deb96951n3/domains/website.com/public_html/wp-content/plugins/email-templates/includes/class-mailtpl-mailer.php on line 154 Warning: include_once(): Failed opening ‘/home/deb96951n3/domains/website.com/public_html/wp-content/themes/Avada-Child-Theme/admin/templates/default.php’ for inclusion (include_path=’.:/opt/alt/php72/usr/share/pear’) in /home/deb96951n3/domains/website.com/public_html/wp-content/plugins/email-templates/includes/class-mailtpl-mailer.php on line 154

    Regards,
    Ron

    • This topic was modified 2 years, 1 month ago by henkmat.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Issue solved:
    edited functions.php and deleted this lines;
    add_filter(‘mailtpl/customizer_template’, function(){
    return get_stylesheet_directory() . ‘/admin/templates/default.php’;
    });

    Now it is working without warnings.

    solved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning file not exist…’ is closed to new replies.