agreed with @dgpalych
I've tested a fresh installation on XAMPP + PHP 8.2 and PHP Fatal error occurred about template problems.
My solution for first time installation (fresh copy), copy all templates from ...\plugins\mailster\templates\*.* to ...\uploads\mailster\templates\*.*
all errors gone after after re-activate Mailster this solution working for my XAMPP,
you can also replaced all templates If you upgrade from 3.x
I've tested a fresh installation on XAMPP + PHP 8.2 and PHP Fatal error occurred about template problems.
My solution for first time installation (fresh copy), copy all templates from ...\plugins\mailster\templates\*.* to ...\uploads\mailster\templates\*.*
all errors gone after after re-activate Mailster this solution working for my XAMPP,
you can also replaced all templates If you upgrade from 3.x
Code:
[14-Feb-2024 08:51:26 UTC] PHP Warning: file_get_contents(E:\xampp\htdocs\wptest/wp-content/uploads/mailster/templates/mailster/index.html): Failed to open stream: No such file or directory in E:\xampp\htdocs\wptest\wp-content\plugins\mailster\classes\template.class.php on line 180
[14-Feb-2024 08:51:26 UTC] PHP Fatal error: Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in E:\xampp\htdocs\wptest\wp-content\plugins\mailster\classes\template.class.php:202
Stack trace:
#0 E:\xampp\htdocs\wptest\wp-content\plugins\mailster\classes\template.class.php(202): DOMDocument->loadHTML('')
#1 E:\xampp\htdocs\wptest\wp-content\plugins\mailster\classes\template.class.php(185): MailsterTemplate->load_template_html(false)
#2 E:\xampp\htdocs\wptest\wp-content\plugins\mailster\classes\template.class.php(48): MailsterTemplate->load_template('mailster')
#3 E:\xampp\htdocs\wptest\wp-content\plugins\mailster\classes\mailster.class.php(229): MailsterTemplate->__construct('mailster', 'index.html', false)
#4 E:\xampp\htdocs\wptest\wp-content\plugins\mailster\includes\functions.php(19): Mailster->template('mailster', 'index.html')
#5 E:\xampp\htdocs\wptest\wp-content\plugins\mailster\classes\campaigns.class.php(5501): mailster('template', NULL, NULL)
#6 E:\xampp\htdocs\wptest\wp-content\plugins\mailster\classes\campaigns.class.php(1615): MailsterCampaigns->set_template(NULL, NULL)
#7 E:\xampp\htdocs\wptest\wp-includes\class-wp-hook.php(324): MailsterCampaigns->assets('post-new.php')
#8 E:\xampp\htdocs\wptest\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#9 E:\xampp\htdocs\wptest\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
#10 E:\xampp\htdocs\wptest\wp-admin\admin-header.php(118): do_action('admin_enqueue_s...', 'post-new.php')
#11 E:\xampp\htdocs\wptest\wp-admin\edit-form-advanced.php(425): require_once('E:\\xampp\\htdocs...')
#12 E:\xampp\htdocs\wptest\wp-admin\post-new.php(75): require('E:\\xampp\\htdocs...')
#13 {main}
thrown in E:\xampp\htdocs\wptest\wp-content\plugins\mailster\classes\template.class.php on line 202