Hi!
I’m having trouble with the implementation of a new email template.
I followed the plugin instructions to upload the file to the active theme directory but i keep getting the same error.
Erro Message: The file “…sample-path/” was not found in the root of your active theme.
I tried multiple file loctions with no luck.
]]>I’m running the BuddyBoss Platform 1.9.3 on WordPress 5.9.3 and I haven’t been able to find the “create template option” screen under any of the admin menus, including the BuddyBoss Email menu.
I tested on another site that’s running regular BuddyPress 10.2.0 and that screen is available via the admin > Email > Templates menu.
I’d love to be able use your plugin in BuddyBoss. Ironically, I discovered your plugin via this BuddyBoss page which described it as an integration.
Thanks!
]]>I get this error when I click on “Create Template Option” with all the settings in order
Fatal error: Uncaught Error: Call to undefined function write_log()
in C:\laragon\www\wpdev\wp-content\plugins\bp-email-assign-templates\pp-email-templates-admin.php on line 216
Call stack:
pp_etemplates_create_option()
wp-content/plugins/bp-email-assign-templates/pp-email-templates-admin.php:274
pp_etemplates_admin_screen()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-admin/admin.php:259
require_once()
wp-admin/edit.php:10
I noticed that the function was not defined so I did something like this
if (!function_exists('write_log')) {
function write_log($log) {
if (true === WP_DEBUG) {
if (is_array($log) || is_object($log)) {
error_log(print_r($log, true));
} else {
error_log($log);
}
}
}
}
Also, I would like to know if there is any way I can contribute to the plugin development.
]]>