Chapter 17. Using jQuery, Page 401

Location on the page: 
line 7 of function theme_plusone_widget
Chapter: 
17. Using jQuery
Error: 

Users without the 'rate content' permission are not eligible to vote. Treat them the same as the author when theming the widget.

Correction: 

replace 'if ($is_author) {' with 'if ($is_author || !user_access('rate content')) {'

Description of the Error: 

Users without 'rate content' permission are not permitted to access /plusone/vote/, so ajax or browser post fail for them.