Top

esmi on "Error editing Profiler plugin"

June 1, 2010 by  

$s2Member Level 2c not only won’t be a variable within the rest of the plugin code, it’s not even a proper PHP variable. Variable names don’t have spaces in theme – which is what is triggering the initial error.

However, even if you fix that error and change every instance of $subscriber to something like $s2Member_Level_2c, $subscriber = get_option('pf_show_roles_subscriber'); is pulling a previously stored, specific, value from the wp-options table of your database. You can’t just tack some extra characters onto pf_show_roles_subscriber as the amended option won’t exist in the table.

Share

Comments

Facebook comments:

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!





*
Bottom