Hi @mvandemar,
The issue is with line 420, when you are trying to create a activate hook name from the file path, being windows it contains a \ as the separator, but also being wordpress it also contains / for some of the separators, here’s my fix for it (forgive the nested str_replace).
$activatestr =
str_replace(
DIRECTORY_SEPARATOR, "/",
str_replace(
str_replace("/", DIRECTORY_SEPARATOR,
WP_PLUGIN_DIR
)
. DIRECTORY_SEPARATOR, "activate_", __FILE__)
);
Would this be better done with register_activation_hook
?
Sam