Everywhere are these notices:
Notice: Undefined property: authorlistpage_Plugin::$wp27 in /var/www/clients/client1/web91/web/wp-content/plugins/all-author-page/allauthorpage.php on line 34 Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /var/www/clients/client1/web91/web/wp-includes/functions.php on line 2962
At least do this:
register_uninstall_hook(__FILE__, array(__CLASS__, 'uninstall'));
public static function uninstall()
delete_option($this->_name.'_show_email');
You should update the plugin.
]]>Is there any way to show two roles on the author page?
]]>When I attempt to deactivate the All Authors Page plugin, I get the following message:
Fatal error: Call to undefined function delete_options() in /home/prepress/public_html/wp-content/plugins/all-author-page/allauthorpage.php on line 412
What’s the safest way to deactivate it (or delete it altogether)?
]]>Also, it can’t be deleted.
This isn’t ready for prime time
]]>When I try to change the roles to show in the page, it returns that error:
There was a problem updating the database
Any Ideas?
Line 420 of allauthorpage.php has an extra < in it before the word There:
echo “<div style=\”color: red; text-align: center;\” ><h1><There was a problem updating the database</h1></div>
should be:
echo “<div style=\”color: red; text-align: center;\” ><h1>There was a problem updating the database</h1></div>
Also lines 203-206 the user roles all need to be lower case:
$adm = strpos($roleCheck, ‘admin’);
$edtr = strpos($roleCheck, ‘editor’);
$ctrbr = strpos($roleCheck, ‘contributor’);
$athr = strpos($roleCheck, ‘author’);
I’ve forked this (privately) and am tweaking a few things. Like changing listing order from highest user role to lowest and the output format. I’m going to quickly hack in some changes I need to the output, but I’ll try if I can to do it clean and add some hooks and fliters so the output can be customized more easily. Get in touch if you want the changes (reply here or twitter @jb510)
]]>The idea and concept of this plugin is great.
But:
So, overall a nice idea, but unfortunately at this stage the plugin creates more work than just creating an author page by yourself.
]]>