I’m having some issues with this one too. Deactivating it doesn’t help neither does deactivating WP-Cache (see below). When it is setup, it gives the error:
Fatal error: Call to undefined function: akpc_most_popular() in
/var/www/vhosts/site.com/httpdocs/wordpress/wp-content/themes/pros
um
er-10/sidebar.php on line 8
So I look at line 8 and to avoid the error for now I attempted modifying the sidebar.php file to show:
<li><h2>Most Popular Posts</h2>
<ul>
<?php if (function_exists ('akpc_most_popular')) {
akpc_most_popular();
}
else {
print '<li>Please check back at a later time</li>';
} ?>
</li>
This gets rid of the undefined function error, but then provides the following errors:
Couldn’t write to: /var/www/vhosts/site.com/httpdocs/wordpress/wp-content/cache/wp-cache-21d20f1d677e226dc9ef2d2d3dfe0d5d.html
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /var/www/vhosts/site.com/httpdocs/wordpress/wp-content/cache owned by uid 48 in /var/www/vhosts/site.com/httpdocs/wordpress/wp-content/plugins/wp-cache/wp-cache-phase2.php on line 240
Warning: fopen(/var/www/vhosts/site.com/httpdocs/wordpress/wp-content/cache/wp-cache-21d20f1d677e226dc9ef2d2d3dfe0d5d.meta): failed to open stream: No such file or directory in /var/www/vhosts/site.com/httpdocs/wordpress/wp-content/plugins/wp-cache/wp-cache-phase2.php on line 240
Warning: fputs(): supplied argument is not a valid stream resource in /var/www/vhosts/site.com/httpdocs/wordpress/wp-content/plugins/wp-cache/wp-cache-phase2.php on line 241
Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/site.com/httpdocs/wordpress/wp-content/plugins/wp-cache/wp-cache-phase2.php on line 242
Looks as if the problem has more to do with other plugins (WP-Cache) than this one, according to those errors, but I am a newbie PHP coder/WordPress admin. I also attempted to load the latest sidebar.php file from my theme files and this gives the same set of errors above.
The Prosumer 10 theme (our WP theme) is compatible with 2.5.x according to the developer.
I’m kind of at a loss here. I have seen this error on a lot of WordPress sites as well. I assume we’ll just have to wait for Alex to update his plugins.
It also seems like it could be a permissions/security issue.
Anyone have any suggestions?