This topic contains 10 replies, has 3 voices. Last updated by Bruce 3 years, 7 months ago.
Topic Author | Topic |
---|---|
Posted: Monday May 13th, 2013 at 4:57 pm #49877 | |
I’m currently testing the free version before upgrading to pro and found a couple of issues. I am running the latest version of s2member (v130510) and getting the following PHP warnings s2member/includes/classes/cache.inc.php line 94 undefined variable $cache_needs_updating; $cache_needs_updating is not defined in some of the if statements. I have added $cache_needs_updating = false; to the beginning of the function which resolves the issue. I also get the following error in s2member/includes/classes/admin-notices.inc.php Undefined index: page line 134 This line if (!$page || “*” === $page || $pagenow === $page || $_GET[“page”] === $page) needs to be replace with if (!$page || “*” === $page || $pagenow === $page || ( isset( $_GET[“page”]) && $_GET[“page”] === $page)) |