found the problem. Turns out the function that creates the pages needs to be outside the activation hook. moved it to the end of the script and works perfectly.
Thanks =)
found the problem. Turns out the function that creates the pages needs to be outside the activation hook. moved it to the end of the script and works perfectly.
Thanks =)