Hello!
I just updated my blog to WP 3.0.2. So far everything works fine with the standard theme. After activating my plugins including Role Scoper 1.3.16 and the theme where I use it, all I get on each page of my blog is the following error message:
Fatal error: Using $this when not in object context in /www/htdocs/w0064309/blog/wp-content/plugins/role-scoper/template-interceptor_rs.php on line 159
The admin panel still works fine.
The error still occurs when all other plugins except Role Scoper are deactivated.
It seems that the function is_restricted_rs( ); is the reason. I add a padlock image before the title of each post if it is restricted:
<?php
echo "\n\n<h3>";
if (is_restricted_rs()) { ?>
<img src="<?php bloginfo('url'); ?>/wp-content/themes/schattenspiele/gfx/padlock.gif" alt="geschützter Eintrag" />
<?php }
…
When I delete the code for that, it works.
Any idea how to solve the problem?
Am I the only person who has this problem?